On Thu, 23 Aug 2007 17:00:26 +0000 (UTC), James wrote: > The ide disk setup is very simple: > fdisk /dev/hda > # Device BootStartEnd Blocks Id System > # /dev/hda1 * 1 50 401593+ 83 Linux > # /dev/hda2 51 185 1084387+ 82 Linux swap > # /dev/hda3 * 186 2434 18065092+ 83 Linux
Is hda1 /boot and hda3 the root partition? > #0 > title=kernel-2.6.21-gentoo-r4 > root(hd0,1) > kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda3 > #0 > title=kernel-2.6.21-gentoo-r4 > root(hd0,1) > kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda1 If so, this is all wrong. /boot is not mounted, so GRUB cannot find the kernel in (hd0,x)/boot (unless you have it symlinked to itself) and (hd0,1) is your swap partition anyway. root (hd0,0) kernel /kernel-2.6.21-gentoo-r4... would find the kernel correctly. If in any doubt, use "find /kernel-2.6.21-gentoo-r4" in the GRUB shell. Incidentally, if you use "make install" to install your kernels, and set up grub to use "kernel /vmlinuz" you don't need to update GRUB each time you update your kernel, because vmlinuz will always be a symlink to the latest. -- Neil Bothwick The Japanese call us lazy, but at least we cook our fish!
signature.asc
Description: PGP signature