Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Disappearing Hair, frugal disc space< Next Oldest | Next Newest >
dmoc Offline





Group: Members
Posts: 21
Joined: Jan. 2006
Posted: July 04 2006,14:14 QUOTE

*had* a working frugal install on a hd configured as...

hda1, 4G, windows
hda2, 4G, frugal (thought I could also mount other dirs here?)
hda3, 3G, home and opt
hda4, 128M, swap

The crunch came when I tried a "dpkg -i <blah>" which resulted in "No space left on device" (various paths). So I have moved usr and tmp to hda3 (i think :p ) but my latest attempt resulted in same error but for /var/lib/dpkg/status (a file). So now I'm thinking...

1) I am effectively doing a hd-install bit by bit
2) Why let all the space on hda2 going to waste?

Must admit I'm getting lost. Third time I've tried a frugal and thought I'd be lucky this time.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 04 2006,14:38 QUOTE

Quote
thought I could also mount other dirs here?

You need to "mount --bind" in order to mount directories to a mountpoint within a mountpoint (should also use "frugal" boot option so hda2 will be writeable). An alternative is to use "toram" boot option, but it seems like you are already too short on ram.

Your ramdisk is getting filled quickly...in that situation I would consider using only tar.gz (since you have a persistent opt) and uci extensions....or think about increasing your ram, increasing your swap partition, or installing DSL as a traditional harddrive system.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: July 04 2006,15:50 QUOTE

The frustration of using "write"  (dozens of symlinks)  and mount --binds can all be avoided with unionfs. Use boot option unionfs
Back to top
Profile PM WEB 
dmoc Offline





Group: Members
Posts: 21
Joined: Jan. 2006
Posted: July 04 2006,16:07 QUOTE

Thanks for the suggestions I'll give them a go. How do I clean up my current installation, ie, just the single deb pkg that failed to install? I would like to avoid wiping out all my other changes if poss.

btw: yeah I am short on ram as my sony vaio pcg-505fx only has 64M. I'm using the "frugal" boot option but maybe I'd be better of doing a proper hd install?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 04 2006,18:03 QUOTE

A reboot should clean up anything that has been added apart from whatever is being backed up, but since you're using persistent home and opt the backup isn't really important unless you need to back up something in /etc.  Any applications added to system directories will be wiped out.

If it were me with only 64mb, I'd either do traditional harddrive install or rely entirely on tar.gz, uci, and unc extensions for additional software. And i'd use tar.gz only if i was also using persistent /opt

I also want to clear up my statement about "mount --bind"...i think i said it wrong.  My point was that using persistent directories on the same partition as KNOPPIX will fail unless you use toram because KNOPPIX is already mounted (unless you use toram).  In order to mount a directory located on a mounted partition you need to use "mount --bind", which is not covered by the boot script.  The script will mount that partition if it is not already mounted (which is why it works with toram), but it will fail if the partition is already mounted.  This is at least what the situation was several months ago...i haven't tried it since.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
8 replies since July 04 2006,14:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Disappearing Hair

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code