Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: GParted - Cannot resize partition

  1. #1
    Join Date
    Jun 2013
    Beans
    10

    GParted - Cannot resize partition

    Hi,

    My current partitions:

    Screenshot from 2013-08-22 13:35:25.jpg

    sda1 is windows partition.
    sda2 is ubuntu partition.

    I want resize sda2 using the unallocated size of sda1, but i receive this error.

    Screenshot from 2013-08-22 13:36:23.jpg

    Of course i try to resize the partitions via bootable usb with ubuntu.

    Why i get this error?

    Thank you.

  2. #2
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,206
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GParted - Cannot resize partition

    Interesting. Can you tell me what shows up if you click on the little black arrow next to "libparted messages" in your second screenshot (near the bottom left of the window)?
    Also in order to resize sda2 did you click on it and then drag the partition to the left?

    Incidentally sda2 is an extended partition (like a box) which holds sda5 which is your Ubuntu partition.
    Last edited by Quackers; August 22nd, 2013 at 12:25 PM.
    MacBook Pro 10,1 retina

  3. #3
    Join Date
    Jun 2013
    Beans
    10

    Re: GParted - Cannot resize partition

    Quote Originally Posted by Quackers View Post
    Interesting. Can you tell me what shows up if you click on the little black arrow next to "libparted messages" in your second screenshot (near the bottom left of the window)?
    Screenshot from 2013-08-22 14:51:43.jpg

    Quote Originally Posted by Quackers View Post
    Also in order to resize sda2 did you click on it and then drag the partition to the left?
    Right click - resize
    Screenshot from 2013-08-22 14:51:10.png
    Screenshot from 2013-08-22 14:51:24.png

    Quote Originally Posted by Quackers View Post
    Incidentally sda2 is an extended partition (like a box) which holds sda5 which is your Ubuntu partition.
    Hmmm, is this problem?

  4. #4
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,206
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GParted - Cannot resize partition

    In your last screenshot it appears to be waiting for you to click on the green tick near the top of the page. If you click on that it should run.
    If that goes ok do the same for sda5 so that it fills the extended partition completely (sda2).

    No, it shouldn't be a problem that you have a logical partition (sda5) inside an extended partition (sda2).

    The earlier message about overlapping partitions is a concern though.
    MacBook Pro 10,1 retina

  5. #5
    Join Date
    Jun 2013
    Beans
    10

    Re: GParted - Cannot resize partition

    Quote Originally Posted by Quackers View Post
    In your last screenshot it appears to be waiting for you to click on the green tick near the top of the page. If you click on that it should run.
    When i click the green tick this appears.

    Screenshot from 2013-08-22 14:51:43.jpg

  6. #6
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,206
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GParted - Cannot resize partition

    I see thanks. There may be something wrong with your partition table - or possibly your extended partition.
    Are you booted into a live cd/usb Ubuntu desktop?
    If so please open a terminal and type
    HTML Code:
    sudo fdisk -l
    and paste the output in your next post using code tags.
    (The -l at the end is a lower case L not a 1)
    MacBook Pro 10,1 retina

  7. #7
    Join Date
    Jun 2013
    Beans
    10

    Re: GParted - Cannot resize partition

    Code:
    ubuntu@ubuntu:~$ sudo fdisk -l 
    
    
    Disk /dev/sda: 128.0 GB, 128035676160bytes 
    255 heads, 63 sectors/track, 15566cylinders, total 250069680 sectors 
    Units = sectors of 1 * 512 = 512 bytes 
    Sector size (logical/physical): 512bytes / 512 bytes 
    I/O size (minimum/optimal): 512 bytes /512 bytes 
    Disk identifier: 0xe5abc1ba 
    
    
       Device Boot      Start         End     Blocks   Id  System 
    /dev/sda1   *        2048   188637183   94317568    7  HPFS/NTFS/exFAT 
    /dev/sda2       210063358   250068991   20002817    5  Extended 
    /dev/sda5       210063360   250068991   20002816   83  Linux 
    
    
    Disk /dev/sdc: 8006 MB, 8006926336bytes 
    255 heads, 63 sectors/track, 973cylinders, total 15638528 sectors 
    Units = sectors of 1 * 512 = 512 bytes 
    Sector size (logical/physical): 512bytes / 512 bytes 
    I/O size (minimum/optimal): 512 bytes /512 bytes 
    Disk identifier: 0x002c3cf0 
    
    
       Device Boot      Start         End     Blocks   Id  System 
    /dev/sdc1   *        2048    15638527    7818240    c  W95 FAT32 (LBA)

  8. #8
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,206
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GParted - Cannot resize partition

    Thanks. I'm not sure whether anything is wrong with that output.
    I have asked another member to take a look and see whether I have missed anything.
    MacBook Pro 10,1 retina

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GParted - Cannot resize partition

    I do not see anything wrong either.
    But to be safe lets back up partition table and save file to external device.
    Post file, but it really is the same as your fdisk, but different format.

    First backup partition table, use your drive for sdX or sda, sdb etc.
    sudo sfdisk -d /dev/sda > parts_sda.txt

    We can do it manually with sfdisk by editing the above text file. But I would like to know what gparted is seeing that seems to be the issues. The sector numbers do not look like they are overlapping?? Normally gparted also would show other errors, they were an issue.

    What version of gparted? If the one from Ubuntu installer and even if recent I might download the newest with either parted magic or gparted itself. I like to have them anyway as backup repair tools.


    http://partedmagic.com/
    http://gparted.sourceforge.net/faq.php
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,206
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GParted - Cannot resize partition

    As already stated I'm not sure that there is anything wrong but there is a utility called Fixparts which was written by a former member of this forum. Just running Fixparts will re-write the partition table and fix any possible problems with the boundaries of the extended partition. I suggest you download and run that utility. It has fixed my partition problems before.
    The instruction page is here
    http://www.rodsbooks.com/fixparts/
    and you can download the utility here
    http://sourceforge.net/projects/gptf...arts-binaries/

    Follow the instructions and once completed try and run the gparted changes again. Please let us know what happens.
    MacBook Pro 10,1 retina

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •