how to boot from a virtual machines disk
I've installed a virtual machine on my computer. and I want to boot from its hard disk(which is on my /home/xen/domains/test1/disk.img). what I need is create a grub entry for this. please tell me the steps
|
By /home/xen/domains/test1/disk.img I may assume you are using Xen for Virtualization.
If you have already installed the VM, then boot it by pressing POWERON button if you are using Virtual machine manager. I could not really understand what is your difficulty in switching on the VM ? You need to boot through xen kernel when your machine boots. Please try to give more details about your problem. By the by which distro are you using ? |
Quote:
|
Since I am confused a bit here, lemme ask this.
Are you trying to get the img to boot when the computer powers on? |
Quote:
|
Quote:
|
ISOLinux offers some the ability to boot from a Linux hard drive image. I am not sure if you could manipulate it to boot your VM image but i think it is about your best shot.
|
Quote:
|
theoretically possible but probably not feasable, though if the /boot partition and initrd were on a real partition maybe possible in theory if you could make linux think the disk image were a block device but probably would require far more work then it's worth to accomplish if even possible
|
Might look at grubfdos. I know it can boot iso's on a usb so I guess it could boot a similar image on a hard drive.
|
how ubuntu boots inside windows
Ok. Do any one know how ubuntu boots when it is installed inside windows. If you have installed like that please post the menu.lst or grub.cfg so we can see how it is done in grub.
|
Quote:
|
All times are GMT -5. The time now is 04:58 PM. |