Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Manually mounting USB drive (SLED10.2)

Posted by: caznetworks Sep 27 2008, 04:40 PM

Hi,

I want to create a hard drive image for my laptop. So, I booted into single-user mode, logged in, and plugged in an external hard drive, intending to unmount / and dd it. I then did modprobe usb_storage and got, among other things (no errors):
sd 2:0:0:0: Attached scsi disk sdb

And yet, there is no /dev/sdb, so I can't mount the drive:S. Am I forgetting something really obvious here? The relevant device nodes should be created automatically, right?

Thanks,

Alex

Posted by: michaelk Sep 28 2008, 07:26 AM

Make sure scsi_mod and sd_mod modules are also being loaded. Have you looked at the output of dmesg. You should see some messages like the following in addition to the one you posted.
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1

You will not be able to unmount /. There are many files that are opened and system is constantly writing to log files etc. I would suggest using a liveCD. dd will copy everything including empty sectors.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)