Временно нужна была windows 10...
изначально таблица разделов была такая:
/dev/sdb1 extended
/dev/sdb6 ext4
/dev/sdb5 swap
Через gparted live уменьшил sdb6 на 40гб, переместил sdb5 к концу sdb6, уменьшил sdb1 на 40 гб, создал раздел ntfs.
После установки винды, естественно, grub был снесен.
загружаюсь с linux live
fdisk -l
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2046 406478847 406476802 193.8G 5 Extended
/dev/sdb2 * 406478848 488396799 81917952 39.1G 7 HPFS/NTFS/exFAT
/dev/sdb5 389701632 406478847 16777216 8G 82 Linux swap / Solaris
Partition table entries are not in disk order.

установил testdisk, в итоге, получилось
Disk /dev/sdb: 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: 0x00032dc8
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 463224831 463222784 220.9G 83 Linux
/dev/sdb2 471619584 488396799 16777216 8G 82 Linux swap / Solaris
толи гениальная вещь, толи я где-то накосячил. Можно ли как-то восстановить таблицу разделов?
---
Утилита gpart, вроде бы, находит разделы,
только вместо ext4 выдает ext2насчет изначальной разметки, перед /dev/sdb6 был 1 Мб - gparted зачем-то оставляет при создании раздела, можно ли, зная размеры разделов, вручную переписать таблицу разделов?
выхлоп gpart:
Begin scan...
Possible partition(Linux ext2), size(190281mb), offset(2mb)
Possible partition(Linux swap), size(8192mb), offset(190284mb)
Possible partition(Windows NT/W2K FS), size(39999mb), offset(198476mb)
End scan.
Checking partitions...
Partition(Linux ext2 filesystem): primary
Partition(Linux swap or Solaris/x86): primary
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Ok.
Guessed primary partition table:
Primary partition(1)
type: 131(0x83)(Linux ext2 filesystem)
size: 190281mb #s(389695488) s(4096-389699583)
chs: (0/65/2)-(1023/254/63)d (0/65/2)-(24257/172/43)r
Primary partition(2)
type: 130(0x82)(Linux swap or Solaris/x86)
size: 8192mb #s(16777216) s(389701632-406478847)
chs: (1023/254/63)-(1023/254/63)d (24257/205/13)-(25302/35/13)r
Primary partition(3)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 39999mb #s(81917952) s(406478848-488396799)
chs: (1023/254/63)-(1023/254/63)d (25302/35/14)-(30401/75/10)r
Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Пользователь добавил сообщение 16 Сентября 2016, 02:20:25:
переписал вручную, попытаюсь запустить
label: dos
label-id: 0x00032dc8
device: /dev/sdb
unit: sectors
/dev/sdb1 : start= 2046, size= 406476802, type=5
/dev/sdb2 : start= 406478848, size= 81917952, type=7, bootable
/dev/sdb5 : start= 389701632, size= 16777216, type=82
/dev/sdb6 : start= 4096, size= 389695488, type=83, bootable