On Thu, 2010-09-30 at 13:32 -0700, Mark Knecht wrote:
> Am I fooling myself in thinking that for a very simple hardware
> system, maybe just an EXT2 boot, EXT3 / and a swap partition, that for
> this specific machine the init scripts might be reduced to something
> like 10-20 bash commands which get me to the bash command line where
> as root I could use the system?

Yeah, could be. Look at what the scripts in /etc/rc.d/rcsysinit.d are
doing, but the minimal list is going to look something like -

* mount /proc and /sys
* start udev to populate /dev (see /etc/rc.d/init.d/udev)
* remount / read-write (kernel mounts it read-only before init starts)
* start swap
* bring up localhost network

There's other stuff done by LFS, but I think that list is probably
enough to get you to a bash prompt. Actually, the last two aren't
critical for boot either, but you likely want them anyway...

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
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