Hmm, it's a bit too many useless things there, like the echos or the insmodes. Watch this one :
- Code: Select all
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux, with Linux x86-2.6.39-sabayon'
search --no-floppy --fs-uuid --set=root d49f9672-6945-4f61-ac94-475de8980835
linux /boot/kernel-genkernel-x86-2.6.39-sabayon ro init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:UUID=7186653c-be0c-4f02-a4e1-72d040d19dca real_resume=UUID=7186653c-be0c-4f02-a4e1-72d040d19dca root=UUID=d49f9672-6945-4f61-ac94-475de8980835 docrypt
In the X thingy, you gotta put your sabayon drive, so I presume you know how to find it. And about the /boot/initramfs-genkernel-x86-2.6.39-sabayon, I presume also you have the image prepared somewhere there. If not, the only solution is (as Fitz said) Restore Grub2
Sabayon is /dev/sda9. I copied and pasted your code and pasted into my menu.lst. I then changed 'menuentry' to 'title' and put '8' for the X because grub legacy starts counting at zero.
Thanks for your help. I will let you know if it works.Will probably be a few hours before I post back. Have to leave.
After copying, pasting, and editing the menu.lst as stated above, I tried it and got this;
- Code: Select all
error 19: Linux Kernel must be loaded before initrd
press any key....
Now I did notice while looking in the /boot folder of /dev/sda9 that file 'initramfs-genkernel-x86-2.6.39-sabayon' is a gzip type file. Could this be causing the menu.lst to get errors?
Don't remember if I said this earlier in this diatribe but, after the install and allowing grub2 to re-write the mbr, I rebooted and updated from the CL. It took hours to update with DSL. Then the next day I wanted grub legacy back, so I booted into Mepis and did the gui resetting of the mbr. When I rebooted I had grub legacy back but no menu entry for Sabayon. Since then I have reset the mbr from inside Mepis with the same result. I am not really efficient from the CL and am not able to use man pages to help me, but I am wondering if the files needed to boot Sabayon are located in different places than Ubuntu or Mepis and grub legacy can't find what it needs to boot Sabayon. Just a thought.