F5F Stay Refreshed Software Operating Systems Boot from GRUB loopback mode

Boot from GRUB loopback mode

Boot from GRUB loopback mode

R
raider112233
Member
168
08-27-2024, 12:54 PM
#1
Hi, I've been attempting a similar setup for a while. I want to create a pendrive and format it with fat32, then use grub for booting. My current configuration includes grub.cfg with a loopback setup. The main issue is that the Linux kernel line needs a UUID after the file listing. I'm unsure what UUID to use since it's a loop device at the start of initrd. Someone might have a better idea—maybe adjusting the boot sequence or adding the correct UUID manually.
R
raider112233
08-27-2024, 12:54 PM #1

Hi, I've been attempting a similar setup for a while. I want to create a pendrive and format it with fat32, then use grub for booting. My current configuration includes grub.cfg with a loopback setup. The main issue is that the Linux kernel line needs a UUID after the file listing. I'm unsure what UUID to use since it's a loop device at the start of initrd. Someone might have a better idea—maybe adjusting the boot sequence or adding the correct UUID manually.

Z
Zamorak_boys
Junior Member
43
08-29-2024, 05:42 AM
#2
I attempted to follow what was described earlier. It appears the initrd image isn’t recognizing the loop device. After about ten seconds, it reports it can’t find /dev/loop0. Maybe I should create a custom initrd or modify the existing one. Good luck!
Z
Zamorak_boys
08-29-2024, 05:42 AM #2

I attempted to follow what was described earlier. It appears the initrd image isn’t recognizing the loop device. After about ten seconds, it reports it can’t find /dev/loop0. Maybe I should create a custom initrd or modify the existing one. Good luck!