Re: troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve

2015-07-29 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Tue, Jul 28, 2015 at 12:36 -0700:
> I'm trying to run either Net or Open for some testing, and I'm not
> having luck.
> 
> After first figuring out that the README on github doesn't include that
> you need to include the boot device to load the files from, I finally
> got kopenbsd and knetbsd loading, but when I run boot, it just drops
> me to a prompt w/o doing anything.

With a little bit of help (thanks @nahannisys), I managed to fix my
issues... I put up a blog entry at:
http://blog.funkthat.com/2015/07/installing-and-running-netbsd-and.html

that describes how I did both an install and boot of both NetBSD and
OpenBSD...

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
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"


Re: troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve

2015-07-28 Thread Peter Grehan

Hi John-Mark,


After first figuring out that the README on github doesn't include that
you need to include the boot device to load the files from


 You can pass "-r " on the grub2 command line to specify what 
the default device should be (it is "(host)" if not overridden).


  e.g. for your netbsd command-line, this would be

  # grub-bhyve -r cd0 -m dev.map nbsd615


I finally got kopenbsd and knetbsd loading, but when I run boot, it just drops
me to a prompt w/o doing anything.


 This is the same behaviour as bhyveload. You then need to invoke bhyve 
after the loader to start the VM.



So, kernels are loading fine, just things crash when trying to run
them...  FreeBSD VM's run fine...


 What's the symptom of the crash ?

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"


troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve

2015-07-28 Thread John-Mark Gurney
I'm trying to run either Net or Open for some testing, and I'm not
having luck.

After first figuring out that the README on github doesn't include that
you need to include the boot device to load the files from, I finally
got kopenbsd and knetbsd loading, but when I run boot, it just drops
me to a prompt w/o doing anything.

For NetBSD...
[dev.map]
(cd0) NetBSD-6.1.5-amd64.iso
(hd1) netbsd.img

grub-bhyve command:
# grub-bhyve -m dev.map nbsd615


   GNU GRUB  version 2.00

   Minimal BASH-like line editing is supported. For the first word, TAB lists 
possible
   command completions. Anywhere else TAB lists possible device or file 
completions.


grub> 
grub> knetbsd -h -r cd0a (cd0)/netbsd
grub> boot

# 

For OpenBSD...
# cat dev.map
(cd0) install57.iso
(hd1) openbsd.img
# grub-bhyve -m dev.map obsd57


   GNU GRUB  version 2.00

   Minimal BASH-like line editing is supported. For the first word, TAB lists 
possible
   command completions. Anywhere else TAB lists possible device or file 
completions.


grub> kopenbsd -h com0 -r sd0a (cd0)/5.7/amd64/bsd
grub> boot

#

So, kernels are loading fine, just things crash when trying to run
them...  FreeBSD VM's run fine...

FreeBSD carbon.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r282774: Mon 
May 11 11:41:38 PDT 2015 
j...@carbon.funkthat.com:/a/obj/a/home/jmg/FreeBSD.svn/HEAD/sys/GENERIC  amd64

# pkg info | grep bhyve
grub2-bhyve-0.30_1 Grub-emu loader for bhyve

CPU: AMD A10-5700 APU with Radeon(tm) HD Graphics(3393.90-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x610f01  Family=0x15  Model=0x10  Stepping=1
  
Features=0x178bfbff
  
Features2=0x3e98320b
  AMD Features=0x2e500800
  AMD 
Features2=0x1ebbfff
  Structured Extended Features=0x8
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
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"