Here's the problem in short.
I had two hard drives, both separated into 2 partitions. Hard drive 1 partition 1 had windows xp once, used for data later. Hard drive 1 partition 2 was always just data. Hard drive 2 partition 1 was windows 8.1 system. Hard drive 2 partition 2 was always just data.
So, i just copied everything i could from hard drive 1 partition 1 somewhere else and installed Debian there.
It went fine (kinda), now i can boot into Debian. However, i can't boot into Windows 8.1. During Debian installation it said something about Grub not detecting other operation systems but that it could be tweaked further, so i went ahead.
This is fdisk -l output:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 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
Disklabel type: dos
Disk identifier: 0x4ebe4ebe
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 63 122881184 122881122 58.6G 83 Linux
/dev/sda2 122881246 488375999 365494754 174.3G f W95 Ext'd (LBA)
/dev/sda5 122881248 488375999 365494752 174.3G 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 7.5 GiB, 8086618112 bytes, 15794176 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
Disklabel type: dos
Disk identifier: 0x39768880
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 2296991 2296928 1.1G 17 Hidden HPFS/NTFS
Disk /dev/sdc: 1.8 TiB, 2000398934016 bytes, 3907029168 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
Disklabel type: dos
Disk identifier: 0x0000b9de
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 63 524281274 524281212 250G 7 HPFS/NTFS/exFAT
/dev/sdc2 524281275 3907024064 3382742790 1.6T 7 HPFS/NTFS/exFAT
/dev/sdc1 is the Windows 8.1 one.
I can't even mount it, however:
Error mounting /dev/sdc1 at /media/root/system3: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=0,gid=0,dmask=0077,fmask=0177" "/dev/sdc1" "/media/root/system3"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sdc1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
Well, i'm pretty sure i shut it down the normal way, or actually, restarted it... but eh.
I tried using Windows restore/install usb, tried automatic repair - no luck, tried bootrec - well, it detects windows (actually, two of them, since i have a backup lying around somewhere) but it can't fixboot & rebuildbcd.
What should i try next?