installation DSL 3.2


Forum: HD Install
Topic: installation DSL 3.2
started by: abou07

Posted by abou07 on April 19 2007,09:50
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

Posted by ^thehatsrule^ on April 19 2007,12:41
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

Posted by abou07 on April 19 2007,15:22
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 ?
;-)

Posted by curaga on April 19 2007,15:47
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....

Posted by abou07 on July 20 2007,08:29
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 !??

Posted by roberts on July 20 2007,14:05
This has been moved to HD Install area.

Check again your /etc/fstab. It is rebuilt upon each boot.
For your particular needs, perhaps adding the boot option nofstab to lilo or grub would be appropriate.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.