1

Topic: NTFS resize bug strikes again!

I am fairly new to the open source/Linux community, so please bear with me and excuse me if I ask newbie questions.

One of my computers is still running windows, and I tried to repartition the hard drive yesterday to split a single NTFS partition into two NTFS partitions. I created a bootable USB running knoppix 6.2.1 which includes GParted 5.1. I performed several other operations first (which worked fine) and then tried to shrink the size of the NTFS partition and encountered the NTFS resize glitch.

google led me to http://gparted-forum.surf4.info/viewtopic.php?id=13937 tutorial on how to fix the glitch, and i felt confident enough to try it. I seem to have messed something up, because after following the instructions to a T (or so I thought), both Ubuntu and Knoppix are still unable to mount the drive.

Worse, this was the C drive from my windows machine, and like an idiot I did not back it up. The drive is now unbootable, and I cannot access it from Linux to get my data off. Any help will be greatly appreciated.

Here is as much information as I can think to provide:

When I type parted /dev/sdc unit s print I get

Model: WDC WD50 00AAKS-00UU3A0 (scsi)
Disk /dev/sdc: 976771055s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number  Start    End         Size        Type     File system  Flags
 1      63s      192779s     192717s     primary  ntfs         boot
 2      206848s  545471009s  545264162s  primary

Here is the edited .pbr file that I copied to the drive:
https://rapidshare.com/files/2135717144 … entPbr.pbr

and here is the original error message I got from GParted:
https://rapidshare.com/files/3012820831 … etails.htm


If anybody can help me out or point me in the right direction as to how I can fix this, I would be very grateful.

2

Re: NTFS resize bug strikes again!

The file myCurrentPbr.pbr that you provided is not the NTFS pbr.  If you edited this file and wrote it back to the drive, then I recommend that you restore the original file back to the drive.

Since the problem appears to be with /dev/sda2, we will need copies of the Master Boot Record and the NTFS Partition Boot Record.

You can capture the Master Boot Record in a file with the following command:

NOTE:  Be extra careful to type this command in properly, otherwise loss of data could result.

dd if=/dev/sda of=sda-vgrhcp.mbr bs=512 count=1

where sda-vgrhcp.mbr is the name of the file that will need to be uploaded.


You can capture the NTFS Partition Boot Record in a file with the following command:

NOTE:  Be extra careful to type this command in properly, otherwise loss of data could result.

dd if=/dev/sda of=sda2-vgrhcp.pbr bs=512 count=1 skip=206848

where sda2-bgrhcp.pbr is the name of the file that will need to be uploaded.


Then upload these files to a media sharing site, such as mediafire or filefactory, and post the link to these files in this forum post.