Grub2 boot vhd file



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
}




--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users