On Fri, 03 Feb 2006 14:08:52 +1300
Volker Kuhlmann wrote:

> > [EMAIL PROTECTED] ~]$ ls -l /etc/grub.conf
> > lrwxrwxrwx  1 root root 22 Aug  6  2004 /etc/grub.conf ->
> > ../boot/grub/grub.conf
> 
> > In all cases, it does need to be under /boot.
> 
> Are you sure? I don't think it needs to be anywhere, as grub.conf is
> only read by grub when you install the grub boot loader.

No no , grub.conf is read on the fly on bootup.

which is why you can edit from any of your operating systems and have the 
changes operative on the next reboot. 



> Some put it to
> /etc, some to /boot, who cares. At boot time, grub only needs to be able
> to locate the second stage, which contains the kernel and menu.lst. The
> location of the second stage is hardcoded into the boot loader when
> running grub --batch <grub.conf, I expect.
> 
> With lilo you need to reinstall the boot loader each time your kernel
> image file changes[1]. With grub, you only need to do this when it moves
> to a different filesystem[2].
> 
> Volker
> 
> [1] The list of actual disk blocks taken up by the kernel image file is
> hardcoded (ok around 2 corners) into the boot loader.

not in grub it isn't. You are thinking of lilo.

> 
> [2] Grub can locate the file on the filesystem by itself. You need to
> tell it which filesystem though.
> 
> -- 
> Volker Kuhlmann                       is possibly list0570 with the domain in 
> header
> http://volker.dnsalias.net/           Please do not CC list postings to me.

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to