Skip to Content.
Sympa Menu

baslinux - Re: [BL] Change ramfs

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Change ramfs
  • Date: Mon, 23 Mar 2009 20:10:50 -0700 (PDT)

Thank you very much for the quick and very helpful replies, that was just what I needed.

--- On Mon, 3/23/09, baslinux AT lists.ibiblio.org <baslinux AT lists.ibiblio.org> wrote:
From: baslinux AT lists.ibiblio.org <baslinux AT lists.ibiblio.org>
Subject: Re: [BL] Change ramfs
To: baslinux AT lists.ibiblio.org
Date: Monday, March 23, 2009, 10:48 PM

Message from Steven
===================

> I was wondering if theres a way where I 
> can expand the /dev/ram1 and /dev/ram2.   

The operating system sits on those ramdisks.
Once the system boots, it is not possible to 
change the size of those ramdisks.

> I don't even have enough space to install 
> mc, and thats half the purpose I got this. 

There is 1.3mb of free space on the BL3 ramdisk.  
There is an older version of mc (320kb) available
at the BL1 site.  It should work on BL3.

The executable in the BL3 mc is much bigger (710kb),
but even that could fit in the ramdisk.  However,
you would need to unpack mc.tgz (on a different
system), pull out the executable and put it on
a floppy disk.

>  I don't want to actually install this on a computer 

Installing to HD is the best option.  Even a 20mb 
partition can be useful.  Alternatively, if you 
are running DOS or Windows 95/98, you could use 
the DOS version of BL3.

> If i can't expand the two ramfs', is there a way 
> to create a new ram disk? 

Yes.  The maximum size ramdisk that the BL3 kernel
can handle is 4mb.  Use the following commands to
create a new 4mb ramdisk:
---------------------------------------------
dd if=/dev/zero of=/dev/ram2 bs=1k count=4096
mke2fs /dev/ram2 4096
mount /dev/ram2  /usr/local
---------------------------------------------
That mounts the ramdisk at /usr/local but you
can mount it wherever you want.
 
 > Or, is there a way where I could run the programs 
> directly off another floppy disk?

Sure.  Mount the floppy, cd to the floppy and 
execute the executable.  It runs slow off the
floppy but it does work.

Cheers,
Steven

-----------------------
BasicLinux mailing list
-----------------------
http://www.basiclinux.com.ru
http://www.ibiblio.org/pub/linux/distributions/baslinux/
------------------------------------
To exit, send subject=unsubscribe to
baslinux-request AT lists.ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page