I was trying to boot into the copied Sabayon with a chaniloader entry from Debian's grub2, which is on the MBR, but I don't think it will work with those incorrect UUIDs in Sabayon's grub.cfg. I don't know what to do with 10_linux in Sabayon to correct this part of its grub.cfg.
I can boot into the copied Sabayon fine with an entry in Debian's /etc/grub.d that boots me directly to the kernel, I just can't get a chainloader entry to work.
Here's what that part of Sabayon's grub.cfg looks like:
- Code: Select all
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-61f8a5a2-c28d-497f-a880-51f72ce4983f' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos11 --hint-efi=hd0,msdos11 --hint-baremetal=ahci0,msdos11 --hint='hd0,msdos11' 61f8a5a2-c28d-497f-a880-51f72ce4983f
else
search --no-floppy --fs-uuid --set=root 61f8a5a2-c28d-497f-a880-51f72ce4983f
fi
echo 'Loading Linux x86-3.4.0-sabayon ...'
linux /boot/kernel-genkernel-x86-3.4.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:UUID=4a204219-2317-4943-a25d-6e854a432b9f real_resume=UUID=4a204219-2317-4943-a25d-6e854a432b9f root=UUID=1c7fc86e-d1f6-438f-bc67-e04cfa9c5957 docrypt
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-genkernel-x86-3.4.0-sabayon
}
The "61f8a5a2-c28d-497f-a880-51f72ce4983f" is correct, but further down, "1c7fc86e-d1f6-438f-bc67-e04cfa9c5957" is not correct. Anyone know how to fix that part?


