Re: Write an install image to a flash drive?

2019-08-26 Thread Edgar Pettijohn
On Aug 26, 2019 8:59 AM, Jason Mitchell wrote: > > On Aug 25, 2019, at 8:26 AM, Rhialto wrote: > > >>  | I _can't imagine_ how many stupid things I just did, but could > >>  | someone please tell me how to get that install image onto the > >>  | flash drive in a form that will boot? > >> >

Re: Write an install image to a flash drive?

2019-08-26 Thread Jason Mitchell
On Aug 25, 2019, at 8:26 AM, Rhialto wrote: >> | I _can't imagine_ how many stupid things I just did, but could >> | someone please tell me how to get that install image onto the >> | flash drive in a form that will boot? >> >> You cannot. "That" image is in ISO format, which have a

Re: Write an install image to a flash drive?

2019-08-26 Thread Martin Husemann
On Sun, Aug 25, 2019 at 04:54:25PM -0400, Bob Bernstein wrote: > I would like to have a USB stick that would boot up to a running Netbsd > system that is presenting me with a login prompt, rather than defaulting to > the sysinst interface with which the install.img presents one. The only magic in

Re: Write an install image to a flash drive?

2019-08-26 Thread Edgar Pettijohn
Just install the system to the flash drive instead of the hard drive. On Aug 25, 2019 3:54 PM, Bob Bernstein wrote: > > Thanks for your reflections on USB sticks and booting therefrom! > > I know I am going to do more experiments with them. I bought two > 64 gig sticks, one of which I used to

Re: Write an install image to a flash drive?

2019-08-25 Thread Bob Bernstein
On Sun, 25 Aug 2019, Edgar Pettijohn wrote: Just install the system to the flash drive instead of the hard drive. Believe it or not, that possibility passed through my addled pate more than once, and left me wondering: "H?" Thank you -- Poobah

Re: Write an install image to a flash drive?

2019-08-25 Thread Bob Bernstein
Thanks for your reflections on USB sticks and booting therefrom! I know I am going to do more experiments with them. I bought two 64 gig sticks, one of which I used to upgrade my 'current' NetBSD machine, but the other is still in its package. Not sure what I will do with it. I would like

Re: Write an install image to a flash drive?

2019-08-25 Thread Rhialto
> | I _can't imagine_ how many stupid things I just did, but could > | someone please tell me how to get that install image onto the > | flash drive in a form that will boot? > > You cannot. "That" image is in ISO format, which have a booting > method unique in the universe. You need an

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

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.

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 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 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 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-20 Thread Jason Mitchell
>> On Aug 20, 2019, at 9:47 PM, Bob Bernstein wrote: >> >> On Tue, Aug 20, 2019 at 09:31:00PM -0400, Bob Bernstein wrote: >> >> I'm wondering: was there any preparation of the flash drive >> that should have been done before dd'ing the install-image.img >> onto it? Formatting? Filesystem?

Re: Write an install image to a flash drive?

2019-08-20 Thread Bob Bernstein
On Tue, Aug 20, 2019 at 09:31:00PM -0400, Bob Bernstein wrote: > I'm wondering: was there any preparation of the flash drive > that should have been done before dd'ing the install-image.img > onto it? Formatting? Filesystem? MBR? The above bit of speculation was inspired by this wiki article:

Re: Write an install image to a flash drive?

2019-08-20 Thread Bob Bernstein
On Tue, Aug 20, 2019 at 08:18:59PM -0400, Ron Georgia wrote: > ...you find a section labeled "Booting the install system from > USB." Section 2.2.6.1 to be exact. Once the image is > downloaded, from the command line prompt: Ach! Dawn breaks over Narrangansett Bay! > What platform are you

Re: Write an install image to a flash drive?

2019-08-20 Thread Robert Elz
Date:Tue, 20 Aug 2019 17:59:56 -0400 From:Bob Bernstein Message-ID: <20190820215955.GA819@nebby.localdomain> | Trying 'mount /dev/sd1' /mnt yielded "bad superblock." (Pretty | sure; I am typing these results from memory.) It is pretending to be a CD (image

Re: Write an install image to a flash drive?

2019-08-20 Thread Ron Georgia
I would grab either 9BETA image or current. Get the image that ends with .img.gz. For example: http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/images/NetBSD-9.0_BETA-amd64-install.img.gz Then, according to the NetBSD guide (page 5 if you printed out all 365 pages, as I did) you find