Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: enyao on June 10, 2021, 07:07:14 AM

Title: Installed to USB stick, unable to boot, boot loader not found (Linux Lite 5.4)
Post by: enyao on June 10, 2021, 07:07:14 AM
Hi,

I'm trying to install Linux Lite 5.4 to a 32GB USB stick. After installation with no error on a laptop with dual boot Window & Linux MInt 20, I cannot boot into the USB stick on the laptop.
Not only that, I cannot boot into the Linux Mint on the hard drive as well.

Then I booted into Boot-Repair Live USB and successfully repaired the hard drive booting and able to boot into Linux Mint.
I run Boot-Info to capture the log of the boot info of the hard drive.
After that, I inserted the USB Linux Lite and run the Boot-Info to capture the boot info of the USB. The installation wasn't able to install the proper boot loader into the USB.

I followed the steps in this tutorial (https://www.linuxliteos.com/forums/tutorials/how-to-install-linux-lite-to-usb-stick-not-ready-yet!/ (https://www.linuxliteos.com/forums/tutorials/how-to-install-linux-lite-to-usb-stick-not-ready-yet!/)),
and specifically paid attention to setting the "Device for boot loader installation" to /dev/sdc/.

I repeated the same process with Xubuntu 20.04 LTS and ended up with the same problem.

Is there a way to manually copied the boot loader into the USB and configure the Grub to load all the necessary files to boot from the USB directly?
In that way, I can use the USB Linux Lite on any computer that allowed booting from USB.

Sprintrdriver commented on the tutotial to physically disconnect the internal hard drive before the installation. But I don't want to mess around with the hardware of this laptop.

I attached here the boot-info I capture:
1-Boot-Info_20210609_1901-Repated-Mint-Aft-LL-Installed.txt (After Boot-Repair and booted into Linux Mint on hard drive).
2-Boot-Info_20210610_1132-Booted-Mint-USB-Linux-Lite.txt   (booted into Linux Mint and inserted the USB Linux Lite).
Title: Re: Installed to USB stick, unable to boot, boot loader not found (Linux Lite 5.4)
Post by: Moltke on June 10, 2021, 08:31:43 AM
Hi,

I'm trying to install Linux Lite 5.4 to a 32GB USB stick. After installation with no error on a laptop with dual boot Window & Linux MInt 20, I cannot boot into the USB stick on the laptop.
Not only that, I cannot boot into the Linux Mint on the hard drive as well.

Sprintrdriver commented on the tutotial to physically disconnect the internal hard drive before the installation. But I don't want to mess around with the hardware of this laptop.

Well, if you want to install Linux Lite to a USB stick, you will have to follow Sprintdriver's advice. Here's the thing; the problem you're facing is due to the fact that Linux is installing Grub to the internal disk, not the USB, and that's why it didn't boot nor did Linux Mint for the same very reason. The only way to avoid that is to "physically disconnect the internal hard drive before the installation." so the installer doesn't mess with that disk, and grub gets installed in the USB, which is what you need in order to be able to boot Linux Lite from the USB stick.   
Title: Re: Installed to USB stick, unable to boot, boot loader not found (Linux Lite 5.4)
Post by: Jerry on June 10, 2021, 02:26:46 PM
https://www.linuxliteos.com/manual/tutorials.html#usbpers
Title: Re: Installed to USB stick, unable to boot, boot loader not found (Linux Lite 5.4)
Post by: enyao on June 11, 2021, 03:57:11 AM
https://www.linuxliteos.com/manual/tutorials.html#usbpers

Hi Jerry,
By following this tutorial, does this means that I will be creating a Linux Lite live USB with persistent?
Title: Re: Installed to USB stick, unable to boot, boot loader not found (Linux Lite 5.4)
Post by: TheDead on June 11, 2021, 11:39:04 AM
Yes! ;)
Title: Re: Installed to USB stick, unable to boot, boot loader not found (Linux Lite 5.4)
Post by: enyao on June 12, 2021, 03:22:27 AM
Alright then.
Thanks to everyone for your feedback.