Visit Our UNIX and Linux User Community

Mounting a disk clone

Thread Tools Search this Thread
Operating Systems Linux Ubuntu Mounting a disk clone
# 1  
Old 10-30-2010
Mounting a disk clone

I wasn't sure where to put this thread but since i use ubuntu for data recovery, I figured this is the best place. So, a friend passed me a 250G Western Digital hard disk the other day and said that his client needs to get her pictures off it. the problem: windows says it wants to reformat the system. so i put in my linux disk and had a look.

when i ran dmesg as root shortly after connecting the drive it gave the output in dmesg.txt i attached

I looked at the original drive with fdisk -l. I have made an image that I will be working with.

I had the same output when i used sfdisk on the image.

mount -o loop to /mnt fails it wants me to specify a filesystem and when i do it spits out a dmesg tail error.

is there anything else i can try like specifying an offset?
# 2  
Old 10-30-2010
you should have FAT32 support.

/dev/sdb1 should be mounted as the FAT32 filesystem vfat

Ubuntu:Maverick -
# 3  
Old 10-30-2010
* did you try without option ?

* and for recovery maybe you can testdisk tool
TestDisk Download - CGSecurity

best lucks
# 4  
Old 10-30-2010
root@arumator--net:/home/arumator# mount -o loop /media/250189482C661005/recovery_image.img /mnt -t vfat
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

I need to mount the image sorry if i wasn't clear. i currently don't have the drive on me if I try mounting the image without the -o loop option it says its not a block device. this is the output from the dmesg | tail
root@arumator--net:/home/arumator# dmesg | tail
[26873.008861] sd 8:0:0:0: [sdb] Mode Sense: 23 00 10 00
[26873.008864] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[26873.014885] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[26873.014896] sdb: sdb1
[26873.037861] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[26873.037868] sd 8:0:0:0: [sdb] Attached SCSI disk
[26873.557114] UDF-fs: Partition marked readonly; forcing readonly mount
[26873.559232] UDF-fs INFO UDF: Mounting volume 'WD SmartWare', timestamp 2009/11/13 20:34 (1f10)
[37695.928682] FAT: invalid media value (0xb9)
[37695.928687] VFS: Can't find a valid FAT filesystem on dev loop0.
# 5  
Old 10-31-2010
try this
losetup -o32256 /dev/loop0 /media/250189482C661005/recovery_image.img 
mount -t vfat /dev/loop0 /mnt

# 6  
Old 10-31-2010
that also gave back the same dmesg | tail error.

it still diddnt see the filesystem. any ideas or should I wait and try making a image with a different tool?
# 7  
Old 10-31-2010
Originally Posted by old noob
I need to mount the image sorry if i wasn't clear.
How did you create this image? Is it one big image with all the partitions in it, or separate images for each partition?

Previous Thread | Next Thread
Test Your Knowledge in Computers #440
Difficulty: Medium
The term "GPU" was coined by Nvidia in 1994.
True or False?

8 More Discussions You Might Find Interesting

1. Solaris

Need to Clone Solaris OS to another disk

Hi, I am trying to clone the hard disk image of Solaris OS on one disk to another disk. After some googling I found that there is a command "dd" to achieve this. However there is a condition to use the dd command, that the disk geometry of both the disks (source and target disks) should... (5 Replies)
Discussion started by: rajujayanthy
5 Replies

2. UNIX for Advanced & Expert Users

Faster dd for disk clone

Guys can anyone tell how can we do faster disk cloning Below i found in google 1. dd if=/dev/sda of=/dev/sdb bs=4096 conv=noerror,sync So adding "conv=noerror,sync " makes it faster looks against not adding it 2. Enable write cache activated (hdparm -W1 /dev/sda) then run dd .. ... (2 Replies)
Discussion started by: heman96
2 Replies

3. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

4. SCO

Hard disk clone of OpenServer 5.0.0 didn't work, why?

Continuing saga of working on making a retail store more robust by creating a backup clone of the main server, a 1995 era :eek: PC running SCO OpenServer 5.0.0b and a discontinued Point of Sales (POS) software system. I have a PC of the same make and model. The CPU runs faster and it has a... (5 Replies)
Discussion started by: jgt10
5 Replies

5. SCO

Clone hard disk using Ghost

Hi. We tried cloning a SCO Unix hard disk using Norton Ghost. However, the new cloned hard disk encounter booting problem. What possibly go wrong? (1 Reply)
Discussion started by: Mizan
1 Replies

6. Filesystems, Disks and Memory

clone disk

Disk cloning I had an external SCSI master disk that I used to clone to an identical external SCSI disk because the other SCSI disk would become corrupted. My original Master became corrupted so I used one of the other to good disk to copy back to the master. Unfortunately the new master needs... (1 Reply)
Discussion started by: stamperr
1 Replies

7. Solaris

Clone disk for Sun Blade 2000

Hai ......... my name Rio, I want to clone my harddisk at Sun Balade 2000 server with Solaris 8 OS, my question is : a. what kind method for making backup or clonning disk ? b. what method more easier , quick but still reliable ? c. how to proceed it ? Thanks (1 Reply)
Discussion started by: rioria
1 Replies

8. UNIX Desktop Questions & Answers

How do I clone Solaris 7 disk

could anyone give me a general idea of how i may clone a 2 Gig disk running Solaris 7 on it to another disk of the same size? currently, this system only has one disk in it though. i do have the ability to hook up another disk via SCSI. i have been told i need to boot to "miniroot" to run... (9 Replies)
Discussion started by: obosha
9 Replies

Featured Tech Videos