CD-R: Linux read-only system

CD-R: Linux read-only system

Post by Lee Alle » Fri, 06 Nov 1998 04:00:00



I am putting a 'live' Linux system on CD-ROM.  My intention is to enable our
company's field people (sales, installation & training) to run Linux and our
Linux-based application on their laptops, without disturbing Win95 or
whatever is already on their systems.

I have it mostly working.  I am running into lots of little problems that
are related to the root filesystem being read-only.

Examples:
Obviously you can't have syslogd writing to /var/log/messages, or modify a
database.
Not so obvious: something happens to /dev/null that the 'w'rite attributes
are removed, so things like "command > /dev/null" fail.

I can figure out ways around each of these problems (so far)... but it seems
like I am re-inventing the wheel.  I imagine others have done this before,
probably more elegantly.  Can anyone point me to some documentation?

Thanks.

-Lee Allen

 
 
 

CD-R: Linux read-only system

Post by gus » Fri, 06 Nov 1998 04:00:00



> I am putting a 'live' Linux system on CD-ROM.  My intention is to enable our
> company's field people (sales, installation & training) to run Linux and our
> Linux-based application on their laptops, without disturbing Win95 or
> whatever is already on their systems.

> I have it mostly working.  I am running into lots of little problems that
> are related to the root filesystem being read-only.

> Examples:
> Obviously you can't have syslogd writing to /var/log/messages, or modify a
> database.
> Not so obvious: something happens to /dev/null that the 'w'rite attributes
> are removed, so things like "command > /dev/null" fail.

> I can figure out ways around each of these problems (so far)... but it seems
> like I am re-inventing the wheel.  I imagine others have done this before,
> probably more elegantly.  Can anyone point me to some documentation?

> Thanks.

> -Lee Allen

Have a look at some of the Distribution multi-disk packs. I know SuSE
(in 5.1 5.2 and 5.3) had a "live" disk in the set. This should give you
a good start.

gus

 
 
 

CD-R: Linux read-only system

Post by Jason Ha » Mon, 09 Nov 1998 04:00:00



> I am putting a 'live' Linux system on CD-ROM.  My intention is to enable our
> company's field people (sales, installation & training) to run Linux and our
> Linux-based application on their laptops, without disturbing Win95 or
> Not so obvious: something happens to /dev/null that the 'w'rite attributes
> are removed, so things like "command > /dev/null" fail.

You're out of luck as far as /dev goes - there's quite a lot in there that
needs to be writable. You can mount /dev as a separate partition, so you
could  use a ~2Mb ramdisk to copy the CD  copy of /dev  onto,  and then
mount it over the  top of /dev...

--
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417

 
 
 

1. RH5 CD install fail: read-only file system

I'm trying to upgrade a RedHat 4.0 or 4.1 system using
a bootable RedHat 5.0 CD (I downloaded the ISO image from
somewhere overseas and burned the CD). I run into one
initial problem. After telling it that I do or do not
have SCSI drives, the installation stops with

  error: mount failed: read-only file system

I think I read that I have to first upgrade the mkinitrd
program. Note that I can't boot the Linux on-disk
because of a failed LILO problem when I upgraded to
RH 4.1, so I don't think I can just upgrade mkinitrd
while booting from the hard drive. So I try upgrading
mkinitrd as follows:

  cd /tmp/rhimage/RedHat/RPMS
  rpm -U --dbpath /mnt/var/lib/rpm mkinitrd-1.8-1.i386.rpm

Now I get the error messages:

  /sbin/insmod.static is needed by mkinitrd-1.8-1
  /bin/ash.static is needed by mkinitrd-1.8-1

Any suggestions? I'm about ready to give up on Linux,
even after having been a Linux supporter for the past
several years. Since I switched from Slackware to RedHat,
I've had nothing but problems, especially with RPM.

thanks in advance for any help,
clint

2. Problem with framebuffer for ATI Rage Mobility P/M AGP (kernel 2.4.18)

3. Panasonic CD-ROM mount problem: Read-only file system

4. partition in i86

5. Reading CD-R & CD-RW with an ATAPI HP 7200e CD-Writer on RH 6.0...

6. Just ping work with SLIP server

7. Won't read music CD, will read data cd?

8. Sorry typo: Did some build ghostscript (wirh working laserjet drivers?)

9. Linux system with read-only disks

10. Read-only linux system?

11. Can't read CD-R's on Win2k or Linux

12. CD-ROM drive won't read Linux-Mandrake 6.0 cd

13. System CD on a CD-less system