FedoraThis forum is for the discussion of the Fedora Project.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Laptop: Dell Inspiron 5100
Distro: Fedora Core 5
HD Size: 40 GB
Problem: Need to move boot partition to beginning of drive and resize lvm partition
Well, I finally did it. I used gparted and deleted my windows xp partition off my dual boot laptop. Well now I have a little problem. I thought I would be able to just move and resize my partitions with gparted (or qtparted, tried them both) but that is not the case. I believe it has something to do with being a lvm partition (although then why can't I move my boot partition). Currently it is setup having 20GB of unallocated space at the beginning of the drive, then the boot partition, then the linux partition. So my question is this.
How do move the boot partition then resize the lvm partition so that I regain the unallocated 20GB? Am I not thinking correctly here or am I missing something.
I have a screenshot of gparted and the partition table from fdisk. I couldn't find how to put it in this post so if it is needed let me know.
LVM allows you to add "disks" to a VG. You don't need to move anything. Just make a partition in that empty space then use pvcreate to make that partition available to LVM. Then use vgextend to add it to the existing VolGroup00 (OR use vgcreate to make a new Volume Group). Use lvcreate to add new logical volumes or lvextend to extend existing ones. You have to mkfs to put a filesystem on it. (If extending a lv you need to save everything on that lv before doing a mkfs then restore it.)