USB booting :: Enlarging main filesystem
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...)
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
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?
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
3. Use the "write" boot option (according to dsl-config...i haven't tried it)
Next Page...
original here.