Lennon Cook wrote:
> I'm about to be re-doing LFS (using the GCC4 book, while I built my
> current system using the 6.1-pre1 book), and I'm wondering: if /boot
> is on a separate partition, do I need to reinstall Grub as part of
> LFS, or will my current one still do the job?  That is to say: are
> there any files that Grub installs outside of /boot or the MBR that it
> needs in order to work properly?
> 

Strictly speaking you are correct, the only files used by grub during
the boot are the ones in the /boot used when setup was run - that's
what's in the MBR.  Just be careful that when the time comes for you to
re-use the partition containing your old LFS's boot, that you have, by
then, built grub and re-run setup to point grub at the new partition.

Frankly though, for the time it takes, you may as well build it as part
of the new LFS build - you can then choose which /boot to setup (with
root (hd?,?)).

Once grub stage1_5 has loaded, grub has enough smarts to see all your
partitions, so even if your currently-pointed-to /boot/grub/menu.lst
doesn't have the right entries, you can always hit 'c' and drive it with
the command line (learn how to do this soon :-).

R.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to