Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo fdisk -lu data2.img
- Disk data2.img: 160.0 GB, 160000000000 bytes
- 255 heads, 63 sectors/track, 19452 cylinders, total 312500000 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 data2.img doesn't contain a valid partition table
- evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo testdisk
- TestDisk 6.14, Data Recovery Utility, July 2013
- Christophe GRENIER <grenier@cgsecurity.org>
- http://www.cgsecurity.org
- evon@evon-MS-7640:/media/evon/884C742D4C741860$ kpartx
- usage : kpartx [-a|-d|-l] [-v] wholedisk
- -a add partition devmappings
- -r devmappings will be readonly
- -d del partition devmappings
- -l list partitions devmappings that would be added by -a
- -p set device name-partition number delimiter
- -g force GUID partition table (GPT)
- -v verbose
- -s sync mode. Don't return until the partitions are created
- evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo kpartx -av data2.raw
- failed to stat() data2.raw
- evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo kpartx -av data2.img
- evon@evon-MS-7640:/media/evon/884C742D4C741860$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement