![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() |
My grandmas computer crashed and I offered to fix it. It ended up being a borked disk drive, she wants me to see if I can get the files off of it. I used ddrescue if=/dev/sda of=/mnt/storage/diskimage to image the entire drive. Now I need to figure out how to mount the image so I can retrieve the files.
When I try to mount the image I get this error Code:
[cowgod@ubuntu /mnt/storage]$ sudo mount -o loop -t ntfs ./disk_image2 /home/cowgod/Desktop/drive_image/ ./disk_image2: No such file or directory Code:
[cowgod@ubuntu /mnt/storage]$ fdisk -l disk_image
You must set cylinders.
You can do this from the extra functions menu.
Disk disk_image: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x41172ba5
Device Boot Start End Blocks Id System
disk_image1 1 4 32098+ de Dell Utility
disk_image2 * 5 4862 39021885 7 HPFS/NTFS
Partition 2 has different physical/logical endings:
phys=(1023, 254, 63) logical=(4861, 254, 63)
Thanks, John |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() |
[SOLVED]: mount dd image of and entire disk
Ok i figured it out. You need to do a fdisk -u -l ./disk_image
. Code:
[cowgod@ubuntu ~]$ fdisk -u -l /mnt/storage/disk_image
You must set cylinders.
You can do this from the extra functions menu.
Disk /mnt/storage/disk_image: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x41172ba5
Device Boot Start End Blocks Id System
/mnt/storage/disk_image1 63 64259 32098+ de Dell Utility
/mnt/storage/disk_image2 * 64260 78108029 39021885 7 HPFS/NTFS
Partition 2 has different physical/logical endings:
phys=(1023, 254, 63) logical=(4861, 254, 63)
then mount like this: Code:
[cowgod@ubuntu ~]$ sudo mount -o loop,offset=32901120 -t auto /mnt/storage/disk_image /home/cowgod/Desktop/drive_image |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|