Fedora Linux Support Community & Resources Center
  #1  
Old 3rd June 2012, 10:35 PM
Yora0 Offline
Registered User
 
Join Date: Jun 2012
Location: Germany
Posts: 148
linuxfedorakonqueror
Setting up partitions for installation

I noticed that the automatic partioning done by Fedora 17 KDE was a bit weird and now I want to set it up manually.

Currently I have partition sda1 with windows and sda5 with misc files, between them 100 GB of free space.
I want Fedora to use those 100 GB, but I have trouble setting up the partitions:
2 GB swap
5 GB boot
93 GB for root

However, I can not put three more partitions on this drive, so I need to use logical drives.
But I dont know how to set that up.
Swap probably needs to be a separate partitions, so root and boot have to share one.
Do I start with root and make boot a logical sub-drive?
Or two logical drives and then combine thm to a logical group?



There are also two device mappers and four unknown Devices labeled /dev/loop which I think are left over from older installations which I did not properly remove but simple had their partitions deleted. Not sure if those complicate things.

Last edited by Yora0; 3rd June 2012 at 10:47 PM.
Reply With Quote
  #2  
Old 4th June 2012, 02:32 AM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,711
linuxfirefox
Re: Setting up partitions for installation

Quote:
Originally Posted by Yora0 View Post
However, I can not put three more partitions on this drive, so I need to use logical drives.
But I dont know how to set that up.
Swap probably needs to be a separate partitions, so root and boot have to share one.
Do I start with root and make boot a logical sub-drive?
Or two logical drives and then combine thm to a logical group?
You can probably get away with not separating /boot and /, and just using two primary partitions.

Quote:
There are also two device mappers and four unknown Devices labeled /dev/loop which I think are left over from older installations which I did not properly remove but simple had their partitions deleted.
Are you using a live CD at the moment? Loop devices are used to access the contents of files as if they were volumes, and the install media make a lot of use of them, but they probably don't relate to anything installed on your hard-disk.
Reply With Quote
  #3  
Old 4th June 2012, 03:57 PM
Yora0 Offline
Registered User
 
Join Date: Jun 2012
Location: Germany
Posts: 148
linuxfirefox
Re: Setting up partitions for installation

It was a Live USB Hard Drive.

It wasn't actually that complicated, you just need to have a basic understanding of Logical Volumes.

First you create an LVM Physical Volume, which will be the extended partition.
Then you create an LVM Voulme Group inside the LVM Primary.
Then you start creating LVM Logical Volumes inside the Volume Group, which will be the actual partitions that will have ext4, swap, or any other file systems.

The reason that there are both LVM Physical Volumes and LVM Volume Groups, which appear to do the very same thing, is that you can also spread LVM volumes over several sections of a hard drive or even multiple hard drives.
In my case, I just needed to make one Physical Volume that holds only a single Volume group, but you need to have the volume group and can't put Logical Volumes directly into the Physical Volume, which confused me.

Also, you can't mount /boot to a Logical Volume, so you need to have a Standard Partition for that.
Reply With Quote
  #4  
Old 4th June 2012, 04:26 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,711
linuxfirefox
Re: Setting up partitions for installation

Quote:
Originally Posted by Yora0 View Post
In my case, I just needed to make one Physical Volume that holds only a single Volume group, but you need to have the volume group and can't put Logical Volumes directly into the Physical Volume, which confused me.
A volume group is the association between one or more physical volumes and one or more logical volumes. The physical volumes added to the group are pooled together as a common source of blocks (or extents of blocks), which are then allocated to the logical volumes.
Reply With Quote
Reply

Tags
installation, partitions, setting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installation - problem with partitions glock356 Installation and Live Media 3 25th December 2011 03:45 PM
Installation with XFS partitions Uqbar Installation and Live Media 2 12th October 2009 05:35 PM
Problem with partitions during installation d347hm4n Installation and Live Media 7 4th September 2009 10:40 PM
Partitions created during installation phe Installation and Live Media 26 19th October 2008 08:50 AM
Setting permissions for partitions Razorblade Hardware & Laptops 3 24th March 2005 05:30 AM


Current GMT-time: 16:29 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat