Zitan n00b
Joined: 16 Jun 2007 Posts: 74
|
Posted: Sun Nov 10, 2024 7:50 am Post subject: Gentoo LiveCD Boots from USB, but not from Grub as ISO. |
|
|
I've been experiencing a strange issue with Gentoo LiveCD with systemd. Here's the scenario:
When I boot from a USB pendrive, everything works perfectly fine on my machine. However, when I copy the same ISO image to my NVMe disk and try to boot from it, I encounter the following error during the boot process:
Code: |
/dev/ram0 does not exist
|
The boot process seems to freeze for a while and then eventually fails, indicating that /dev/ram0 cannot be found.
1. I copied the exact same ISO that works from a USB pendrive to an NVMe disk.
2. The GRUB menu entry I use is:
Code: |
menuentry "Gentoo LiveCD from ISO" {
set root=(hd0,gpt1)
insmod loopback
insmod iso9660
insmod part_gpt
insmod fat
loopback loop /ISO/gentoo.iso
linux (loop)/boot/gentoo dokeymap root=live:CDLABEL=Gentoo-amd64-20241020 rd.live.dir=/ rd.live.squashimg=image.squashfs cdroot
initrd (loop)/boot/gentoo.igz
}
|
I've tried changing the GRUB configuration, debugging the initramfs, and ensuring all paths are correct, but I still can't get it to work. Could this be an issue with how GRUB or initramfs interacts with the NVMe drive? |
|