Partner links

Manual LVM disk partitioning guide for Fedora 17

Zemanta Related Posts Thumbnail

This is the LVM Physical Volume setup window. The File System Type should already be pre-selected with the right option. If not, select it. For the size, type in what you would like to allocate. The system used for this tutorial had about 300 GB of disk space, and I allocated 200 GB of that to the Physical Volume. On a hard drive, where the Physical Volume is the second partition being created, Anaconda will create it as a primary partition, so you do not have to check Force to be a primary partition. OK.
Anaconda Create LVM Physical Volume

Back to the main partitioning window, you can see the two partitions you just created, plus the free space still unallocated. The next task involves creating a Volume Group and the logical volumes. To do that, select sda2, and click Create.
Anaconda Create Partition

Select LVM Volume Group.
Anaconda Create LVM Group

This is where the Volume Group and the logical volumes will be created. By default, Anaconda assigns a Volume Group name based on the system’s hostname. So, in this example, the hostname is hum, therefore, the default Volume Group name is vg_hum. Anaconda does about the same with the names of the logical volumes. But you do not have to stick with the system-assigned names. Choose simpler ones.
Anaconda Create LVM Volume Group

See, the Volume Group name has been changed to just hum. Now to creating the logical volumes. Click the Add button. Note that as with the default installation, we are going to create logical volumes for the root partition, home partition and Swap.
Anaconda Create LVM Logical Volume

This is the logical volume setup window. The only options to modify here, are the Mount Point, Logical Volume Name, and Size (in megabytes).
Anaconda Create Root Logical Volume

Here is the same window with the values for the root logical volume specified. When specifying the size of a logical volume, you only need to allocate just enough to install the system. You can always grow or expand it with free space from the Volume Group. OK.
Anaconda Create Home Logical Volume

For the home logical volume. OK.
Anaconda Create Swap Logical Volume

And, finally, for Swap. OK. For guidance on how much disk space to allocate to Swap, see this answer to a question at the Forum.
Anaconda Create Swap Logical Volume

So, the Volume Group and logical volumes have been created. Click OK to exit this window.
Anaconda Logical Volumes

Back to the main partitioning window, you can see all the partitions and logical volumes, plus the free, unallocated space. That free, unallocated space could be used at some point in the future to expand the Physical Volume or to install another distribution or operating system in dual-boot fashion. Notice that I also left some space unallocated in the Volume Group. That can be used to grow any logical volume that runs out of space. And that expansion can be done online. That, is the beauty of LVM. Click Next to continue with the rest of the installation.
Anaconda Custom Partitions

At the boot loader configuration step, you have the option to choose where GRUB, the boot loader, will be installed. By default, the installer will want to install it in the Master Boot Record. On a standalone system, that is, with Fedora as the only OS on the hard drive, that is where it should be. At this step, you may also opt to configure a boot loader password, for added security.
Anaconda Bootloader Setup

That should do it. For basic questions or feedback, use the comments box, or for more engaging discussions, post at the Forum.

Share:

Facebook
Twitter
Pinterest
LinkedIn

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
1
0
Hya, what do you think? Please comment.x
()
x