Re: How to compile x86_64 NetBSD Xen domU PV kernel and userland

2019-08-21 Thread Greg Troxel
"J. Lewis Muir" writes: > but based on your reply, I found XEN3_DOMU in > > /usr/src/sys/arch/amd64/conf > > So, for using build.sh, I just specify XEN3_DOMU for the kernel name > instead of GENERIC? In other words, instead of "build.sh distribution" will build all the kernels that are part

Re: How to compile x86_64 NetBSD Xen domU PV kernel and userland

2019-08-21 Thread J. Lewis Muir
On 08/21, Martin Husemann wrote: > On Wed, Aug 21, 2019 at 01:34:12PM -0500, J. Lewis Muir wrote: > > On an amd64 NetBSD 8 stable kernel and userland system (i.e., tracking > > the netbsd-8 branch), how do I compile a NetBSD 8 stable kernel and > > userland to run on an x86_64 Xen domU in PV mode?

Re: Write an install image to a flash drive?

2019-08-21 Thread Bob Bernstein
On Wed, Aug 21, 2019 at 06:09:28PM +0200, Martin Husemann wrote: > Indeed, that image runs with the root file system on the USB device. To my delight I learned that I can edit the image "in place," as it were, on the flash drive. Thus I put my boot.cfg on it, which nicely ushers me past the

How to compile x86_64 NetBSD Xen domU PV kernel and userland

2019-08-21 Thread J. Lewis Muir
Hello! On an amd64 NetBSD 8 stable kernel and userland system (i.e., tracking the netbsd-8 branch), how do I compile a NetBSD 8 stable kernel and userland to run on an x86_64 Xen domU in PV mode? I couldn't find documentation anywhere, but if I missed it, I'd be grateful to be pointed to it.

Re: How to compile x86_64 NetBSD Xen domU PV kernel and userland

2019-08-21 Thread Martin Husemann
On Wed, Aug 21, 2019 at 01:34:12PM -0500, J. Lewis Muir wrote: > Hello! > > On an amd64 NetBSD 8 stable kernel and userland system (i.e., tracking > the netbsd-8 branch), how do I compile a NetBSD 8 stable kernel and > userland to run on an x86_64 Xen domU in PV mode? Nothing special about

Re: Write an install image to a flash drive?

2019-08-21 Thread Michael van Elst
jmitc...@bigjar.com (Jason Mitchell) writes: >Also, is there an easy way to remove the first 2048 sectors from the image so >the FFS part could be mounted using a vnd device? Or would this work without >making changes? The image includes an MBR and NetBSD will create a default disklabel for

Re: Write an install image to a flash drive?

2019-08-21 Thread Greg Troxel
Bob Bernstein writes: > I want to use a flash drive instead of a CD to upgrade from an > old 'current' to our latest. This is being done on an ancient > emachine amd64: > > NetBSD nebby 8.99.35 NetBSD 8.99.35 (GENERIC) #0: Wed Mar 13 06:27:34 UTC > 2019

Re: Write an install image to a flash drive?

2019-08-21 Thread reed
On Tue, 20 Aug 2019, Bob Bernstein wrote: > I want to use a flash drive instead of a CD to upgrade from an > old 'current' to our latest. This is being done on an ancient > emachine amd64: "ancient" In my experience some old systems just won't boot from USB flash disks well. In some cases, I

Re: Write an install image to a flash drive?

2019-08-21 Thread Bob Bernstein
YO YO YO Jeremy! (aka The Hardest-Working Man in NetBSD-land! ) Long time, long time... My upgrade is successful: NetBSD nebby 9.0_BETA NetBSD 9.0_BETA (GENERIC) #0: Sun Aug 18 14:36:49 UTC 2019 mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 On Wed, Aug 21, 2019 at

Re: Write an install image to a flash drive?

2019-08-21 Thread Martin Husemann
On Wed, Aug 21, 2019 at 11:44:32AM -0400, Bob Bernstein wrote: > One interesting turn running sysinst: I tried "unmounted > fs" to access the flash drive with the install img only to learn > that it was already mounted and therefore "busy." I got what I > needed selecting "Local fs" at /mnt.