Grub2 boot vhd file

Firesam ubuntu at e17th.com
Tue Aug 9 20:51:23 UTC 2011


I know that in ubuntu in order to edit the grub menu options you need to
go to the grub.d directory and add it there. I can add custom menus but
I am trying to get to boot a vhd file and I am not sure of the syntax.
Did anyone here try such a thing that can point me in the right
direction?

This is what I tried:

menuentry "VHD LinuxMint" {
	recordfail
	savedefault
	set gfxpayload=$linux_gfx_mode
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos5)'
	linux /boot/vmlinuz-2.6.38-10-generic
root=UUID=b7ddc8ff-504c-42d6-a049-54ff0168f1ea vloop=/vhd/linuxmint.vhd
quiet splash
	initrd /boot/initrd.img-2.6.38-10-generic-vboot
}







More information about the ubuntu-users mailing list