0
I would like to do some work on sdb3
partition:
sudo fdisk -l
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
16 heads, 63 sectors/track, 1938021 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x2052474d
Device Boot Start End Blocks Id System
/dev/sdb1 63 549971855 274985896+ 7 HPFS/NTFS/exFAT
Partition 1 does not start on physical sector boundary.
/dev/sdb2 549971856 1470063167 460045656 7 HPFS/NTFS/exFAT
/dev/sdb3 * 1470063168 1810175471 170056152 7 HPFS/NTFS/exFAT
However both partitioning tools that I have tried (gParted and KDE Partition Manager) are unable to find that partition:
How I got into this situation
I was doing a partition-resizing operation from KDE partition Manager. After 10 seconds into it I remembered that I also wanted that partition moved to another drive. Clicked Cancel, 2 hours later KDE Partition Manager was still trying to cancel the operation. I have forced stopped it, then with the help of Testdisk I was able to recover the 3 partitions of sdb
. Went into Windows XP and successfully ran chkdsk /f
on all of the 3 NTFS partitions of sdb
. Right now they can all be mounted and used in Linux and Windows apparently fine.
How would I go about making the 3 partitions show up again in the partitioning software?
edit 1
kellogs-PC kellogs # lsblk /dev/sdb
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 931,5G 0 disk
├─sdb1 8:17 0 262,3G 0 part /media/kellogs/downloads 2
├─sdb2 8:18 0 438,8G 0 part /media/kellogs/para backup
└─sdb3 8:19 0 162,2G 0 part /media/kellogs/Win8
edit2
Kamil's answer @ https://superuser.com/a/1225632/60373 did not do the trick for me.
Forgot to mention about an important bit. This machine has 3 OSes
/dev/sda - Windows XP, Linux /dev/sdb - Windows 8.1
/dev/sda1 is the Win XP partition, apparently with Win8's loader on it:
kellogs-PC kellogs # update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
No volume groups found
Found Windows 8 (loader) on /dev/sda1
done
This looks fine to me, but... Windows 8.1 won't load. Again, the Win8 (a.k.a. sdb3) partition gets mounted fine from within Win XP and Linux. Searching the internet for the error code "0xc000000e" does not give me a clear answer to my problem.
1Hmm, something seems to be incorrectly reported by libparted. If both of them show the same output. By the way, paste output of lsblk /dev/sdb. And where did you get this ancient version of KDE Partition Manager 1.0.3? Current version is 3.1.0. Which distro is that? Somebody should ping packagers. – Andrius Štikonas – 2017-07-04T14:51:53.987
@AndriusŠtikonas edited with the output, thanks – kellogs – 2017-07-04T16:06:01.373
1Hmm, I wonder it it would be possible to have a look at your MBR file? I could try to see where KDE Partition Manager gets stuck, e.g. is it in KPM or libparted... – Andrius Štikonas – 2017-07-05T02:06:54.910
@AndriusŠtikonas sure it would, here it is: http://194.150.85.156:8080/html/sdb.mbr.backup
– kellogs – 2017-07-05T08:18:42.180