1 (edited by GhostlySnow 2010-08-26 05:23:50)

Topic: [SOLVED] Another NTFS file system problem

I seem to be having a problem similar to many people here. When resizing my windows 7 partition it boots up to a bsod. I checked it in linux and it gives me the "NTFS volume size greater than drive size" error. I don't want to try to do this myself because i don't want to screw up the partition. Can anyone help me out?


# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb26bb9ef

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          37      289792    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2   *          37       32672   262144000    7  HPFS/NTFS
/dev/sda3           32672       33978    10485760   83  Linux
/dev/sda4           33978       38914    39650304    5  Extended
/dev/sda5           33978       38914    39649280   83  Linux
# parted /dev/sda unit s print
Model: ATA TOSHIBA MK3264GS (scsi)
Disk /dev/sda: 625142448s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start       End         Size        Type      File system  Flags
 1      2048s       581631s     579584s     primary   ntfs
 2      581632s     524869631s  524288000s  primary   ntfs         boot
 3      524869632s  545841151s  20971520s   primary   ext4
 4      545841152s  625141759s  79300608s   extended
 5      545843200s  625141759s  79298560s   logical   ext4

2

Re: [SOLVED] Another NTFS file system problem

Is your Windows 7 installation on /dev/sda2?

If so then use the following commands.  Otherwise you will need to adjust the commands for a different starting sector.

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-GhostlySnow.mbr bs=512 count=1

where sda-GhostlySnow.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-GhostlySnow.pbr bs=512 count=1 skip=581632

where sda2-GhostlySnow.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, and post the link to these files in this forum post.

3

Re: [SOLVED] Another NTFS file system problem

Sorry for not responding sooner, but i ended up using the tutorial. Thank you for your time though. It seemed like a really big problem, but i figured out everything eventually.

Thanks again for your time,
Jim