Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Booting Domain0 - Help



I'm experiencing a problem trying to boot XEN with NetBSD 3.0 in domain 0. The 
boot of XEN completes and NetBSD starts. It goes through initializes most 
(all?) devices and then prompts for the root device. No hard drives are 
offered as choices.

The computer has two SCSI disks; root is on sd0a.

domain0$ ls -1 /
altroot
bin
boot
dev
etc
export
grub
home
kern
lib
libexec
mnt
netbsd
netbsd-GENERIC.gz
netbsd-XEN0.gz
onetbsd
proc
rescue
root
sbin
stand
tmp
usr
var
xen.gz

domain0# grub-install hd0
Installation finished. No error reported.
This is the contents of the device map /grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/rfd0a
(hd0)   /dev/rsd0d
(hd1)   /dev/rsd1d

domain0$ cat /grub/menu.lst
# Grub config file for NetBSD/xen. Copy as /grub/menu.lst and run
# grub-install /dev/rwd0d (assuming your boot device is wd0).
default=2
fallback=0
# boot after 10s the default entry if the user didn't hit keyboard
timeout=10
# use vga
console
# Load the NetBSD bootloader, letting it load the NetBSD/i386 kernel.
title NetBSD chain
  root        (hd0,a)
  chainloader +1
# Regular NetBSD - does not get boot options
title NetBSD 3.0
  root (hd0,a)
  kernel --type=netbsd /netbsd
# Xen/NetBSD with 512 MB
title Xen 2.0 / NetBSD (hda0, vga)
  root(hd0,a)
  kernel (hd0,a)/xen.gz dom0_mem=524288
  module (hd0,a)/netbsd-XEN0.gz root=/dev/hda1 ro console=pc
## end of grub config file.






-- 
John R. Shannon
john%johnrshannon.com@localhost
john.r.shannon%saic.com@localhost
john.r.shannon%us.army.mil@localhost
shannonjr%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index