Since I have not personally looked into doing this I have no idea if the
following idea will work or not (it is on my personal todo list for the
next week or so though) and that is to create a new HyperV subclass in
PetiteCloud for bhyve-grub (you should only need to override loadVm(...)
and there only to put in a new loader name)... the above assumes that
bhyve-grub is close enough to bhyveload to not need to much more and that
once loaded normal bhyve is called


On Tue, Jan 21, 2014 at 10:24 PM, Matt Donovan <kitchet...@gmail.com> wrote:

> Hello
> On Jan 21, 2014 8:38 PM, "Takuya ASADA" <s...@dokukino.com> wrote:
> >
> > Hmm, looks like neel@ adding ignoring unimplemented MSR access patch on
> > -CURRENT.
> > Does it means we can't use (some version of) Linux on 10.0-RELEASE?
> >
> >
>
> https://github.com/freebsd/freebsd/commit/5dab6f9ed3816204ff73fd075abfaba1ed5c7673
> >
> >
> > 2014/1/22 Takuya ASADA <s...@dokukino.com>
> >
> > > Hi,
> > >
> > > I want to know which Linux distribution is supported on BHyVe
> > > (+grub2-bhyve) in 10.0-RELEASE.
> > > I tried to these distributions, but I haven't succeeded to install any
> > > choice.
> > > On these tests, I used modified vmrun.sh script for all test, source
> code
> > > is here:
> > > https://gist.github.com/syuu1228/8552418
> > >
> > > * Fedora 20
> > > Fedora 20 has disk image for VM, I just tried to boot it from the
> image:
> > >
> > > ./linuxrun.sh -d Fedora-x86_64-20-20131211.1-sda.raw fedora
> > >
> > > grub> linux (hd1,msdos1)/boot/vmlinuz-3.11.10-301.fc20.x86_64
> > > grub> initrd (hd1,msdos1)/boot/initramfs-3.11.10-301.fc20.x86_64.img
> > > grub> boot
> > >
> > > but bhyve dies by unhandled rdmsr:
> > > [    1.676041] device-mapper: uevent: version 1.0.3
> > > [    1.676556] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26)
> > > initialised: dm-de...@redhat.com
> > > vm exit rdmsr 0xe8, cpu 0
> > >
> > > * CentOS 6.5
> > > Tried to install with following commands but no luck:
> > >
> > > ./linuxrun.sh centos
> > >
> > > grub> linux (hd0)/isolinux/vmlinuz
> > > grub> initrd (hd0)/isolinux/initrd.img
> > > grub> boot
> > >
> > > Got following error:
> > >
> > > NET: Registered protocol family 1
> > > Trying to unpack rootfs image as initramfs...
> > > Freeing initrd memory: 32610k freed
> > > Unknown WRMSR code 391, val 2000000f, cpu 0
> > >
> > > * Ubuntu 13.10
> > > Almost boot-up but couldn't mount cdrom.
> > >
> > > ./linuxrun.sh -d ubuntu.img -I ubuntu-13.10-desktop-amd64.iso ubuntu
> > >
> > > grub> linux (hd0)/casper/vmlinuz.efi
> > > grub> initrd (hd0)/casper/initrd.lz
> > > grub> boot
> > >
> > > Got following error, maybe it can prevents by passing root= argument?
> > >
> > > [    6.380384] Btrfs loaded
> > > Scanning for Btrfs filesystems
> > > done.
> > > mount: can't read '/etc/fstab': No such file or directory
> > > Begin: Running /scripts/local-bottom ... done.
> > > done.
> > > Begin: Running /scripts/init-bottom ... mount: mounting /dev on
> /root/dev
> > > failed: No such file or directory
> > > done.
> > > mount: mounting /sys on /root/sys failed: No such file or directory
> > > mount: mounting /proc on /root/proc failed: No such file or directory
> > > Target filesystem doesn't have requested /sbin/init.
> > > No init found. Try passing init= bootarg.
> > >
> > > BusyBox v1.20.2 (Ubuntu 1:1.20.0-8.1ubuntu1) built-in shell (ash)
> > > Enter 'help' for a list of built-in commands.
> > >
> > > (initramfs)
> > >
> > >
> > > Any suggestions?
> > >
> >
>
> I have gotten Centos 6.5 to boot however I used the bhyve scripts which can
> be gotten at bhyve.org. haven't tried any other currently
> _______________________________________________
> 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"
>



-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
_______________________________________________
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"

Reply via email to