On Tue, 5 May 2009 16:23:13 -0700 (PDT), maxim wexler wrote: > grub.conf: > > default 0 > timeout 10 > > title Gentoo > root (hd0,0) > kernel /boot/kernel root=/dev/sda2 # 'kernel /kernel' also works
kernel /kernel is the correct setting when you have a separate /boot, the other only works because of the symlink in /boot. Although when you are so limited for storage space,, which waste it with an extra filesystem? I have root at /dev/sda1 on this Eee and no /boot filesystem. > One thing I noticed when I setup grub is that the USB stick which holds > the liveOS xubuntu is called /dev/sda and the SSHD /dev/sdb. Which I > took into account: That's because the BIOS makes the boot drive the first disk. > grub> root (hd1,0) #which gives the appropriate response > grub> setup (hd1) #ditto > > But of course when I boot w/o the USB stick I go back to calling the > drive (hd0). I assume that's correct because poking around on the > command line when I get to the splash screen proves it. If I enter the > command kernel / and hit tab it displays the contents of /boot just as > it should. If I follow that with root=/ and then tab it says "invalid > string". Nevertheless I am convinced that /dev/sda2 is /. root=(hd0,1) > also boots into a panic. On my desktop I don't even use the root= line > and it boots fine. Do you mean the root grub line or the root= parameter for the kernel? The first should be (hd0,0) and that is working or you'd never load a kernel to panic. Have you fiddled with the boot order in the BIOS? That may be changing the numbering of the drives for the kernel. Have you tried using sdb2? What is the panic message? -- Neil Bothwick Good fortune will find you provided you left clear instructions.
signature.asc
Description: PGP signature

