Re: muLinux and website on CD

From: anders.smith@philips.com
Date: Fri Apr 06 2001 - 03:55:26 CEST


In the documentation you describe how roclone works/should be used, but I have a few questions:

--snip--
>From a technical point of view, all happen in usually way, but after booting muLinux try to mount own USR segment from a removable device, probing in turn CDROM IDE, CDROM Scsi, ZIP floppy and other. If succeded, muLinux mount the USR image (a normal
file in the boot/ directory) using the loopback Linux device and uses a mixed filesystem arrangement: RAMDISKs and read-only media togheter.
--snip--

Does this mean that after booting muLinux trys to mount the /user directory from the CD if it's there and only if it can't find one there, it goes looking for another /usr on a Zip etc.? or does it mean that the included /user will be ignored in favour
of another?

If I clone (or roclone) the muLinux system including the /html directory after arranging to my liking, burn the CD and boot from the CD, then the whole content will automatically be loaded into a ramdisk and run from there? I would prefer that the CD
stops spinning after the boot up to make the system as quiet as possible.

Can I access the html files/directory in the master.iso under Windows to add and delete file or is it completely locked until it's mounted? This would of cause make it very easy to change/update the site and just burn a new CD directly from windoze?

Thanks
Anders

m.andreoli@tin.it on 04/05/2001 02:50:55 AM
Please respond to mulinux@sunsite.dk@SMTP
To: mulinux@sunsite.dk@SMTP
cc:
Subject: Re: muLinux and website on CD
Classification:

On Wed, Apr 04, 2001 at 12:44:26PM -0500, anders.smith@philips.com nicely wrote:
> If I want to put my entire website and muLinux on a CD, s
> o that I could just ask the the PC to boot from CD and leave it,
> and the stuff would take care of it self.
>
> I'm not sure how to go about this in the smartest way.

Very easy. The "clone" concept helps a lot here. You simply have
to prepare a muLinux working system, with internal web server as
you like.

If you are using thttpd, the doc_root is /usr/srv/thttpd.
Put there your documents. After that:

        1. roclone
        2. move master.iso on the Windows
        3. use your favorite CD-burner

I have a SCSI HP cd-writer, and it works fine under mulinux with
the standard package "cdrecord". So, I only use 1).
The "clone" script freeze your system on the CD, -as is-

With the procedure described here, web pages are embedded in the
big ramdisk where the system itself belong to.

But, maybe, you would prefere to put the web pages in a
separated directory in the CD, for example html/ etc.
You can create a link in /usr/srv/thttpd to the directory, pointing
to /media/html. Indeed, at boot, the CD is mounted under /media.

There are some malfunction using this approach, because the CDROM
filesystem confuse a little the server: 8.3 filenames, etc.

As alternative, you can create a new ramdisk on the fly and copy
this directory in it, using the setup/local:

                device="/dev/ram`find_ramdisk`"
                mkfs.ext2 $device || exit
                mkdir -p /usr/srv/thttpd/html
                mount $device /usr/srv/thttpd/html
                cp -a /media/html/* /usr/srv/thttpd/html

How to create the html/ directory on the CD-ROM?
Pleease, read messages from "roclone": it offer you to put
on the master everything.

Michele

--
In summing up, I wish I had some kind of affirmative message to leave
you with, I don't. Would you take two negative messages? - Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:18 CET