Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: virt-manager and CD drive?: msg#00115

Subject: Re: virt-manager and CD drive?
On Wed, Dec 13, 2006 at 01:37:08PM -0500, Tom Horsley wrote:
> I was impressed that I could install a fully virtual fedora guest directly 
> from the DVD
> by pointing the virt-manager wizard at the dvd drive.
> 
> I wonder though, if I have a guest OS with multiple CDs needed to install,
> will it let me swap CDs during the installation? Or do I need to arrange
> for some different source to install from?

It is possible, but not at all nice / pretty.  Basically fully virt guests
use QEMU to provide their device model. QEMU has an 'admin' or 'monitor'
console to let you poke / change the virtual devices - in particular it
lets you change the CDROM device backing file which is nice :-)

Unfortunately there are various bugs in Xen relating to the QEMU monitor,
eg you can't type in UPPERCASE letters due to an obscure bug (we've got a
fix waiting to push out to Xen in FC6 for this). Its also complicated 
because your local window manager may already have some action bound to
the keystroke used to switch into the monitor!

That aside, the proess for changing CDROM devices goes something like this:

  1. Open graphical console to guest OS in virt-manager

  2. Unmount the CDROM device in the guest OS

  3. Switch to QEMU monitor console by typing 'Ctrl+Alt+2'.

     NB, if the window manager intercepts this, use the virt-manager 
     'sticky keys' capability    "Ctrl   Ctrl   Ctrl   Alt+2"

  4. Type 'eject hdc' into the QEMU monitor console

  5. Type 'change hdc /path/to/some/image.iso' into QEMU monitor console

     NB. The path is either a ISO file or the device in host system

  6. Switch back to guest OS console by typing  'Ctrl+Alt+1' 

     NB, if the window manager intercepts this, use the virt-manager 
     'sticky keys' capability    "Ctrl   Ctrl   Ctrl   Alt+1"

  7. Mount CDROM device in guest OS

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe