Find the answer to your Linux question:
Results 1 to 5 of 5
hi! Here's my problem: i wanted to resize my windows vista ntfs partition in order to make it smaller without losing data. First I used ntfsresize and then fdisk to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3

    [SOLVED] problem resizing ntfs partition


    hi!

    Here's my problem: i wanted to resize my windows vista ntfs partition in order to make it smaller without losing data. First I used ntfsresize and then fdisk to create the new partition. All went quite good: i could resize the vista partion and now it's working.

    The problem now is that fdisk is not able to create a new partion with the free space that the resizing left. Although there are free sectors there, it says that "no free sectors available".

    Here's my fdisk output:

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xdc29fa30

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 8925 71690031 7 HPFS/NTFS /*vista partition*/
    /dev/sda2 13404 14391 7923712 7 HPFS/NTFS
    /dev/sda3 14391 14594 1627136 7 HPFS/NTFS
    /dev/sda4 11492 13403 15355213+ 5 Extended
    /dev/sda5 11492 11554 503089+ 82 Linux swap / Solaris
    /dev/sda6 11555 11616 497983+ 83 Linux
    /dev/sda7 11617 13403 14354046 83 Linux

    Partition table entries are not in disk order

    Command (m for help): n
    No free sectors available

    Thanks in advance!!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Its not possible to create new partition because you already have 3 Primary Partitions + 1 Extended. Merge free space ( 8926 to 11491 ) with either /dev/sda1 or /dev/sda4 ( extended partition ).

    You can create new Logical Partition inside Extended but free space is not available inside Extended partition.
    I would suggest you to use PartedMagic or GParted LiveCD. GParted Partition Manager is available in LiveCDs of Ubuntu and most of other distros.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3
    And how can i merge this free space with my extended partition? My first intention was to create this logical partition with ext3 filesystem inside the extended one you talk about, but neither fdisk nor gparted let me do so: they don't let me make anything with this freespace. How can i operate with the free space?

    Ah! As you noticed, i'm new here. I'm really impressed with the efectiveness of the response!!thank you very much!

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    My first intention was to create this logical partition with ext3 filesystem inside the extended one you talk about,
    That's because the free space is NOT in the extended partition. The free space is between ( 8926 to 11491 ) as indicated by DC in his post. Your extended partition is
    (11492 13403). If you want to create another logicall partition within this extended partition, you need to change the extended to begin at '8926' which you can do with GParted.

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3
    thank u very much! all work perfectly now

Posting Permissions

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