So I have 2 partitions, one of which is /boot and the other is everything else in an LVM logical volume.  Problem is I'm getting warnings about how much space is on /boot. Warnings are increasingly frequent so I figured I better resize. I made a boot disk, specifically gparted live with tuxboot. It works fine but I can't get the volume to resize.  I can see the logical volume and I can deactivate it but this does not seem to allow any resizing.  I note the logical partition is yellow and the boot partition is only partly yellow. Does this mean it's full? ...because it's not. Clues??  Thanks
14199
I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is in use. When I opened GParted in the Live CD, I realized that I could not resize the partition, because when I right-click it, the option "resize/move" is disabled.  I tried to unmount it, to "lazy" unmount it (umount -l /dev/sda2) but it didn't work.  A screenshot from GParted:
42061
Here I want to merge unallocated space to ext4 partition. But during running in Ubuntu it is not allowed. Am I right? It has key picture. I must do that Ubuntu DVD booting from it and selecting try Ubuntu there with GParted, I must merge this unallocated part by right clicking on ext4 partition and then selecting shrink. Am I right?   Then for swap area I want to take 5GB from extended partition (which is now called D on Windows). Can I format this partition in Windows or should I use GParted? But in GParted it has key picture. Or in the same way should I do this during trying Ubuntu to merge unallocated space to ext4? Thank you for your answers.
49231
Why don't I have this option?    here's my disk layout  sudo 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: 0x5b53cc54     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048      409599      203776    7  HPFS/NTFS/exFAT /dev/sda2          409600  1153767021   576678711    7  HPFS/NTFS/exFAT /dev/sda3      1216962560  1250050047    16543744    7  HPFS/NTFS/exFAT /dev/sda4      1250050048  1250261679      105816    c  W95 FAT32 (LBA)  Disk /dev/sdb: 4005 MB, 4005527552 bytes 32 heads, 63 sectors/track, 3880 cylinders, total 7823296 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: 0x20d8782d     Device Boot      Start         End      Blocks   Id  System /dev/sdb1   *          63     7822079     3911008+   c  W95 FAT32 (LBA)
64762
I want to format and set a single partition in an external hard drive with GParted (Ubuntu 12.04) and would like to set the Allocation Unit Size. I don't see any options to do this with GParted. Is there a way to set AUS in Ubuntu?
39212
I ran the default install of CEntOS 6.5 on my machine a couple months ago and have since added programs and files which I don't want to get rid of. I'd like to dual boot Ubuntu 14.x and am wondering what to do with the /boot partition. The hard drive is currently partitioned like so:  sda: 256 GB SSD   sda1: /boot 500 MB sda2: /LVM physical volume ~237 GB   /root /home swap     My question is: Is it OK to share the /boot partition between distros? or do I need to have a separate /boot partition for Ubuntu? If so, is it necessary to put the /boot partition at the beginning of the drive?
44278
I'm new to GParted. I have to resize a partition that contains root file system which is full. Previously I had Windows installed in my system. I use a 250GB hard drive and was divided into 3 drives namely C, D and E drive. After this I installed Ubuntu and used the existing NTFS file system, to install Ubuntu. Now, I need to resize the partition mounted on root file system as it is full. Below is the link to screenshot of GParted -    What should I do to increase the size the /dev/sda6 without any data loss in GParted
57851
I met the same problem of not being able to shrink the Windows OS partition C: as much as I plan to due to unmovable files.  Having learned from , I would like to "turn System Restore off and remove System Volume Information folders". So I was wondering where and how I can "turn System Restore off and remov System Volume Information folders"?  This is the only way I can find out to solve my problem. If you have other way please let me know.
63824
What partitioning scheme do you recommend for a desktop? I've always created three or four primary partitions -- root, swap, home, and sometimes a separate boot partition. Ubuntu's default install offers LVMs. I've never had to add additional drives or space, so it never seemed like a big deal. Whenever I do a fresh install, though, I always think there might be a better way.
93576
I have Ubuntu 10.10 installed inside of Windows using . I am running out of space on my Ubuntu disk (currently  405.1 MB free). I have a 180 GB hard drive and when I installed Ubuntu I only allocated 10 GB to it.   How can I resize my disk to give Ubuntu some more space?
68134
Which is the best way in order to resize an encrypted (ecryptfs) ext4 home partition ?  Pros nad Cons of each method are greatly appreciated.  $ fdisk -l Disk /dev/sda: 256.1 GB, 256060514304 bytes 255 heads, 63 sectors/track, 31130 cylinders, total 500118192 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     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *          63    41945714    20972826    7  HPFS/NTFS/exFAT /dev/sda2       207007744   211206554     2099405+  82  Linux swap / Solaris /dev/sda3        42946560    82008063    19530752   83  Linux /dev/sda4        82008064   207007743    62499840   83  Linux
18410
I want to install Ubuntu 13.10 on my pre-installed windows 7 pc and I want a dual boot. I have no empty partition on my hard disk drive. I don't want to re-install windows 7 and don't want to install ubuntu on c drive. I want to install on a different partition but I want to resize it. How should I do it? Please answer in steps. Also suggest the amount of space I should allocte to ubuntu 13.10.
97911
I have a dedicated server with 2 TB storage.   My problem is that the whole storage is allotted to the root partition.   Whenever I try to resize it using lvresize, the root partition gets corrupted and then I have to reprovision the server.   Is there any option to resize the root partition without unmounting in lvm?  I am trying to reduce the root partition to 100GB.  Vgs  root@s93079:/home/customer# vgs   VG        #PV #LV #SN Attr   VSize VFree   s93079-vg   1   2   0 wz--n- 1.82t    0   Lvs  LV     VG        Attr       LSize  Pool Origin Data%  Meta %  Move Log Cpy%Sync Convert   root   s93079-vg -wi-ao----  1.79t    swap_1 s93079-vg -wi-ao---- 32.00g   Fdisk - l  Device     Boot  Start        End    Sectors  Size Id Type /dev/sda1  *      2048     499711     497664  243M 83 Linux /dev/sda2       501758 3907028991 3906527234  1.8T  5 Extend /dev/sda5       501760 3907028991 3906527232  1.8T 8e Linux  Disk /dev/mapper/s93079--vg-root: 1.8 TiB, 1965782204416 byt es, 3839418368 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 /dev/mapper/s93079--vg-swap_1: 32 GiB, 34355544064 byte s, 67100672 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   Vgdisplay   --- Volume group ---   VG Name               s93079-vg   System ID   Format                lvm2   Metadata Areas        1   Metadata Sequence No  3   VG Access             read/write   VG Status             resizable   MAX LV                0   Cur LV                2   Open LV               2   Max PV                0   Cur PV                1   Act PV                1   VG Size               1.82 TiB   PE Size               4.00 MiB   Total PE              476870   Alloc PE / Size       476870 / 1.82 TiB   Free  PE / Size       0 / 0   VG UUID               dPrEwA-77pM-pGai-9jZB-ldMZ-iL20-HAe9 Dj   lvdisplay /dev/s93079-vg/root   --- Logical volume ---   LV Path                /dev/s93079-vg/root   LV Name                root   VG Name                s93079-vg   LV UUID                bpGNau-XirV-P7PA-8d6k-OCOy-TAwN-HXl FVI   LV Write Access        read/write   LV Creation host, time s93079, 2016-08-27 09:22:05 -0500   LV Status              available   # open                 1   LV Size                1.79 TiB   Current LE             468679   Segments               1   Allocation             inherit   Read ahead sectors     auto   - currently set to     256   Block device           254:0   Lvdisplay /dev/s93079-vg/swap_1  --- Logical volume ---  LV Path                /dev/s93079-vg/swap_1  LV Name                swap_1  VG Name                s93079-vg  LV UUID                j74PLZ-E9gK-9Bbb-EkKq-xRJv-TuU4-FgH gm  LV Write Access        read/write  LV Creation host, time s93079, 2016-08-27 09:22:05 -0500  LV Status              available  # open                 2  LV Size                32.00 GiB  Current LE             8191  Segments               1  Allocation             inherit  Read ahead sectors     auto  - currently set to     256  Block device           254:1   Df - h  /dev/dm-0       1.8T  923M  1.7T   1% / udev             10M     0   10M   0% /dev tmpfs           3.2G  8.5M  3.2G   1% /run tmpfs           7.9G     0  7.9G   0% /dev/shm tmpfs           5.0M     0  5.0M   0% /run/lock tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup /dev/sda1       236M   33M  191M  15% /boot
12629
How do I resize a LVM partition using system-config-lvm?  As per   I clicked on the partition and tried to resize, but got a pop-up error from system-config-lvm.     Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi).     What's the problem and how can I fix it?    See also .
10982
I wanted to create more space for Ubuntu on my hard disk in favor of my Windows partition. I booted the livecd and resized the NTFS partition to 100 GB. Then I wanted to resize my Ubuntu (ext4) partition to fill up the created unallocated space.  A screenshot of my current disk. (With the livecd there's no 'key' icon after sda6)    My first thought was just right click on sda6 → move/resize → done. Unfortunately I cannot resize or move the partition. However I can resize the NTFS partition.  I guess it is because the extended sda4 partition is locked. I couldn't see an unlock possibility though…  So how do I resize the ext4 partition anyway, probably by unlocking the extended partition, but how?
3608
I have just bought an HP laptop with Windows&nbsp;7 (64 bit). It has a 500&nbsp;GB HDD with three partitions: a small hidden system partition, a 12&nbsp;GiB HP recovery partition, and a 450&nbsp;GiB C: boot partition.  I would like to split this large C: partition into two partitions, leaving only 100&nbsp;GiB for the system, and giving the rest to a new data partition.  Although the Windows built-in Disk Management utility has an option to shrink the bootable partition, it only allows me to shrink it roughly by half, even though only 20&nbsp;GiB on the partition is used. As far as I understand, system unmovable files lie in the middle of the partition, preventing Disk Management utility to do what I want.    And since new HP laptops don't come with OS installation disks (they only allow you to create recovery disks yourself), I can't just repartition HDD and then reinstall OS.  So, is there a way to shrink the C: bootable partition and preserve Windows&nbsp;7 working?  P.S.: I have tried to use the third-party  utility, and after shrinking the partition, Windows&nbsp;7 stopped booting, with a . System recovery didn't work, and I had to do factory recover. Since this is a long process, I would like to avoid doing it again :) So, please, suggest only proven solutions.
11526
Yesterday I decided to upgrade my laptop hard drive to an SSD. I was previously running Ubuntu 14.04 on the HDD that came with it. I have installed Ubuntu 14.10 on the SSD.  I would like to mount the old HDD so that I can copy over all my files. So I purchased an enclosure that lets me treat it like an external USB drive. I put the HDD into the enclosure and plugged it in. It is detected and it sees all of the volumes. But it only mounts the boot volume for read/write.  The HDD is 750GB and the SSD is 120GB. When I inspect it in the "Disks" utility I see both hard drives and can easily tell the difference between the two. When I inspect the HDD I see: Partition 1 Ext2 (boot volume), Extended Partition 2, and Partition 5 LVM2 PV.  So clearly it can see the volumes as well. It reports that the disk is ok but has one bad sector. The drive is not encrypted. I am not sure why it shows two volumes of the same size. Probably has to do with it being an LVM volume.  How do I get it to let me read the files from my old installation of Ubuntu?  $ sudo fdisk -l Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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 Disklabel type: dos Disk identifier: 0x7f79a18e  Device     Boot  Start       End   Sectors   Size Id Type /dev/sda1  *      2048    499711    497664   243M 83 Linux /dev/sda2       501758 468860927 468359170 223.3G  5 Extended /dev/sda5       501760 468860927 468359168 223.3G 8e Linux LVM  Disk /dev/mapper/ubuntu--vg-root: 215.6 GiB, 231479443456 bytes, 452108288 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 /dev/mapper/ubuntu--vg-swap_1: 7.8 GiB, 8317304832 bytes, 16244736 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 /dev/sdb: 596.2 GiB, 640135028736 bytes, 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 Disklabel type: dos Disk identifier: 0x0004f632  Device     Boot  Start        End    Sectors  Size Id Type /dev/sdb1  *      2048     499711     497664  243M 83 Linux /dev/sdb2       501758 1250263039 1249761282  596G  5 Extended /dev/sdb5       501760 1250263039 1249761280  596G 8e Linux LVM
49664
I have dual booted Windows 7 &amp; Ubuntu 14.04 with EasyBCD, i.e. I have installed grub on the Ubuntu root partition &amp; added entry of linux to Windows bootloader using EasyBCD. So effectively i am using Windows Bootloader to boot into either of them. Working perfectly.  As i already had 4 primary partition on HDD, i converted one of  that (NTFS-Windows 500 GB) to Logical using EaseUs Partition, so that around 70GB of uncollected space on HDD could be used.  NOTE: Before that the 500 GB partition was Primary &amp; i was able to see all partition in Gparted. "What i mean to say is all was working properly".  The problem (i.e. after conv. of primary to logical) is i am getting this message after starting Gparted &amp; shows entire partition as Unallocated.  Unable to satisfy all the constraints on the partition  $ sudo fdisk -l  Disk /dev/sda: 1000.2 GB, 1000204886016 bytes  255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors  Units = sectors of 1 * 512 = 512 bytes  Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0xe6bfc2a4     Device Boot       Start         End      Blocks   Id  System   /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT   /dev/sda2          206848   427624447   213708800    7  HPFS/NTFS/exFAT   /dev/sda3       427624449  1805438975   688907263+   f  W95 Ext'd (LBA)   Partition 3 does not start on physical sector boundary.   /dev/sda5       427624512  1532823551   552599520    7  HPFS/NTFS/exFAT   /dev/sda6      1532825600  1780301823   123738112   83  Linux   /dev/sda7      1780301824  1805438975    12568576   82  Linux swap / Solaris   So what is the cause of this problem.  I know there might be duplicate for this at "" (that was bug probably &amp; was for old version of Ubuntu 13.04) &amp; ""  Also, if there is any chance that both errors are related or complementary to each other?  So, is this problem caused because of Sector Size (512 bytes/4096 bytes) or my mistake of converting a Primary partition to logical using EaseUs rather than some of the Ubuntu Tools. How can i rectify this?  If any further info needed, feel free to ask.  UPDATE  @psusi, sudo parted -l says same as what gparted said. (Unable to satisfy..) @oldfred, i have started chkdsk, will update you with the same.  (Thanks to both)  @rod smith, I will try your suggestion after i done with chkdsk.Thanks !