grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	 The development of GRUB 2 <grub-devel@gnu.org>
Subject: pvgrub2 able to boot netbsd
Date: Thu, 31 Oct 2013 01:43:47 +0100	[thread overview]
Message-ID: <5271A7C3.3010102@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]

x86_64-xen port available from
http://git.savannah.gnu.org/cgit/grub.git/log/?h=phcoder/newports/xen.
More specifically commit
5d30ce52f29a98ef03275426cace57ae5e66193c
is able to load netbsd kernel. It didn't find root because I have no
complete netbsd setup on disk in question, only kernel. Here is console
log (grub_platform=xen):


                             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> set
color_highlight=black/white
color_normal=white/black
feature_200_final=y
feature_all_video_module=y
feature_chainloader_bpb=y
feature_default_font_path=y
feature_menuentry_id=y
feature_menuentry_options=y
feature_nativedisk_cmd=y
feature_ntldr=y
feature_platform_search_hint=y
grub_cpu=x86_64
grub_platform=xen
lang=
locale_dir=
pager=
prefix=(memdisk)/boot/grub
root=memdisk
secondary_locale_dir=
grub> insmod part_msdos
grub> root=xen/sdb,msdos1
grub> linux /netbsd
grub> boot
[ Kernel symbol table invalid! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.25 (XEN3_DOMU) #9: Thu Oct 31 01:35:26 CET 2013
	phcoder@debian:/home/phcoder/repos/netbsd/src/sys/arch/amd64/compile/obj/XEN3_DOMU
total memory = 65536 KB
avail memory = 55292 KB
mainbus0 (root)
hypervisor0 at mainbus0: Xen version 4.3.0
vcpu0 at hypervisor0: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, id 0x306a9
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
balloon0 at xenbus0 id 0: Xen Balloon driver
balloon0: current reservation: 65536 KiB
boot device: <unknown>
root device:


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

             reply	other threads:[~2013-10-31  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31  0:43 Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-10-31  1:07 ` [Xen-devel] pvgrub2 able to boot netbsd Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5271A7C3.3010102@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).