none
Booting a Linux VHD

    Question

  • Hi

    Rather than partition my drive to install Windows 7 and Ubuntu Linux. I read up about booting a VHD if Windows 7 is installed.

    Can someone confirm whether I can create a Linux VHD, and mount this for boot and have the option with the bootloader.

    I looked at the following blog to understand how it works http://blogs.technet.com/virtualization/archive/2009/05/14/native-vhd-support-in-windows-7.aspx

    I tried to do this and followed instructions in the blog. I now seem to get a bootloader with both Windows 7 and Kubuntu but when I try to boot up Kubuntu it boots windows instead.

    I had a Kubuntu virtual machine I created in VMware workstation 7, I then used a free tool called starwind converter which allowed me to convert the VMware VMDK file into a Microsoft VHD.

    Can anyone help me on this? Is booting via VHD supported for Linux systems or is it only Windows products?

    To clarify, I'm not trying to run Linux in a VM. I'm trying to boot it in my physical machine, from a VHD.
    Wednesday, March 03, 2010 9:26 PM

Answers

All replies

  • Hi, you cannot boot Linux on VHD..

    "You can only boot a Windows 7 or Windows Server 2008 R2 VHD"


    EDIT:
    some links..:
    http://www.kulov.net/blogs/martin/2009/05/boot-from-vhd.html
    Wednesday, March 03, 2010 9:34 PM
  • Booting from VHD only works with Windows 7 and Windows Server 2008 R2 in the VHD.
     
     
     
     

    Bob Comer - Microsoft MVP Virtual Machine
    Wednesday, March 03, 2010 9:36 PM
  • Just found this thread via Google, so just a quick reply:

    Kubuntu has an option, which lets you install kubuntu from within Windows. Just start the kubuntu-DVD/ISO under Win7 and follow instructions. After installation, you have one file (your "vhd") and a Win7 bootloader entry for this kubuntu-file.

     

    EDIT: http://wubi-installer.org/

    Monday, March 22, 2010 7:35 PM
  • It's possible now, we just released a sample that can boot Ubuntu VHD on Windows/Linus host.

    1 Linux as Real Appliance

    With VBoot for Linux, you can pre-install and pre-configure Linux OS and its applications

    , then distribute the resulting virtual disk file in VHD format. The vhd can boot a real computer, with configuration and apps instantly available. This way, operating systems are truly manageable, as simple as files. We call such a Linux VHD to be a real appliance, in the sense that it boots physical computers.

    It's very easy to setup and boot a computer with a vhd file. You download the vhd file, drop it to Windows or Linux file system, then configure the boot loader, and reboot the computer.

    2 Linux as Virtual Appliance

    The exact same vhd file also runs as a virtual machine using virtualization software , such as VMLite Workstation, VirtualBox, Xen and Virtual PC and Hyper-V, etc. By default, it's optimized for VMLite Workstation.

    If VMLite Workstation is installed, you can simply double click the ubuntu-910-desktop-i386.mop file to launch the vhd as a virtual machine with VMLite Workstation.

    3 USB Boot Made Easy

    You just need to store the vhd file to usb drive, then hook the USB to different computers to boot.


    A sample Ubuntu VHD package is ready for download:

    http://www.vmlite.com/index.php/download/22-appliances (free site registration required)

    download, extract it, then double click setup.exe on Windows, reboot
    On Linux, need to configure boot loaders.

    detailed instructions:

    http://www.vmlite.com/appliances/ubuntu-910-readme.html

    screen shots:

    • Proposed as answer by TEKDesign Friday, November 26, 2010 11:00 PM
    Wednesday, April 14, 2010 4:25 PM