Gentoo Archives: gentoo-user

From: Nick Smith <nick.smith79@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] virtual cdroms in linux
Date: Wed, 01 Mar 2006 17:08:44
Message-Id: bba6100b0603010902x378c204et8db21e867020d64d@mail.gmail.com
In Reply to: Re: [gentoo-user] virtual cdroms in linux by Heiko Wundram
1 On 3/1/06, Heiko Wundram <me+gentoo-user@×××××××××.org> wrote:
2 > Am Mittwoch, 1. März 2006 17:27 schrieb Nick Smith:
3 > > wouldnt that be the same as just telling vmware in the software itself
4 > > to use the that iso image? i cant use vmware's virtual cdrom for this
5 > > project, it gives me errors on boot, i need to find a way to have it
6 > > mounted some other way like daemontools for windows. i have tried
7 > > just mounting the iso as a cdrom in folder /media/cdrom and other
8 > > places, but vmware complains that you cant use a folder like that. so
9 > > im kinda out of ideas. can it even be done?
10 >
11 > Yes. Basically that's what mount -o loop does internally before mounting it to
12 > a filesystem; you just have to set up the loop device separately.
13 >
14 > For info on that, do a man losetup, basically what you need is:
15 >
16 > losetup /dev/loop0 myimage.iso
17 >
18 > and tell VMWare to use that loop device as a CD-ROM block device.
19 >
20 > YMMV though, as a true CD-ROM block device supports IOCTLs which the loop
21 > device can't/doesn't.
22 >
23 > --
24 > --- Heiko.
25 >
26 > --
27 > gentoo-user@g.o mailing list
28 >
29 >
30 vmware tells me that /dev/loop1 exsists but does not appear to be a
31 cdrom device, is there something else i have to do?
32
33 --
34 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] virtual cdroms in linux Heiko Wundram <me+gentoo-user@×××××××××.org>