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: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to