HD Install :: installation DSL 3.2



Hi,
I installed the DSL 3.2 on an old PC (pentium 200Mhz, Ram 32M).
I created "swap" and "home" partitions before the installation, but these partitions seem not used !??

# free
Swap 0 0 0
# df
/dev/hda1 234251 118768 103389 53% /

How make the installation with these partitions used ?

Thank's

1.  How did you install DSL?
2.  What did you do to add swap?
3.  What did you do to add home?

Possible tips: make sure you format them first

1.  How did you install DSL?
with Apps/Tools/install to Hard Drive
2.  What did you do to add swap?
"fdisk" and DSL in LiveCD mode
3.  What did you do to add home?
"fdisk" and DSL in LiveCD mode

In fact, I didn't format these two partitions and the DSL installation didn't suggest to do that. Is it normal ?
;-)

Yes it's normal. It just assumes you have done that already.

So it's a hd-install. For swap "mkswap /dev/hda2" if it's hda2, and then "swapon /dev/hda2" and add this line to /etc/fstab:
Quote
/dev/hda2 swap swap defaults 0 0
For home partition "mke2fs -m0 /dev/hda3" (again assuming it's hda3, -m0 is there because no space needs to be reserved for root on a home partition) and then boot a livecd (Not good moving files when they are in use),
mount partitions, and move your /mnt/hda1/home/* there, so that, for example "/mnt/hda1/home/dsl" will become "/mnt/hda3/dsl" and the /mnt/hda1/home dir will be empty. Then add this to /mnt/hda1/etc/fstab:
Quote
/dev/hda3 /home auto defaults,auto 0 0
You are now ready to reboot....

I made that :
vi /etc/fstab
to modify the two lines

# mount /dev/hda1 /mnt/hda1
# mount /dev/hda3 /mnt/hda3
# cp -r /mnt/hda1/home /mnt/hda3
# rm -r /mnt/hda1/home

to transfer the "home" from "hda1" (root partition) to "hda3" (home partition)

I verified :
# ls /mnt/hda3
dsl
# ls /mnt/hda3/dsl
Events
# reboot

but I had this error message :
No directory, logging in with /HOME=/
-su cd: /home/dsl : no such file or directory


An idea please !??

Next Page...
original here.