[lfs-support] preprocessor error

Ken Moffat zarniwhoop at ntlworld.com
Fri Mar 30 17:34:26 PDT 2012


On Thu, Mar 22, 2012 at 10:27:34PM +0000, Ken Moffat wrote:
> On Thu, Mar 22, 2012 at 04:05:47PM -0500, Bruce Dubbs wrote:
> > Ken Moffat wrote:
> > 
> > > In my case (also with separate /boot partitions) I have a
> > > directory 'boot' on the boot partition (i.e. /boot/boot when
> > > everything is mounted) containing a symlink called 'grub' pointing
> > > to ../grub.  I think that I created it (with /boot mounted, so from
> > > the host system) using
> > >  mkdir /boot/boot
> > >  ln s ../grub /boot/boot
> > 
> > Say what?  If you have a separate boot partition mounted on 
> > /mnt/lfs/boot (/boot within chroot) when you run grub-install, then 
> > everything should be installed in the correct location.  Those extra 
> > commands should not be needed.
> > 
[...]
>   I realise that a separate /boot seems to be
> uncommon, even among LFS users, but the problem I had is mentioned
> only rarely, if at all, so maybe there is something else which
> contributed to it.  Perhaps it was even a bug in 1.97 (failed to
> find the files in $root/grub).
> 
 Update - I did an install on a new machine today, using LFS-7.1 with
a separate /boot partition, and after building/installing grub-1.99
it did NOT need the symlink, so I guess it really was a grub-1.97
bug.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list