Booting the temporary system

Joey Parrish jparrish at layerxtech.com
Mon Feb 23 19:52:12 PST 2009


On Feb 23, 2009, at 9:48 PM, Robert Connolly wrote:
> I'm not sure if we even need typical boot scripts.
>
> Grub can be configured to use /tools/bin/init. /tools/bin/init can  
> be modified
> to use /tools/etc/inittab.
>
> /tools/bin/initscript adds /tools/bin to $PATH, if needed.
>
> /tools/etc/linuxrc (or whatever) can mount /proc, start udevd, sshd,  
> and
> whatever else. Capabilities can also be set on agetty and login in  
> this
> script.
>
> [snip]
>
> Or, would be be better to create directories, and set their  
> ownership and
> permissions, before rebooting, and let agetty use /var, and let mount
> use /etc.
>
> Except for possible problems iwth utmp/wtmp, I like the first method  
> better.
> Maybe there are other ways?
>

I agree, the first way sounds simple and less messy.

--Joey




More information about the hlfs-dev mailing list