Re: mu SETUP Still quite confused

From: Michele Andreoli (m.andreoli@tin.it)
Date: Tue Dec 04 2001 - 09:18:59 CET


On Mon, Dec 03, 2001 at 04:51:29PM -0500, Shannon Mecklenburg nicely wrote:
> That's fantastic! I heard of SanDisk! My next project would probably be a
> MP3 player that uses a cheap type of Compact Flash for the media.
>
> I modified your OS so that /etc/, /dev/, /boot, /tmp, and /var, /setup/cnf,
> /setup/sys are loaded into RAM via /dev/initrd. There are symbolic links. I
> then have the Root file system mounted as read only. The file system stays
> locked until its time to update the conf.tgz file in which case I issue a
> "mount -r -w -o remount /" followed by a "setup -s lock" and then a "mount
> -r -o remount,ro /" to relock the file system.

Maybe, part of your modifications are not necessary: root.gz is always
loaded in RAM. If you explore in /etc/rc you will find a "mount_usr".
If you pass to the kernel the parameter usr=/dev/XYZ, mulinux try to
mount boot/usr.img in /usr (boot/ is a directory on /dev/XYZ).

>
> It looks like CRAMFS could replace the INITRD boot image, right? Thats
> pretty cool! I can't make initrd images larger than 4MB, but I think that
> may be due to the way the kernel was compiled.

This is a limitation of the 2.0.* serie.

> That's pretty cool that the OS fits into 3 nicely defined files! I can't
> use that method (I don't think) because the machine won't be on a DHCP
> server so the IP has to be manually configured.

I suggest you to use the script "roclone" (read-only clone) trying to
get back the "three" files.

Michele

-- 
I keep trying to locate a meeting of Quantum Physicists. But everytime
they set a meeting time, the location changes. And vice versa -- Anonymous
---------------------------------------------------------------------
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:21 CET