Enlarging  main filesystem


Forum: USB booting
Topic: Enlarging  main filesystem
started by: penguin asylum

Posted by penguin asylum on Mar. 30 2005,16:14
Well, I'm running DSL RC 1.0 off of a 256 MB flash drive.

Often when I install things it will tell me that "there is no space left on the device" or something along those lines.  So, I got Torsmo.dsl recently, and it says

File Systems:
/ 0/3.0M |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

I presume that that means that DSL has made a 3 MB virtual file system to hold the root directory, and that that is being filled.

Is there a way to increase the size of this filesystem?  Or am I stuck with only 3 MB?

(My hard drive is 60 GB, so...)

Posted by cbagger01 on Mar. 30 2005,18:50
Don't install stuff in the root directory (/).

Instead, create a subdirectory in /ramdisk/ and then symlink it to you root directory.

In other words:

Don't add:

/foo

Instead, create:

/ramdisk/foo

and create a symlink in the root directory:

/foo  ----> /ramdisk/foo

and then place the files in the /ramdisk/foo directory.

/ramdisk/foo/bar

Posted by penguin asylum on Mar. 30 2005,23:09
that would be "ln -s", right?

but also, if I have something that's installing to folders that are already there, like /etc /usr and so on, what then?

Posted by cbagger01 on Mar. 31 2005,10:01
Yes it is ln -s

/etc is already read/write so no problem there.

If you need usr to be read/write do one of two things:

1.  Install any *.dsl extension file.  This will create a writable /usr file system for you.  Once you have your program installed, you can turn in into your custom *.dsl extension.

2.  Open an xterm and type:  sudo /etc/init.d/mkwritable

Posted by mikshaw on Mar. 31 2005,15:13
3. Use the "write" boot option (according to dsl-config...i haven't tried it)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.