On Sun, 19 Oct 2014, John Nemeth wrote:
} * I have to load the kernel from an external partition using grub, and } thus have to edit grub's menu.lst config file! } } * The booted kernel is independent of what is in /netbsd, so I currently } have to manually gunzip(1) the kernel on the external partition and } put the results in /netbsd Why would you be using grub when you're keeping the kernel outside the NetBSD partition. All you need to do is add: kernel = "<path to kernel>" to your domU config. xentools is fully capable of loading a NetBSD kernel, including one that is gzipped. An example from one of my config files is: kernel = "/usr/pkg/etc/xen/kernels/netbsd-7-XEN3_DOMU.gz" This is not something that should be dependent on your dom0 as xentools is supplied by the Xen project.
Most likely, I don't know enough (approx zero) of the XEN environment to get it right. I'm just following the explicit instructions from my DOM0 provider.
As a quick summary, I initially boot up a "common" DOMU which runs some variant of Linux. A customer-specific very small ext2fs partition is mounted (based on my login information) on which I put my grub menu.lst file and the kernel(s) I need to boot. This partition is accessible after boot, so once I get things up and running I don't have to touch the Linux world again. (Unless, of course, I manage to completely destroy my NetBSD system, and thus would need to reinstall it from scratch.)
------------------------------------------------------------------------- | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -------------------------------------------------------------------------