Results 1 to 4 of 4

Thread: Error Resizing Partition/Installing BT5

  1. #1
    Just burned his ISO
    Join Date
    Nov 2011
    Posts
    1

    Question Error Resizing Partition/Installing BT5

    Hello all!

    I'm having a problem installing Backtrack 5 on my new laptop as a dual boot with Win7. After booting into a LiveUSB and running the installer I get this error when selecting the 'install side by side' option :

    "An error occurred while writing the changes to the storage devices.

    The resize operation has been aborted."

    When I try and do the same resize operation in GParted I get this error:

    "An error occurred while applying the operations"

    It also gives a massive error dumpt/report:


    Code:
    GParted 0.5.1
    
    Libparted 2.2
    Shrink /dev/sdb3 from 445.99 GiB to 325.99 GiB  00:00:07    ( ERROR )
         	
    calibrate /dev/sdb3  00:00:01    ( SUCCESS )
         	
    path: /dev/sdb3
    start: 41463808
    end: 976771071
    size: 935307264 (445.99 GiB)
    check file system on /dev/sdb3 for errors and (if possible) fix them  00:00:02    ( SUCCESS )
         	
    ntfsresize -P -i -f -v /dev/sdb3
         	
    ntfsresize v2.0.0 (libntfs 10:0:0)
    Device name : /dev/sdb3
    NTFS volume version: 3.1
    Cluster size : 4096 bytes
    Current volume size: 478877315584 bytes (478878 MB)
    Current device size: 478877319168 bytes (478878 MB)
    Checking for bad sectors ...
    Checking filesystem consistency ...
    Accounting clusters ...
    Space in use : 58417 MB (12.2%)
    Collecting resizing constraints ...
    Estimating smallest shrunken size supported ...
    File feature Last used at By inode
    $MFT : 37337 MB 0
    Multi-Record : 246922 MB 60992
    $MFTMirr : 1 MB 1
    Compressed : 246921 MB 61366
    Sparse : 246765 MB 68500
    Ordinary : 254874 MB 78017
    You might resize at 58416926720 bytes or 58417 MB (freeing 420461 MB).
    Please make a test run using both the -n and -s options before real resizing!
    shrink file system  00:00:02    ( ERROR )
         	
    run simulation  00:00:02    ( SUCCESS )
         	
    ntfsresize -P --force /dev/sdb3 -s 350026768383 --no-action
         	
    ntfsresize v2.0.0 (libntfs 10:0:0)
    Device name : /dev/sdb3
    NTFS volume version: 3.1
    Cluster size : 4096 bytes
    Current volume size: 478877315584 bytes (478878 MB)
    Current device size: 478877319168 bytes (478878 MB)
    New volume size : 350026760704 bytes (350027 MB)
    Checking filesystem consistency ...
    Accounting clusters ...
    Space in use : 58417 MB (12.2%)
    Collecting resizing constraints ...
    Needed relocations : 0 (0 MB)
    Schedule chkdsk for NTFS consistency check at Windows boot time ...
    Resetting $LogFile ... (this might take a while)
    Updating $BadClust file ...
    Updating $Bitmap file ...
    Updating Boot record ...
    The read-only test run ended successfully.
    real resize  00:00:00    ( ERROR )
         	
    ntfsresize -P --force /dev/sdb3 -s 350026768383
         	
    ntfsresize v2.0.0 (libntfs 10:0:0)
    ERROR(95): Opening '/dev/sdb3' as NTFS failed: Operation not supported
    The NTFS journal file is unclean. Please shutdown Windows properly before
    using this software! Note, if you have run chkdsk previously then boot
    Windows again which will automatically initialize the journal correctly.
    check file system on /dev/sdb3 for errors and (if possible) fix them  00:00:02    ( SUCCESS )
         	
    ntfsresize -P -i -f -v /dev/sdb3
         	
    ntfsresize v2.0.0 (libntfs 10:0:0)
    Device name : /dev/sdb3
    NTFS volume version: 3.1
    Cluster size : 4096 bytes
    Current volume size: 478877315584 bytes (478878 MB)
    Current device size: 478877319168 bytes (478878 MB)
    Checking for bad sectors ...
    Checking filesystem consistency ...
    Accounting clusters ...
    Space in use : 58417 MB (12.2%)
    Collecting resizing constraints ...
    Estimating smallest shrunken size supported ...
    File feature Last used at By inode
    $MFT : 37337 MB 0
    Multi-Record : 246922 MB 60992
    $MFTMirr : 1 MB 1
    Compressed : 246921 MB 61366
    Sparse : 246765 MB 68500
    Ordinary : 254874 MB 78017
    You might resize at 58416926720 bytes or 58417 MB (freeing 420461 MB).
    Please make a test run using both the -n and -s options before real resizing!
    grow file system to fill the partition  00:00:00    ( ERROR )
         	
    run simulation  00:00:00    ( SUCCESS )
         	
    ntfsresize -P --force /dev/sdb3 --no-action
         	
    ntfsresize v2.0.0 (libntfs 10:0:0)
    Device name : /dev/sdb3
    NTFS volume version: 3.1
    Cluster size : 4096 bytes
    Current volume size: 478877315584 bytes (478878 MB)
    Current device size: 478877319168 bytes (478878 MB)
    New volume size : 478877315584 bytes (478878 MB)
    Nothing to do: NTFS volume size is already OK.
    real resize  00:00:00    ( ERROR )
         	
    ntfsresize -P --force /dev/sdb3
         	
    ntfsresize v2.0.0 (libntfs 10:0:0)
    ERROR(95): Opening '/dev/sdb3' as NTFS failed: Operation not supported
    The NTFS journal file is unclean. Please shutdown Windows properly before
    using this software! Note, if you have run chkdsk previously then boot
    Windows again which will automatically initialize the journal correctly.
    
    ========================================

    Does anyone have any idea what I'm doing wrong? Any help is greatly appreciated, thanks in advance!

  2. #2
    Just burned his ISO
    Join Date
    Nov 2011
    Posts
    4

    Default Re: Error Resizing Partition/Installing BT5

    ntfsresize v2.0.0 (libntfs 10:0:0)
    ERROR(95): Opening '/dev/sdb3' as NTFS failed: Operation not supported
    The NTFS journal file is unclean. Please shutdown Windows properly before
    using this software! Note, if you have run chkdsk previously then boot
    Windows again which will automatically initialize the journal correctly.


    I think it's due to the fact something goes wrong when you shut down win7 and the NTFS file table is probabily not correctly updated .
    Try to launch win7, then go to the cmd and run a chkdsk, properly shut down win7 and then try again with the BT installation.

  3. #3
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: Error Resizing Partition/Installing BT5

    Indeed try the tips from the above post. If you haven't created a backup of your win7 partition data might want to do so.
    Also make sure you know exactly how many partitions your machine has. Every win7 system I have seen has more than one partition to begin with. 1 with the OS and one that is used for recovery in case something goes wrong. This will show up as such in windows, but BT/linux may not recognize this partition for what it is, but rather as just a partition.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  4. #4
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: Error Resizing Partition/Installing BT5

    Indeed try the tips from the above post. If you haven't created a backup of your win7 partition data might want to do so.
    Also make sure you know exactly how many partitions your machine has. Every win7 system I have seen has more than one partition to begin with. 1 with the OS and one that is used for recovery in case something goes wrong. This will show up as such in windows, but BT/linux may not recognize this partition for what it is, but rather as just a partition.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Similar Threads

  1. BackTrack booting to Grub menu after resizing partition
    By muleoftheeast in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 06-02-2011, 05:59 PM
  2. Replies: 15
    Last Post: 02-01-2011, 10:37 AM
  3. Installing BT4 on a partition.
    By AztekGod in forum Beginners Forum
    Replies: 4
    Last Post: 02-08-2010, 11:38 PM
  4. fdisk partition resizing
    By imported_GONZO in forum OLD Newbie Area
    Replies: 2
    Last Post: 03-06-2008, 03:17 PM
  5. Replies: 0
    Last Post: 11-15-2007, 03:48 PM

Posting Permissions

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