HD Install :: Partitioning problem.



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?

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.

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.
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?

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

You meant /opt/bootlocal.sh?

Next Page...
original here.