SOLVED - Re: New to Bhyve -- help setting up /dev/sda1 and /dev/vda1
Peter Grehan
grehan at freebsd.org
Wed Feb 19 09:02:55 UTC 2014
Hi Rudy,
> And here is how to launch:
> bhyvectl --vm=vm1 --destroy
> grub-bhyve -r hd0 -m ./device.map -v -M 2048 vm1
> set root=(hd0,msdos1)
> linux /vmlinuz root=/dev/vda1
> initrd /initrd.img
> boot
You can avoid the command prompt by using the '-r' parameter to
specify the root device i.e.
grub-bhyve -r hd0,msdos1 -m ./device.map -M 2048 vm1
This should allow grub-bhyve to pick up the Ubuntu grub scripts
automatically.
later,
Peter.
More information about the freebsd-virtualization
mailing list