On Sun, 30 Jan 2005 11:31:01 +0100 Leiaz <[EMAIL PROTECTED]> wrote: > cifroes wrote: > > > Hi > > > > I installed gentoo following the manual but when it comes to the > > reboot part i just get a grub shell, it doesn't boot auto... But if i > > do kernel /kernelXXXXXXX and boot it boots fine... i rechecked > > my grub.conf and it has the correct kernel, any ideas? > > > > My /boot/grub/grub.conf: ( I have Grub v 0.94 ) > > default 0 > > timeout 30 > > > > title=gentoo > > root (hd0,1) > > kernel /kernel-2.6.10-gentoo-r6 root=/dev/hda5 > > ###### > > > > Thanks in advance, > > Cif > >
/boot always seems to contain a link to itself : ls -l /boot lrwxrwxrwx 1 root root 1 Apr 19 2004 boot -> . (thats a dot on the end ie a self reference) this means its infinitely recursive: [EMAIL PROTECTED] nick $ cd /boot/boot/boot/boot [EMAIL PROTECTED] boot $ pwd /boot/boot/boot/boot [EMAIL PROTECTED] boot $ cd boot/boot/boot/boot [EMAIL PROTECTED] boot $ pwd /boot/boot/boot/boot/boot/boot/boot/boot if this didn't exist then the path to grub would be different depending whether /boot was its own partition, or part of the root partition. if boot is part of the root partition on /dev/hda3 then the path to grub would be (hd0,2)/boot/grub if boot is in its own partiton on /dev/hda3 then the path to grub would be hd0,2)/grub meaning grub would need to be set up differently depending on your patitioning. with the recuresive symlink you can use the same path ((hd0,2)/boot/grub) regardless of your partitioning. like all recursivness it takes some getting your head around . the corrollary is that this trick won't work on a windows partition as there is no symlink support - yes i know people who keep grub on their windows partition so they can edit the menu from either windows or linux. not a bad idea really, although ditching windows would be preferable :-) > > > > > > -- > > [email protected] mailing list > > > > > > > I don't know if it will help you, but i installed grub following the > manual too and the path to my grub.conf is /boot/boot/grub/grub.conf. > (my boot partition is mounted at /boot/ and i have another directory > called boot on it). > The grub program is in /boot/grub/. > Maybe you can try creating those directories and copying grub.conf into it. > It's strange but it works for me. > > Laetitia > > > > -- > [email protected] mailing list -- Nick Rout <[EMAIL PROTECTED]> -- [email protected] mailing list
