Mounting HDD readonly in Ubuntu 10.04

5 pts.
Tags:
HDD failed
Linux
Mounting HDD
Ubuntu
Ubuntu 10.04
I'm trying to image the internal sata HDD of my pc with Ubuntu 10.04 Live CD "fdisk -l" result:
Device    Boot      Start    End     Blocks  Id  System
/dev/sda1               1   1274   10233373  27  Unknown
/dev/sda2   *        1275  20111  151303168   6  FAT16
/dev/sda3           20111  38914  151032832   7  HPFS/NTFS
Have tried:
mount /dev/sda2 /media/windows -t fat -o ro
mount /dev/sda2 /media/windows -t vfat -o ro
mount /dev/sda3 /media/windows -t ntfs -o ro
mount /dev/sda2 /media/windows -o ro 
but I just get 2 pages of Help pages for the Mount command. What am I doing wrong?

Software/Hardware used:
ubuntu 10.04, Acer F5100, SATA HDD 320GB

Answer Wiki

Thanks. We'll let you know when a new response is added.

Just incorrect sequence of the parameters:

mount [-t fs-type] [-o option,option...] dev mountpoint

So,

mount -t vfat -o ro /dev/sda2 /media/windows

and

mount -t ntfs -o ro /dev/sda3 /media/windows

will most probably work. Also, type could be omitted – mount is quite capable to determine fs-type.

Good luck,

Petko

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following