View Single Post
Old 08-25-2012, 12:15 PM   #23
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by dicalp View Post
is this correct? i have created the directory image1 in /private/tmp

[root] mount -t ext3 kt_5.1.2-mmcblk0p1-3g.img image1
mount: exec /System/Library/Filesystems/ext3.fs/Contents/Resources/mount_ext3 for /private/tmp/image1: No such file or directory
A strange message, might not be telling the full story.

Depending on your distribution, its version and its age . . .
It may be as simple as:

My mount point here: /mnt/k321
The image in the current directory: k321.sfs
Code:
sudo mount k321.sfs /mnt/k321
Reading the prompt shown with your code, I presume that you where doing that as "root" - so my sudo above isn't needed.

"mount" **should** auto-detect that it is a file and force the '-o loop' option.
"mount" **should** auto-detect the file type, you shouldn't need the '-t ext3' .

BUT that may well vary with the degree of automation in your distribution.

so (as root in above)
mount -o loop kt_5.1.2-mmcblk0p1-3g.img /private/tmp/image1
Should do the job on any distribution.
knc1 is offline   Reply With Quote