5 pts.
 Mounting HDD readonly in 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
ASKED: May 7, 2010  7:35 PM
UPDATED: May 10, 2010  1:27 PM

Answer Wiki:
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
Last Wiki Answer Submitted:  May 10, 2010  1:27 pm  by  petkoa   3,120 pts.
All Answer Wiki Contributors:  petkoa   3,120 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _