Below error appears when updating the initramfs-tools: Processing triggers for initramfs-tools (0.130ubuntu3.8) …update-initramfs: Generating /boot/initrd.img-5.1.0-15-genericI: The initramfs will attempt to resume from /dev/dm-1I: (/dev/mapper/vg0-swap)I: Set the RESUME variable to override this. Before proceeding beyond this point, take a data backup. This error usually occurs if the computer had dual booting and a swap file that … Continue reading How to fix initramfs-tools error when updating it
After a long while, upgraded from Xubuntu 16.04 LTS to Xubuntu 18.04 LTS and was in for a surprise. No encrypted home folder. Support for this was dropped as ecryptfs-utils was no more maintained by it's maintainer. However, fret not. Encrypted home folders can still be created as below. Make sure you take a backup … Continue reading How to add user with encrypted home folder in Xubuntu 18.04 LTS or Ubuntu 18.10
Whew... saved by the skin of teeth. The grub2 bootloader of my computer got corrupt. I was not able to boot into the computer and all was lost. For security reasons, I set up LVM with full disk encryption. Thereafter, each user's home folder was further encrypted with ecryptfs (the default you get when you … Continue reading Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume
As the commands entered below have the potential to cause inaccessibility to files or data, make sure you have taken a data back up first. Once you have backed up your data, proceed as follows. Do not proceed further if you are not confident or aware of what you are doing. Proceed as below at … Continue reading How to change UID & GID in Linux for any user
Use the following command in a terminal window to modify a user's rights on Linux to make them a member of the adm group$ sudo usermod -a -G sudo,adm username <enter> where username is the name of the user who you want to make a sudoer.
If you ever need to enable the root user in Ubuntu 14.04 LTS linux installation, you can do so as follows:Open a terminal window and type the following commands:$ sudo su -c <enter># passwd root <enter> Enter a strong password and restart the computer. To make sure that you can login as root, open a … Continue reading How to enable and disable root user in Ubuntu 14.04 LTS