LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can a New Partition and Volume Be Created on a Tri-booted System? (https://www.linuxquestions.org/questions/linux-newbie-8/can-a-new-partition-and-volume-be-created-on-a-tri-booted-system-4175440761/)

scorpiobleue 12-10-2012 01:42 AM

Can a New Partition and Volume Be Created on a Tri-booted System?
 
I would like create a new partition and volume on a tri-booted system. The boot setup is Windows 7 64 Home Premium/Fedora 15/Ubuntu 12.04. I was trying to do this using parted in the command line on Fedora. When I ran print I got the following:

Model: ATA WDC WD3200BEVT-6 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 181GB 181GB primary ntfs
3 181GB 182GB 524MB primary ext4
4 182GB 320GB 138GB extended
5 182GB 250GB 68.2GB logical lvm
6 250GB 250GB 499MB logical ext4
7 250GB 252GB 1999MB logical linux-swap(v1)
8 252GB 262GB 9999MB logical ext4
9 262GB 320GB 57.6GB logical ext4

Looking at the Disk Utility program in Fedora it says that Volume Group vg_elw (sda5) has 44GB of unallocated space. Can a new partition be installed on the 44GB of unallocated space? When I was originally setting up the system it said to leave space if I wanted to add partitions.

michaelk 12-10-2012 08:02 AM

Yes, you should be able to add additional logical volumes using the Fedora logical volume management tool.

And as a reminder Fedora 15 reached end of life on 6/26/2012.

scorpiobleue 12-13-2012 01:20 PM

Quote:

Originally Posted by michaelk (Post 4846240)
Yes, you should be able to add additional logical volumes using the Fedora logical volume management tool.

And as a reminder Fedora 15 reached end of life on 6/26/2012.

Should I not even try using parted?

Am I going wrong on how I want to partition the drive? I wanted to partition that unallocated 44GB (sda5) starting at 206GB and ending at 250GB. Using parted it said "The closest location we can manage is 250GB to 250GB." I am completely and utterly confused.

Model: ATA WDC WD3200BEVT-6 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 181GB 181GB primary ntfs
3 181GB 182GB 524MB primary ext4
4 182GB 320GB 138GB extended
5 182GB 250GB 68.2GB logical lvm
6 250GB 250GB 499MB logical ext4
7 250GB 252GB 1999MB logical linux-swap(v1)
8 252GB 262GB 9999MB logical ext4
9 262GB 320GB 57.6GB logical ext4

(parted) mkpart
Partition type? [logical]?
File system type? [ext2]?
Start? 206GB
End? 250GB
Warning: You requested a partition from 206GB to 250GB.
The closest location we can manage is 250GB to 250GB.

michaelk 12-13-2012 01:42 PM

No. use the GUI LVM management tools. As far as I know parted does not support LVM. Here is some information that will help you understand how LVM works.

http://www.debian-administration.org/articles/410

syg00 12-13-2012 02:27 PM

Quote:

Originally Posted by scorpiobleue (Post 4846033)
Looking at the Disk Utility program in Fedora it says that Volume Group vg_elw (sda5) has 44GB of unallocated space. Can a new partition be installed on the 44GB of unallocated space?

No, because it isn't unallocated, just unused. Parted (and other non-LVM tools) deal with partitions - that's the level below LVM, and requires (truly) unallocated space on the physical disk itself.
Quote:

When I was originally setting up the system it said to leave space if I wanted to add partitions.
Always a good idea, but due to overloading of terminology, you appear to have mis-interpreted this. Not your fault BTW, this can get very confusing.

scorpiobleue 12-13-2012 02:33 PM

Quote:

Originally Posted by syg00 (Post 4848742)
No, because it isn't unallocated, just unused. Parted (and other non-LVM tools) deal with partitions - that's the level below LVM, and requires (truly) unallocated space on the physical disk itself.Always a good idea, but due to overloading of terminology, you appear to have mis-interpreted this. Not your fault BTW, this can get very confusing.

Oh wow. Cripes, so any other words if I want to add another partition it looks like I will have to repartition the entire drive all over again. Or can I just get rid of Ubuntu and use that space for the new partition instead.

markush 12-13-2012 02:45 PM

Who says that the OP's system is using LVM? as far as I can tell from the first post it's only that there is an extended partition 4 and within this there are several logical partitions.

scorpiobleue, could you please post the output of
Code:

fdisk -l
and please use code tags! [code][/code]

Markus

michaelk 12-13-2012 04:37 PM

From the first post
Quote:

5 182GB 250GB 68.2GB logical lvm
Looking at the Disk Utility program in Fedora it says that Volume Group vg_elw (sda5) has 44GB of unallocated space.

syg00 12-14-2012 02:37 AM

Quote:

Originally Posted by scorpiobleue (Post 4848751)
Cripes, so any other words if I want to add another partition it looks like I will have to repartition the entire drive all over again.

Noooo ...
Planning is always a better option than impulse - especially when your data is involved. Things can generally be managed, but might be awkward and time consuming. As is likely if you want to retain all the current partitions.
Quote:

Or can I just get rid of Ubuntu and use that space for the new partition instead.
You can certainly do that, and it would be simple. You may not learn a lot though.
One can really assume you don't want the new partition for Ubuntu then. If you want it for Fedora, it would be simpler to create another lv in that vg - that is effectively the same in an LVM environment.
If you want to add a partition ("volume" in your first post ?) to Windoze, you'll need to find space outside the LVM allocation - you can free that space in the vg, but it will be involved.

scorpiobleue 12-14-2012 07:25 PM

Thank you guys for all of your help, it is much appreciated. I decided to add another logical volume. Again thank you for the help.


All times are GMT -5. The time now is 01:15 AM.