Tag Info

Hot answers tagged

3

Forget about /etc/inittab and run levels. As the systemd doco says, in the systemd world the concept of run levels is "obsolete". systemd itself works in terms of targets, not run levels. Also obsolete is your /etc/inittab file. The upgrade from Debian 7 to Debian 8 switches the init system from System 5 init+rc to systemd. It leaves /etc/inittab lying ...


3

You seem to confuse enable, start and mask operations. systemctl start, systemctl stop: starts (stops) the unit in question immediately; systemctl enable, systemctl disable: marks (unmarks) the unit for autostart at boot time (in a unit-specific manner, described in its [Install] section); systemctl mask, systemctl unmask: disallows (allows) all and any ...


2

It's not an error, so you shouldn't try to make it go away. The scripts in your initramfs are opportunistically checking to see if they can activate the LVM VG that contains your root device before they bother asking for a passphrase to decrypt any encrypted devices. In the case that your root device is not encrypted, this will work, and the system will ...


2

I was having the opposite problem on a Debian 8 image which somebody had put together for a Wandboard. I was trying to find the manual page for some packages which were already installed and noticed that after installing some new ones, the manual pages were missing, even though they were present in the deb file. I then found this file 01_nodoc in ...


2

Use lsblk to list block devices. It's likely that '/dev/sr0' is a read-only-media (rom) device. That should be what you seek.


2

For some reason, your initramfs is failing to start your RAID array. That could mean it just wasn't configured to, or that it was somehow generated wrong. Since you're able to boot from a recovery disk, you can easily change the setting and regenerate it using the following commands: dpkg-reconfigure mdadm. You should be asked which arrays to start in the ...


1

Put all your hostnames in a file, each on a separate line, then ... for h in $(cat <file>); do ssh $h dpkg --get-selections >/tmp/$h.dpkg; done


1

The solution is fairly easy, just replace auto to allow-hotplug. So I ended up with this: allow-hotplug lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet static address 192.168.150.1 netmask 255.255.255.0 allow-hotplug eth1 iface eth1 inet manual up ifconfig $IFACE ...


1

I would highly recommend YUMI if you are making this on windows, its a subset of pendrive tho i found it far more straight forward and much easier to load multiple bootable isos onto link:http://www.pendrivelinux.com/yumi-multiboot-usb-creator/ also super easy to edit the grub menu if you are into that sort of thing.


1

Clonezilla isn't available for ARM processors (at least not as a bootable image from the main download site), and isn't packaged for Debian 6. In Debian 6 on ARM you can clone your filesystem using partimage, dd_rescue or ddrescue. The latter two are described in Clone whole partition or hard drive to a sparse file.


1

You'll need /boot on local media, unless you netboot. Other than that, your initramfs just needs to get rootfs mounted—it doesn't matter where it comes from. So with enough tools added to the initramfs, you should be able to have / on DRBD. Of course, some parts of / are not really supposed to be shared with other machines. At minimum, parts of /etc and ...


1

It looks like the Linux support is dead. There are tools for tracking network usage like the one on this one. There are also tools for sending and receiving texts like this one called gnokii. You might also want to use this one called gammu and wamu If you want to do this you also can use this at the terminal: The basic syntax to use is as follows, be ...


1

Solved : Open the file /etc/systemd/logind.conf as root. Find this: HandleLidSwitch If it's commented, uncomment and change the value to ignore. The line after editing should be: HandleLidSwitch=ignore Restart and your problem Should be gone . Found the solution here : http://unix.stackexchange.com/a/52645/112900


1

We first have to set up the multi-arch environment (more info): sudo dpkg --add-architecture armhf sudo apt update Download the source package (using less as an example): apt-get source less And finally, build it: dpkg-buildpackage -us -uc -b --host-arch armhf The special flag in the command above is --host-arch. The other flags mean: We are not ...


1

Yes, it encrypts the swap partition with no extra effort. Yes, when you hibernate, will it automatically encrypt the disk, including swap (but not the boot partition). Yes, when you start again from hibernation, it prompts for the decryption pass phrase (but not for the account password). You get an unencrypted boot partition, and the rest of the disk is LVM ...



Only top voted, non community-wiki answers of a minimum length are eligible