V-600 said: I think i follow the logic in the post above but i still have problems getting sabayon to boot up.
I am presented with "Error 17: Unable to mount the selected partition" (if my memory serves)
This is my /boot/grub/menu.lst file
title 2.6.18-gentoo-r5 root (hd0,1) kernel /boot/kernel-2.6.18-gentoo-r5 root=/dev/hda4 boot
This entry is after the three default Ubuntu ones, but before "### END DEBIAN AUTOMAGIC KERNELS LIST". I didn't think that makes a difference though.
I have just noticed the name of the kernal file is "kernel-genkernel-x86-2.6.18-gentoo-r5" and will change it now but again i don't think it would make a difference to whether or not the partition mounts
assuming that you know it is on that partition (partition 2 of disk 1), try this:
1) reboot and let grub load
2) hit 'e' when you get to the menu, over the sabayon entry.
3) go to the kernel line and hit 'e' again
4) now erase the path to the kernel and the root=/dev/**** sections for the moment.
5) for the new path, type this: (hd0,1)/boot/ then hit tab, it should give you a list of files in that folder. Start typing the filename for the kernel you want to boot, then hit tab to auto complete.
6a) If you did get the proper kernel using this method, re-enter you root=/dev/**** as it was before.
6b) If you dont get the proper file, you have the wrong partition. Try this method a few times, changing the (hd0,1) to other partitions/HD's you have until you find the proper one. Then add the corresponding root=/dev/****.
7) do the same to the initrd entry (hd0,1)/boot/ <tab>, find filename, start typing and tab again to autocomplete.
8) write down the combination that works, because it wont save when you boot. You still need to change the menu.lst file so you don't have to do this every time you boot.
9) hit 'b' to boot when you are ready
ONE FINAL NOTE: On your entry above you have root (hd0,1), and then root=/dev/hda4... if hda is hard disk 0 (the disk grub boots from) then that would be (hd0,3) for root=/dev/hda4. You might need to change that as well.
ALSO: Instead of using (hd0,x) in front of each pathname, if you have the sabayon drive mounted on the ubuntu install you could use the path through that mount point (for me its /sabayon/boot/kernel, but use your own mount point). Either should work fine, use the method in this paragraph if you know the pathname definitely, or the method above if you might need to trial and error it a bit.