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: installation DSL 3.2< Next Oldest | Next Newest >
abou07 Offline





Group: Members
Posts: 3
Joined: April 2007
Posted: April 19 2007,09:50 QUOTE

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
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 19 2007,12:41 QUOTE

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
Back to top
Profile PM 
abou07 Offline





Group: Members
Posts: 3
Joined: April 2007
Posted: April 19 2007,15:22 QUOTE

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 ?
;-)
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: April 19 2007,15:47 QUOTE

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


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
abou07 Offline





Group: Members
Posts: 3
Joined: April 2007
Posted: July 20 2007,08:29 QUOTE

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 !??
Back to top
Profile PM 
5 replies since April 19 2007,09:50 < 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: installation DSL 3.2

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