Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] virtual cdroms in linux Nick Smith <nick.smith79@×××××.com>