LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-22-2006, 08:12 PM   #1
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Rep: Reputation: 15
Resize lvm and move /boot?


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.
 
Old 08-22-2006, 08:46 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
/boot is a partition not part of LVM.

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.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resize LVM volume group? rconan Fedora 5 04-22-2009 08:45 PM
Is there a way to resize PVs in LVM 1.0.8? Ken-ji Linux - Software 0 02-12-2006 10:20 PM
resize LVM partition bkesting Linux - General 3 06-17-2005 10:28 AM
Cant resize with LVM plz help sendas4 Linux - General 4 10-21-2004 08:05 PM
resize or move /boot partition breenbaron Linux - General 3 04-07-2004 12:13 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration