public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Heiko Wundram <me+gentoo-user@modelnine.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] virtual cdroms in linux
Date: Wed, 1 Mar 2006 17:53:30 +0100	[thread overview]
Message-ID: <200603011753.30264.me+gentoo-user@modelnine.org> (raw)
In-Reply-To: <bba6100b0603010827u59349ca4id2350b6969ca0eaa@mail.gmail.com>

Am Mittwoch, 1. März 2006 17:27 schrieb Nick Smith:
> wouldnt that be the same as just telling vmware in the software itself
> to use the that iso image? i cant use vmware's virtual cdrom for this
> project, it gives me errors on boot, i need to find a way to have it
> mounted some other way like daemontools for windows.  i have tried
> just mounting the iso as a cdrom in folder /media/cdrom and other
> places, but vmware complains that you cant use a folder like that. so
> im kinda out of ideas.  can it even be done?

Yes. Basically that's what mount -o loop does internally before mounting it to 
a filesystem; you just have to set up the loop device separately.

For info on that, do a man losetup, basically what you need is:

losetup /dev/loop0 myimage.iso

and tell VMWare to use that loop device as a CD-ROM block device.

YMMV though, as a true CD-ROM block device supports IOCTLs which the loop 
device can't/doesn't.

-- 
--- Heiko.

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-03-01 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 15:16 [gentoo-user] virtual cdroms in linux Nick Smith
2006-03-01 16:16 ` Uwe Klosa
2006-03-01 16:27   ` Nick Smith
2006-03-01 16:53     ` Heiko Wundram [this message]
2006-03-01 17:02       ` Nick Smith
2006-03-01 17:55         ` Heiko Wundram
2006-03-01 18:09           ` Nick Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200603011753.30264.me+gentoo-user@modelnine.org \
    --to=me+gentoo-user@modelnine.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox