Topic: BSOD after partition resize
Hi,
I've used gparted to resize NTFS partition of Windows 7. It went quite fast and nice, but after that I can not start Windows 7 any more
There is blue screen of death and laptop reboots. Windows rescue mode writes that MBR is corrupted and can not be recovered. So I started gparted again and it shows an error for /dev/sda2: "Current NTFS volume size is bigger than the device size!". Could you please help me?
# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xee16b435
Device Boot Start End Blocks Id System
/dev/sda1 1 154 1228800 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 154 19275 153596613+ 7 HPFS/NTFS
/dev/sda3 37639 38914 10240000 7 HPFS/NTFS
/dev/sda4 19276 37638 147500797+ 5 Extended
/dev/sda5 19276 21707 19535008+ 83 Linux
/dev/sda6 21708 37147 124021768+ 83 Linux
/dev/sda7 37148 37638 3943926 82 Linux swap / Solaris
Partition table entries are not in disk order
# parted /dev/sda unit s print
Model: ATA ST9320325AS (scsi)
Disk /dev/sda: 625142448s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 2048s 2459647s 2457600s primary ntfs
2 2459648s 309652874s 307193227s primary ntfs boot
4 309652875s 604654469s 295001595s extended
5 309652938s 348722954s 39070017s logical ext3
6 348723018s 596766554s 248043537s logical ext3
7 596766618s 604654469s 7887852s logical linux-swap
3 604659712s 625139711s 20480000s primary ntfs
Results of:
# dd if=/dev/sda of=sda1-jna.pbr bs=512 count=1 skip=2048
# dd if=/dev/sda of=sda2-jna.pbr bs=512 count=1 skip=2459648