Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am having troubles on mounting my ntfs hard drive on linux. I am running ophcrack live CD. fdisk shows me the hard drive I have installed on my computer

fdisk -l

Disk /dev/hdc: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/hdc1   *           1        3647    29294496   7 HPFS/NTFS

but I dont have that device on my /dev directory so I can not mount it

ls /dev/hd*
/dev/hda   /dev/hda4  /dev/hda8  /dev/hdb2  /dev/hdb6  /dev/hdc
/dev/hda1  /dev/hda5  /dev/hda9  /dev/hdb3  /dev/hdb7  /dev/hdd
/dev/hda2  /dev/hda6  /dev/hdb   /dev/hdb4  /dev/hdb8
/dev/hda3  /dev/hda7  /dev/hdb1  /dev/hdb5  /dev/hdb9

What could be going on_

share|improve this question
    
/* Requested tags: linux partitions */ –  Vi. Mar 19 '10 at 23:45
    
@Vi: Your wish is my command –  Josh Mar 19 '10 at 23:50
add comment

2 Answers

You may create this node manually: mknod /dev/hdc1 b 22 1

Then you should check if can be read cat /dev/hdc1 > /dev/null

Either kernel can't find a partition, or udev doesn't create this node automatically. udev is responsible of creation of this files

If manual creation of /dev/hdc1 will fail, you can mount the partition manually specifying the offset:

losetup /dev/loop0 /dev/hdc -o $((63*512))
mount /dev/loop0 /mnt/hdc1

You should use fdisk -l -u /dev/hdc to rectify 63.

share|improve this answer
    
what is "b 22 1" for? How do I know which numbers to use there? –  Cam May 3 '13 at 5:10
    
Several methods apply: 1. Remember which number /dev/hd* typically have; 2. Look at /sys/block/*/dev and into /proc/partitions. –  Vi. May 3 '13 at 8:57
add comment

The first method Vi suggested worked for me. Note that cat /dev/hdc1 > /dev/null will no produce any output but you can check it is working watching the green bars (down and right) in the desktop bottom panel. Also you don't need to wait till the end, because it will take a while, simply close the terminal and that will stop cat. Proceed to mount hdc1.

I didn't tried the second method because I didn't need it.

Also remember, if you have two computers, you can copy (/hdxX/)Windows/System32/Config (where encrypted SAM file is) to a pendrive, using Ophcrak live or some other Linux live CD, and then crack the passwords in your other computer using the installed version of ophcrack.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.