Drive partitioning advice please!

Soldato
Joined
25 Oct 2002
Posts
5,648
Location
location: location
I'm using a 300GB IDE drive in my ubuntu pc/ What software do you recommend for partitioning it (i want a data partition and a partition to store a working image) and which file format should i be using to format the partitions with?

Also what would be the best way of creating the image? I'm used to PQDI and Ghost and can run them from a bootcd if that would do the job unless there are more ingenious methods with linux!

:)
JM
 
I've installed Gparted and what i'm finding confusing is that whereas with a windows installation you can just backup the single partition as an image to a different drive or partition, with ubuntu there were 2 partitions created on the drive:




So using the traditional methods like ghost ot PQDI, i'm not sure what the best solution is.
 
Partitioning Software: http://gparted.sourceforge.net/livecd.php

Partition the sizes howerever you want. I use...

/ 20GB - filesystem is ext3
/HOME 200GB - filesystem is ext3 encrytped

Why do you want to store an image?

/boot - 24MB
swap - it doesn't need to be big if you have lots of ram. I use 512MB
/ - 10GB (my installation will be *substantially* smaller than yours though... 20Gb will be good for you.)
/home - rest of the disk.

job done.
 
Thank you. I want to store an image so that when things go **** up like they did when i tried to upgrade openoffice yesterday, i don't have to reinstall linux.

So, excuse the ignorance, when making a backup of the filesystem drive i don't need to make a backup of the swap drive as well?

Looks like i'll do the following:

1) Create a boot (filesystem) partition: (20GB)
2) Keep the swap drive partition as it is now (2.89GB) - (i've got 1GB ram installed)
3) Create a HOME drive with the rest of the partition and format it with ext3 (i'll put the boot partition image in a folder on this drive)

:)
JM
 
Thank you. I want to store an image so that when things go **** up like they did when i tried to upgrade openoffice yesterday, i don't have to reinstall linux.

So, excuse the ignorance, when making a backup of the filesystem drive i don't need to make a backup of the swap drive as well?

Looks like i'll do the following:

1) Create a boot (filesystem) partition: (20GB)
2) Keep the swap drive partition as it is now (2.89GB) - (i've got 1GB ram installed)
3) Create a HOME drive with the rest of the partition and format it with ext3 (i'll put the boot partition image in a folder on this drive)

:)
JM

sounds like a plan ;)

Note: With having a separate home drive its easy to reinstall and all your settings will be there after you log in.
 
As said, use LVM.

However, I would put /boot and / on their own primary partition (non-LVM), then everything else on LVM. Especially /home along with /srv /var /tmp SWAP /lib etc etc.
 
Back
Top Bottom