Nick Rout wrote:
/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 :-)
You're right. My boot partition is FAT32. Thanks for the explanation.
Laetitia
PS: Windows is usefull to play video games, when it doesn't shutdown your computer after insulting you on an horrible blue screen :)
-- [email protected] mailing list
