How to prevent laptop from booting to the grub prompt in Debian 12

Upon installation of Debian 12 on a Dell Vostro 3546 laptop, it was noticed that on boot, the laptop booted into the grub prompt instead of the boot menu. It displayed grub> waiting for an input. To boot normally, it was necessary to type quit <enter> to get to the boot menu. This abnormal behaviour … Continue reading How to prevent laptop from booting to the grub prompt in Debian 12

How to enable the UEFI in VirtualBox for a Windows 10 virtual machine running on Linux

This is for those who missed checking the UEFI checkbox in the settings prior to installing Windows 10 in VirtualBox. Do the below at your own risk, take appropriate backup, First, check and confirm if BIOS Mode is Legacy, which means MBR is the partition and not GPT. To do this, press Windows+R and run:msinfo32.msc … Continue reading How to enable the UEFI in VirtualBox for a Windows 10 virtual machine running on Linux

How to fix initramfs-tools error when updating it

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

What to do if “failed to connect to lvmetad” slows down booting on Linux Mint or Ubuntu

As my system was very slow to boot, while grub loaded, I press the Esc key see what was wrong. The error related to "failed to connect to lvmetad" occurred frequently. This error is due to improperly configured swap file for the resume of the laptop on hibernate. To fix this, open a terminal window … Continue reading What to do if “failed to connect to lvmetad” slows down booting on Linux Mint or Ubuntu

How to reset TP Link WDR4300 router after bad install of OpenWRT LEDE

If you cannot access the LUCI OpenWRT page of the TP Link WDR4300 router, the below may help. Set PC ip: 192.168.1.2 and subnetmask 255.255.255.0 and gateway 192.168.1.1 Power off the router Disconnect the WAN cable Only connect your PC Ethernet cable to ETH0 Power On the router Wait for the router to start the … Continue reading How to reset TP Link WDR4300 router after bad install of OpenWRT LEDE

How to upgrade to latest kernel of Ubuntu 14.04.3 LTS or 14.04.4 LTS from Ubuntu 14.04.2 LTS

Ubuntu 14.04 LTS is a Long Term Support version of the Ubuntu Linux Operating System. Over time, Ubuntu releases point updates to it. Currently, the point update is at Ubuntu 14.04.3 LTS. When you update your Ubuntu packages using:$ sudo apt-get update <enter>$ sudo apt-get dist-upgrade <enter> you will find that you are automatically upgraded … Continue reading How to upgrade to latest kernel of Ubuntu 14.04.3 LTS or 14.04.4 LTS from Ubuntu 14.04.2 LTS

How to get back Ubuntu in Boot Menu after Windows 8 to Windows 8.1 upgrade with efibootmgr

If you are the an open source fanatic who has been sold a laptop with Windows 8 on it in India, you would have been reminded to upgrade to Windows 8.1 by Microsoft periodically. I was reminded 3 times. Each time I chose to ignore it. Finally, I decided to upgrade from Windows 8 to … Continue reading How to get back Ubuntu in Boot Menu after Windows 8 to Windows 8.1 upgrade with efibootmgr

How to permanently set kernel boot options on an installed OS (not wubi) – grub

Before doing the steps below, take a backup. To permanently change the default kernel boot options, press ALT+F2 or open a terminal from system > accessories > terminal. Type in the following command: $ gksudo gedit /etc/default/grub <enter> A text editor will open with the grub configuration file. Near the top of that file you … Continue reading How to permanently set kernel boot options on an installed OS (not wubi) – grub

Ubuntu 12.04 LTS freeze when booting with newer kernels on Lenovo Ideapad Z580

This is due to an issue in the BIOS where booting gets stuck due to ACPI and battery support. Refer this link https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1093217/comments/63. Now start up a terminal window and type the following commands: $ sudo apt-get install iasl <enter> $ sudo cp /sys/firmware/acpi/tables/DSDT /home/user/DSDT.bac $ sudo chown user.group DSDT.bac <enter> $ cp DSDT.bac DSDT … Continue reading Ubuntu 12.04 LTS freeze when booting with newer kernels on Lenovo Ideapad Z580