[SOLVED] How to enlarge the root partition volume?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have some windows partition and some /dev/sda ext4 partition.
Ext4 partition is not easy to enlarge size.
So I want to change the partition type to LVM.
No, that's 'df -h'; you were asked for 'fdisk -l' a COMPLETELY different cmd (although handy to know).
Incidentally, you may need to be root or use sudo to run fdisk.
I must apologize to chrism01 for my mistake.I didn't check carefully.
I have changed my partition to LVM.It is easy to enlarge size.
The "fdisk -l" command output is as follows(now it's LVM partition type):
Quote:
linux-odv8:~ # fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd746db65
Device Boot Start End Blocks Id System
/dev/sda1 2048 24475647 12236800 27 Hidden NTFS WinRE
/dev/sda2 24475648 24680447 102400 7 HPFS/NTFS/exFAT
/dev/sda3 24680448 234396335 104857944 7 HPFS/NTFS/exFAT
/dev/sda4 * 234397696 1250260991 507931648 f W95 Ext'd (LBA)
/dev/sda5 234399744 548972543 157286400 7 HPFS/NTFS/exFAT
/dev/sda6 548974592 925292543 188158976 7 HPFS/NTFS/exFAT
/dev/sda7 925294592 925616127 160768 83 Linux
/dev/sda8 925618176 1250242559 162312192 8e Linux LVM
Disk /dev/mapper/system-home: 110.4 GB, 110368915456 bytes
255 heads, 63 sectors/track, 13418 cylinders, total 215564288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/system-home doesn't contain a valid partition table
Disk /dev/mapper/system-root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/system-root doesn't contain a valid partition table
Disk /dev/mapper/system-swap: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders, total 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/system-swap doesn't contain a valid partition table
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.