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: (4) </ [1] 2 3 4 >/

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

reply to topic new topic new poll
Topic: Partitioning problem., DSL likes swap.< Next Oldest | Next Newest >
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: April 05 2006,22:18 QUOTE

Ok. A friend on mine wanted a computer. I managed to get 3 HDs, one CD-drive a 200Mhz P2 processor, 64Mb RAM and a 17" Compaq monitor.
Well. DSL was obvious choice.

Ok. I used cfdisk to partition all the HDs. I installed DSL (booted with 'install'). It asked if I wanted to use ext3 format (yes) and so on. System installed nicely... BUT! DSL changed (or used) all the other space that I had formatted (with cfdisk) to swap.
So I tried following:
$ swapoff -a
and then tried to mount any of the partitions. None worked.  :angry:

Only solution I found working was to 'install' dsl to each partition I wanted to use as space. leaving only swap partitions untouched.
After that I formatted ($ rm -fr *) all the partitions I wanted to use. Somehow then... DSL doesn't use those partitions as swap. Istaller seems to format those partitions 'by the better way'...

Is it me who is stupid or did any of you have problems like this with old hardware?
Back to top
Profile PM WEB ICQ MSN 
axel Offline





Group: Members
Posts: 11
Joined: April 2006
Posted: April 05 2006,23:58 QUOTE

What i have done is to install dsl on the hd and then create a swap space on /tmp with the following commands:

dd if=/dev/zero of=/tmp/swap bs=1024k count=64
mkswap /tmp/swap
swapon /tmp/swap

This creates a 64MB swap file in the /tmp directory. The last command has to be run at every boot so add it at /opt/bootsplash.sh.
Back to top
Profile PM 
lovdsl Offline





Group: Members
Posts: 359
Joined: Feb. 2006
Posted: April 06 2006,02:06 QUOTE

Maby it has something to do with ext3 file systems? I used ext2 and it used the swap file I set to swap with swap on and my other partition was mountable and dsl installed to the boot partition..I do not think you should have to install dsl to all the partitions..if swap was not on maby it searched for available swap on all the partitions..Sorry not much help.
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: April 06 2006,07:49 QUOTE

I'll have to try all the methods sometime...

Now my problem is to change hda1's size without losing any data on it.
Any easy way to do that with DSL?


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: April 06 2006,07:54 QUOTE

Quote
The last command has to be run at every boot so add it at /opt/bootsplash.sh

You meant /opt/bootlocal.sh?


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
18 replies since April 05 2006,22:18 < Next Oldest | Next Newest >

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

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Partitioning problem.

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