Advertisement
parkerlreed

Untitled

Apr 29th, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. user@ChrUbuntu:~/backups$ sudo fdisk -lu sdcard.img
  2. [sudo] password for user:
  3.  
  4. Disk sdcard.img: 15.9 GB, 15931539456 bytes
  5. 255 heads, 63 sectors/track, 1936 cylinders, total 31116288 sectors
  6. Units = sectors of 1 * 512 = 512 bytes
  7. Sector size (logical/physical): 512 bytes / 512 bytes
  8. I/O size (minimum/optimal): 512 bytes / 512 bytes
  9. Disk identifier: 0x00017b69
  10.  
  11. Device Boot Start End Blocks Id System
  12. sdcard.img1 8192 122879 57344 c W95 FAT32 (LBA)
  13. sdcard.img2 122880 31115263 15496192 83 Linux
  14. user@ChrUbuntu:~/backups$ sudo mount -o loop,offset=$((122880 * 512)) disk.img
  15. mount: can't find disk.img in /etc/fstab or /etc/mtab
  16. user@ChrUbuntu:~/backups$ mkdir mount
  17. user@ChrUbuntu:~/backups$ sudo mount -o loop,offset=$((122880 * 512)) sdcard.img mount/
  18. user@ChrUbuntu:~/backups$ ls mount/
  19. bin boot boot.bak dev etc home lib lost+found media mnt opt proc root run sbin selinux srv sys tmp usr var
  20. user@ChrUbuntu:~/backups$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement