LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-16-2003, 01:22 AM   #1
DrLandluver
LQ Newbie
 
Registered: Jun 2003
Location: Omaha, Nebraska
Distribution: SuSE 8.2 Pro
Posts: 12

Rep: Reputation: 0
Mounting an iso as a virtual cd drive


I am trying to mount an iso that I have, so that it will act like a virtual cd drive. I have tried the mount command, but I do not know how to make wine think that this is a cd drive. Thanks in advance.

Dr. Landluver

p.s., I am using transgaming's winex 3.1
 
Old 07-16-2003, 04:06 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
well the aproach is really simple
mount the iso using loop
like this
mount -o loop <where you want to mount > <your iso image>
example
mount -o loop /mnt/tmp /cdfile.iso
there is no need for file type as mount distinguishes file type easily.
Now from wine browse to /mnt/tmp from the drive that you have used to map / (root)

Last edited by rch; 07-16-2003 at 04:08 AM.
 
Old 07-16-2003, 08:41 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
I have put several ISO files into my fstab so that they behave just like local discs:
/usr/share/isos/Mandrake/9.1/4-CD/Mandrake-9.1-Install-CD1.i586.iso /mnt/install-cds/Disc1 auto noauto,users,loop 0 0
Now, anything that tries to access /mnt/install-cds/Disc1 as a CD device, will be pleasently surprised!
 
Old 07-16-2003, 08:59 PM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
WOW mounting an Iso is NICE this is so great I was using the old ways with mkisofs, now I'll use this method.

Linux is really too good I discover new things everyday
 
Old 09-08-2003, 10:16 AM   #5
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
Unhappy Why won't my .iso mount?

I tried this command :

mount -o loop /mnt/cdrom2 ~me/downloads/cdrom.iso

but it didn't work. It didn't recognise the filesystem type.
This is a perfectly good .iso file, i have used it on other computers. Other .iso files will mount with no problem. I was wondering if anyone else had had the same problem!!!



I also tried switching the order of the commands, but this didn't help much either

Last edited by fuzzyworm; 09-08-2003 at 10:21 AM.
 
Old 09-08-2003, 06:05 PM   #6
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
type "mount --help"
mount -o ~me/downloads/cdrom.iso /mnt/cdrom2

and if this iso doesn't mount, it is probably not a true "iso", I mean, some (dumb) people will rip their cd using some progs that create an "iso" file that's not a real iso (1 to 1 copy). Most burner can probably handle it anyways, but linux will not be able to mount it, most of time.
 
Old 09-09-2003, 10:00 AM   #7
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
Smile Thankyou

Thanks very much, I will try that as soon as I can. I used WinISO to make the file, so i don't think that will be the problem though.

Anyway, thanks for the help
 
Old 09-09-2003, 10:16 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Code:
mount -o ~me/downloads/cdrom.iso /mnt/cdrom2
nope. you want this....
Code:
mount -o loop ~/downloads/cdrom.iso /mnt/cdrom
 
Old 09-09-2003, 10:23 AM   #9
howzat
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Rep: Reputation: 0
hi

will this method work for "live cd's" such as knoppix 3.2? and can i then put them in LILO as a boot option?
 
Old 09-10-2003, 01:10 AM   #10
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by howzat
hi

will this method work for "live cd's" such as knoppix 3.2? and can i then put them in LILO as a boot option?
Well I think that knoppix uses the xfs file system ,so you better check whether your kernel supports the filesystem or not.
mount -t xfs -o loop FILENAME <mount point> is the format.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 05:40 PM
Trying to install Suse9.2: Have iso on hard drive..now what? When mounting, loop eror CrewXp SUSE / openSUSE 6 04-07-2005 04:07 PM
Virtual PC and Linux CD-Rom iso e-regular Linux - Software 2 09-29-2003 09:28 PM
Mounting an .iso as CD-rom drive Mega Man X Linux - Software 23 09-28-2003 04:52 PM
having problems when mounting an iso on the hard drive k0ljat Linux - Software 2 05-17-2003 02:08 AM

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

All times are GMT -5. The time now is 02:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration