gabriel rosenkoetter on Fri, 21 Mar 2003 12:51:38 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] /etc on a separate partition


On Thu, Mar 20, 2003 at 11:09:13PM -0500, Paul wrote:
> On a loosly related note, recently I backed up my entire /etc, but when 
> I went to retrieve /etc/grub.conf, I was reminded that /etc/grub.conf is 
> a symlink to /boot/grub/grub.conf.  Major bummer.  Why did they, RedHat 
> or the GRUB people, do that?

Because people are used to configuring things through /etc but
grub's smart enough to parse ext2, so its configuration needs to
live in the same place as the kernel's it's loading, since it reads
it directly on boot rather than mangling its values into the
bootloader itself like lilo does.

As for why that's /boot, it's to ensure that if you can boot at all,
you can get to grub's configuration (recall that bootloaders must
be installed under the 1024th cylinder of your hard drive because of
the broken IA32 design).

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgp1rBvVQOlt2.pgp
Description: PGP signature