/etc/mtab in a read-only medium

Chris Lingard chris at stockwith.uklinux.net
Mon Oct 8 10:24:48 PDT 2001

Fernando Arbeiza wrote:

> On Mon 08 Oct 2001 18:08, Chris Lingard wrote:
>> Fernando Arbeiza wrote:
>> > On Mon 08 Oct 2001 17:17, Fernando Arbeiza wrote:
>> >
>> > <...>
>> I made the ramdisk the root and mounted /proc and /cdrom onto it.  You
>> can
>> mount anything onto the CD provided you have the mount points.  You will
>> need to change the mountfs and checkfs scripts since the cd is always
>> read only.
> Thanks a lot, but I've made all the scripts to build the CD from my point
> of view, and I'd prefer not to change that (I'm a bit lazy).
>> I made etc.tar, root.tar on the partition that becomes the CD; and un-tar
>> these in the start up script.
>> If you make the CD the root then you will have problems with /tmp.  You
>> can remake /var in the start up script.
> But I make /tmp a link to a directory in the ramdisk. Is there any problem
> with that?
Should be OK.  Let us know when it boots, it is wierd running from a CD as 
the timings are very different to a hard disk.  Perhaps we should trade 
bootable CDs

You can make a swap partition out of RAM, and put that into the fstab if 
you want.

>> Good luck
> Thanks again,
> Fernando Arbeiza,
> Cantabria, Spain

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list