Re: 4 MB: no cloning starts

From: Michele Andreoli (m.andreoli@tin.it)
Date: Tue Oct 23 2001 - 11:04:11 CEST


On Mon, Oct 22, 2001 at 06:15:14PM -0400, Alfie Costa nicely wrote:
> On 19 Oct 2001, at 14:13, Michele Andreoli <mulinux@sunsite.dk> wrote:
>
> > ..The best chance is to enter in the
> > MaintenanceMode, when you can, then:
> >
> > # fdisk /dev/... { create a swap partition }
> > # mkswap /dev/<swap-partition>
> > # sync
> > # swapon
> > Now, you can do:
> > # /etc/rc/dosinstall
>
> Can something like this be put into the boot script?** It would check how much
> memory there was.
>

Be sure, Alfie: if you check /etc/rc/lowmem, muLinux try desperately
to set swap automagically for lowmem machine.
But it try that _using a script_, and scripts does fork().

In other words, in some case, muLinux is unable to run its boot script,
so it cannot control anything.

The first script started in /linuxrc. Here, we find this check:

===============================================
MIN=5242880
MEM=$(ram_total)
[ "$MEM" -le "$MIN" ] && lowmem=yes

[ ..... ]

if [ "$lowmem" = yes ] ; then
        . /etc/rc/lowmem
fi

===============================================

/etc/rc/lowmem try to set a swap as Linux swap on i a file in the DOS
hard-disk.

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:20 CET