PDA

View Full Version : [all variants] From primary to logical



blazemore
January 20th, 2010, 11:25 PM
Here's my problem.
I have all 4 possible primary partitions, but I want to install another Linux distribution alongside.
Is there any way of doing this?
Easiest way to show you is with screenshot [attached]

mikewhatever
January 20th, 2010, 11:56 PM
Yes, there is. You'd have to delete one of the primary partitions, which will make it possible to create lots of logical ones.

oldfred
January 21st, 2010, 01:59 AM
Where are you going to get the space from? Moving partitions can be a long process.

It would be relatively easy to remove your swap which will break you boot. then you can shrink your /home partition if you have space. then create the extended partition, add new partition and swap. To repair your boot you will have to edit fstab with the new UUID for swap. If any other partitions get renumbered or new UUID's you may also have to edit those in fstab and in grub.
to see new UUID
sudo blkid

On second thought it may be easier just to back up /home and reinstall with the new partitions defined first.

https://help.ubuntu.com/community/HowtoPartition/OperatingSystemsAndPartitions
http://ubuntuforums.org/showthread.php?t=282018&highlight=separate+%2Fdata+partition
http://www.psychocats.net/ubuntu/partitioning

Screenshots of using gparted
http://www.howtoforge.com/partitioning_with_gparted
GParted partitioning software - Full tutorial
http://www.dedoimedo.com/computers/gparted.html

You cannot share /home with other distributions but can mount and share data partitions. If you want the same data you should create a data partition also. I have all my data several data partitions and now my /home is only 1GB. Some data is in NTFS for windows sharing and some in ext3 for linux sharing.

Leppie
January 21st, 2010, 02:05 AM
you could unmount your swap, remove the partition then shrink your windows partition and create a logical partition in the free space.

blazemore
January 21st, 2010, 12:58 PM
I have HUNDREDS of free gigabytes on /home
I'm going to:


Remove swap
Shrink /home
Make logical partitions in free space
Remake swap and new OS partition as logical

Leppie
January 21st, 2010, 01:15 PM
I have HUNDREDS of free gigabytes on /home
I'm going to:


Remove swap
Shrink /home
Make logical partitions in free space
Remake swap and new OS partition as logical


that's basically the same thing.
just remember, if you want to install another windows os, it most probably doesn't like being in a logical parition.