package users: installing the linux package

Barius Drubeck barius.drubeck at
Tue Oct 17 12:02:34 PDT 2006

On Monday 16 October 2006 14:04, Angel Tsankov wrote:
> >>> Hello!
> >>>
> >>> I am using package users during an LFS installation and I
> >>> wonder who should copy bzImage, and .config to
> >>> /boot: the package user used to build the linux package or
> >>> the root user. In the former case should /boot be made an
> >>> installation directory?
> >>
> >> That's up to you.
> >
> > Do you mean that it's OK to make /boot an installation
> > directory? If so, why do I have to create and populate
> > /boot/grub as root?
> Anyone?

It's your choice.  If you install the grub files as root, then you don't 
need to make /boot an installation directory.  If you prefer to 
make /boot an installation directory and install the grub stuff there 
as user grub, you are free to do so.  I can't think of any reason why 
that shouldn't work (you are in chapter 6.34?). AFAICT, the only bit 
that you would need to do as root is the installation of the boot 
loader in the MBR (the grub shell bit in ch 8.4). And if you make the 
appropriate adjustment on your device nodes (e.g. adding grub user to 
disk group) you might even be able to avoid doing that as root too...

> >>> What about grub that needs to have some of its files
> >>> (/usr/lib/grub/i386-pc/{stage{1,2},*stage1_5}) copied to
> >>> /boot/grub?
> >>
> >> Copied and pasted from the hint:
> >>
> >> grub:
> >>     The commands to create and populate /boot/grub have to be
> >> executed as
> >>     root.


More information about the lfs-support mailing list