Hi Matt,
Ok the following is what I do get/
grub> linux (hd0,msdos1)/vmlinuz-2.6.32-431.el6.x86_64 ro
root=/dev/mapper/vg_server-lv_root rd_LVM_LV=vg_server/lv_swap rd_NO_L
UKS LANG=en_US.UTF-8 rd_NO_MD KEYTABLE=us SYSFONT=latarcyrheb-sun16
rd_LVM_LV=vg_server/lv_root console=ttyS0 rd_NO_DM
grub> initrd (hd0,msdos1)/initramfs-2.6.32-431.el6.x86_64.img
grub> boot
vps#
That looks good. The "boot" command doesn't actually start the VM - it
finalizes setting register state so that usr/sbin/bhyve can then run it.
The bhyve.org script hides that from you.
I am not sure what I am doing wrong exactly
/usr/local/sbin/grub-bhyve -r hd0 -m vm/vm0/device.map -M 1024 vm0
grub> ls
(cd0) (hd0) (hd0,msdos2) (hd0,msdos1) (host) (lvm/vg_server-lv_swap)
(lvm/vg_server-lv_home) (lvm/vg_server-lv_root)
grub>
Using "-r hd0,msdos1" will allow "ls /" to work, though the
(hd0,msdos1) qualifier in the first example does the right thing.
later,
Peter.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to
"freebsd-virtualization-unsubscr...@freebsd.org"