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