LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2004, 10:53 AM   #1
brownb2
Member
 
Registered: Mar 2004
Posts: 47

Rep: Reputation: 15
How do I mount a windows (vfat) disk image under Linux?


I've created a new disk image using dd and formatted it to Fat 32 using qemu and a dos boot disk.
I want to mount this disk under /mnt/tempImage so I can add files to the image

I've tried

mount -o loop -t vfat /opt/qemu/tempImage /mnt/tempImage

but it complains:

mount: wrong fs type, bad option, bad superblock on /dev/loop1,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

Please help!
 
Old 06-19-2004, 01:35 PM   #2
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
try it without the -o switch
 
Old 06-19-2004, 02:47 PM   #3
brownb2
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
I found the answer was to offset the mount command because the image was partitioned (i.e. fdisked) and the filesystem further into the image:
mount -o loop,offset=32256 /opt/qemu/tempImage /mnt/tempImage
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount an image as virtual disk KnottyBoy Linux - Software 1 10-19-2005 04:24 AM
Can I burn disk image to a cd using my ibook and use it on a windows/linux machine? markhod Linux - General 1 03-15-2005 06:23 AM
Users cannot mount or access mounted windows vfat partitions (Distro: Gentoo Linux) kamel Linux - Software 6 05-15-2004 06:08 PM
windows boot disk image nef Linux - Software 2 09-29-2003 12:47 AM
How do i mount Vfat file in Linux rdaves@earthlink.net Linux - Newbie 3 05-21-2001 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration