HD Install :: Partitioning problem.



How much I requires ram? Because to format all the HDs, you need to disable swap... ;)
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.

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

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.

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.

Next Page...
original here.