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: July 24 2006,14:41 QUOTE

How much I requires ram? Because to format all the HDs, you need to disable swap... ;)

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





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: July 25 2006,15:33 QUOTE

Quote (Zucca @ July 24 2006,10:41)
How much I requires ram? Because to format all the HDs, you need to disable swap... ;)

Why would you have to disable swap to format?

When you boot from livecd you would run cfdisk to set your partitions
Partitions with 83 are linux and partitions with 82 are swap
once the partitions are setup (here is an example of a setup):
/dev/hda1 type 83 size 1gig
/dev/hda2 type 83 size 2 gig
/dev/hda3 type 82 size 400M

you would run:
sudo mkfs -t ext3 /dev/hda1
sudo mkfs -t ext3 /dev/hda2
sudo mkswap /dev/hda3

dslinstall
(perform whatever install type you want on the partition you want)

if you install frugal you would need to edit /opt/bootlocal.sh or type the following command after restarting to the HD. (regular HD install finds the swap automatically and I think the livecd does as well so I am not sure why the frugal would not find the swap and use it)

sudo echo "swapon /dev/hda3" >> /opt/bootlocal.sh

You would then need to do the backup procedure and the restore boot option (not exactly sure of these procedures because I have a regular HD install) to keep your bootlocal.sh changes.

This should do it.  Remember that you would need to replace all the /dev/hd?? with your setup and the -t ext3 with ext2 if you want ext2 partitions.
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: July 25 2006,16:40 QUOTE

Well...
Try to fromat hd that has swap partition in use...
If you succeed and there is (was) some swap used... system would go nuts when trying to access those memory addresses that were on swap partition..


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





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: July 25 2006,22:03 QUOTE

Quote (Zucca @ July 25 2006,12:40)
Well...
Try to fromat hd that has swap partition in use...
If you succeed and there is (was) some swap used... system would go nuts when trying to access those memory addresses that were on swap partition..

But you said you could not get swap to work.  

And if you are using swap while partitioning and formatting then your ram is defective so you are in trouble anyway, just install DOS and run in 640K.

Boot the livecd with noswap.
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: July 26 2006,14:36 QUOTE

Just because if it happens that I have already made swap partition.

If I recall right qparted live-CD has gnome WM. It may 'eat' some RAM indeed.


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