I have been trying to solve this problem for approximately a few days now, but neither coffee nor beer help...
The topic is as follows.
There are 2 hard drives: /dev/sda where safely nest win and backtrack,
and /dev/sdb that partitioned as:
- 119 Gb - ext4 (archive, named [New Volume])
- Extended partition, divided in
- 107 Gb - ntfs
- 88 Gb - ntfs
- 5 Gb - unallocated
- 5 Gb - swap (probably belongs to no system but could be used as additional swap by debian from /dev/sda)
Gnome-disk-utility showed 119 Gb situated in the beginning of hard drive, as I could remember.
After installation of freebsd on that 107 Gb partition (facepalm...blonde...haven't thought
) and, moreover, merging of those 5 Gb partiotions into one 10 Gb of freebsd swap (during freebsd installation it asked about segment sizes but I told to keep them as is), 119 Gb disk was ok, freebsd booted from grub as hd1,2,a i.e. from 3rd partition of 2nd hard drive, /dev/sdb3, and was ok too, but 88 Gb disk disappeared as one should expect. Moreover, there appeared /dev/sdc1, /dev/sdc2,...,/dev/sdc6 respectivelly to amount of freebsd drives that were created during installation (/usr,/var,/tmp...).
Having thought something like "partition flew, nothing to worry about, we'll restore it..." I ran testdisk from /dev/sda's backtrack. 88Gb disk appeared and worked fine, but... all other partitions disappeared.
Next testdisk resulted, if to believe to gnome-disk-utility and testdisk, in the mixed mosaic of partitions on 2nd hard drive in the order like:
sdc1-sdb1-sdc2-sdb2-sdc3...or even worse...in other words, it mixed all the disks on /dev/sdb and those begins from some of ufs disk instead of ext4 [New Volume].
Now testdisk shows it like:
Code:
Disk /dev/sdb - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
>D Linux Swap 0 1 1 126 254 47 2040176
D Linux 0 32 33 14480 241 33 232634368 [New Volume]
D HPFS - NTFS 1427 1 1 14480 254 63 209712447
D Linux 7073 55 23 21554 9 23 232634368 [New Volume]
D FreeBSD 14480 241 34 27534 253 62 209713295
D HPFS - NTFS 14481 1 1 27534 254 63 209712447
D HPFS - NTFS 27535 1 1 38258 49 54 172268073
D HPFS - NTFS 27535 1 1 38912 254 63 182787507
D Linux Swap 38258 69 20 38913 69 52 10522608
D Linux Swap 38878 22 57 38913 69 52 565232
and
Code:
root@bt:~# fdisk -l /dev/sdb
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x891f2998
Device Boot Start End Blocks Id System
/dev/sdb1 7074 21555 116317184 83 Linux
The thing that I don't like the most is that [New Volume] starts not at the beginning of /dev/sdb and there is a space before it.
So, what types should be assigned to partitions to everything work fine? And why did that /dev/sdc occured as a separated unit? I've stucked with this stuff...
, any suggestions how to solve this puzzle? I don't care already about the rest of partitions, I only want the 119 Gb disk is to returned.