Advertisement
Guest User

Untitled

a guest
Dec 9th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo fdisk -lu data2.img
  2.  
  3. Disk data2.img: 160.0 GB, 160000000000 bytes
  4. 255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors
  5. Units = sectors of 1 * 512 = 512 bytes
  6. Sector size (logical/physical): 512 bytes / 512 bytes
  7. I/O size (minimum/optimal): 512 bytes / 512 bytes
  8. Disk identifier: 0x00000000
  9.  
  10. Disk data2.img doesn't contain a valid partition table
  11. evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo testdisk
  12. TestDisk 6.14, Data Recovery Utility, July 2013
  13. Christophe GRENIER <grenier@cgsecurity.org>
  14. http://www.cgsecurity.org
  15. evon@evon-MS-7640:/media/evon/884C742D4C741860$ kpartx
  16. usage : kpartx [-a|-d|-l] [-v] wholedisk
  17. -a add partition devmappings
  18. -r devmappings will be readonly
  19. -d del partition devmappings
  20. -l list partitions devmappings that would be added by -a
  21. -p set device name-partition number delimiter
  22. -g force GUID partition table (GPT)
  23. -v verbose
  24. -s sync mode. Don't return until the partitions are created
  25. evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo kpartx -av data2.raw
  26. failed to stat() data2.raw
  27. evon@evon-MS-7640:/media/evon/884C742D4C741860$ sudo kpartx -av data2.img
  28. evon@evon-MS-7640:/media/evon/884C742D4C741860$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement