Booting a disk image with GRUB in BHyve?
Craig Rodrigues
rodrigc at FreeBSD.org
Tue Dec 24 06:03:50 UTC 2013
Hi,
I tried the following:
(1) Downloaded SmartOS USB image from:
http://wiki.smartos.org/display/DOC/Download+SmartOS
(2) Uncompressed the bz2 file.
(3) Ran "file" on the binary:
# file smartos-latest-USB.img
smartos-latest-USB.img: x86 boot sector; GRand Unified Bootloader, stage1
version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1:
ID=0xc, starthead 1, startsector 63, 3903732 sectors, extended partition
table (last)\011, code offset 0x48
(4) Tried vmrun.sh:
sh /usr/share/examples/bhyve/vmrun.sh -d ./smartos-latest-USB.img -m 4G
smartos_vm1
I got this error:
=================================================
Launching virtual machine "smartos_vm1" ...
Consoles: userboot
FreeBSD/amd64 User boot, Revision 1.1
(rodrigc at pcbsd-4708, Mon Oct 14 14:36:53 PDT 2013)
\
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
OK
====================================================
How can I boot something which uses GRUB bootloader in BHyve?
Thanks.
--
More information about the freebsd-virtualization
mailing list