Results 1 to 8 of 8

Thread: Possible to temp boot a VM from an ISO or DVD?

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    46

    Possible to temp boot a VM from an ISO or DVD?

    Running SLES11sp3: only instructions I can find related to this all apply to SLES10 which is different in many ways and involves editing all kinds of files.

    A coworker claimed he knows how to get an established VM to reboot from an ISO (of course he's out this week), but the only likely thing I see in Virt-Manager under Boot Options is the "Direct boot to kernel" section.
    Would I mount the iso file to a location on the host and use these fields to point to the relevant subdirectories? If I cleared these fields and rebooted would it reboot normally again? There is so little information but it seems to be for install only. I'm not going to attempt this without knowing.

  2. Re: Possible to temp boot a VM from an ISO or DVD?

    Hi
    In the VM tools/GUI you can mount the iso image as a cd/dvd. Set this to boot, then in the grub menu presented there is an option to boot from the hard drive, so select that one.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    46

    Re: Possible to temp boot a VM from an ISO or DVD?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    In the VM tools/GUI you can mount the iso image as a cd/dvd. Set this to boot, then in the grub menu presented there is an option to boot from the hard drive, so select that one.
    I had already added the ISO as a DVD, but I see no such option in Virt-manager to set this to boot.

    The only options under Xen CDROM2 are:
    Readonly (checked)
    Shareable

    Under Advanced:
    Serial number
    Storage format

    Performance Options:
    Cache Mode
    IO mode

    That's all there is.

  4. Re: Possible to temp boot a VM from an ISO or DVD?

    Hi
    You should be able to set the boot order, if so set the iso image to be first rather than the vm disk.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    46

    Re: Possible to temp boot a VM from an ISO or DVD?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You should be able to set the boot order, if so set the iso image to be first rather than the vm disk.
    In SLES11sp3? What VM tools are you referring to? I think I failed to mention that this is Xen, not VMWare or KVM.

  6. Re: Possible to temp boot a VM from an ISO or DVD?

    Quote Originally Posted by lpphiggp View Post
    In SLES11sp3? What VM tools are you referring to? I think I failed to mention that this is Xen, not VMWare or KVM.
    Hi
    Ahh, OK. You should be able to set a boot order/option in the config?
    http://wiki.xenproject.org/wiki/Sett...rder_for_domUs
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    46

    Re: Possible to temp boot a VM from an ISO or DVD?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Ahh, OK. You should be able to set a boot order/option in the config?
    http://wiki.xenproject.org/wiki/Sett...rder_for_domUs
    In the virt-manager boot options or the hosts's boot files?
    I wondered about this (see attachment), which seems similar. From what I've googled though, it seems to be for install only.

    I did find if exported the config (xm list --long "domU" > "domU.conf" and looked under devices, there is a Boot option: currently, the disk file itself is set to "1", the CDROMs are set to "0", wondering if I make CDROM2 (which is the install iso) "1" and made the disk "0" if that would do it. I'd have to undo that though before the restart.
    Attached Images Attached Images
    Last edited by lpphiggp; 12-Jan-2016 at 16:08.

  8. Re: Possible to temp boot a VM from an ISO or DVD?

    Hi
    Sounds like worth a try, but the install iso also has a rescue boot option as well as booting from the hard drive.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •