Topic: NTFS partition problem after Fedora partition shrink
I tried to shrink primary NTFS partition (where I have Win7 installed) in the Fedora installer. Now I cannot boot windows and I get "Failed to read last sector" error in GParted drive information.
Could you please advise me how to solve this?
MBR dd if=/dev/sda of=sda-pablokal.mbr bs=512 count=1: http://www.mediafire.com/file/f59z67lwf … blokal.mbr
PBR dd if=/dev/sda of=sda5-pablokal.pbr bs=512 count=1 skip=2048: http://www.mediafire.com/file/b4lxlisbq … blokal.pbr
fdisk -f -u
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x80d2f3ee
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 143362047 71680000 7 HPFS/NTFS/exFAT
/dev/sda2 174289185 488392064 157051440 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 2047 MB, 2047678976 bytes
64 heads, 63 sectors/track, 991 cylinders, total 3999373 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 245 3995711 1997733+ 6 FAT16
Disk /dev/mapper/live-rw: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/live-rw doesn't contain a valid partition table
Disk /dev/mapper/live-osimg-min: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
parted /dev/sda unit s print
Model: ATA Hitachi HTS72322 (scsi)
Disk /dev/sda: 488397168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 2048s 143362047s 143360000s primary ntfs boot
2 174289185s 488392064s 314102880s primary ntfs
Thank you,
Roko