NetBSD Problem Report #45155

From dholland@netbsd.org  Sun Jul 17 19:27:39 2011
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 081AF63CA68
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 17 Jul 2011 19:27:39 +0000 (UTC)
Message-Id: <20110717192738.B72ED14A10A@mail.netbsd.org>
Date: Sun, 17 Jul 2011 19:27:38 +0000 (UTC)
From: dholland@netbsd.org
Reply-To: dholland@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: there are no usb-stick installer images
X-Send-Pr-Version: 3.95

>Number:         45155
>Category:       misc
>Synopsis:       there are no usb-stick installer images
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 17 19:30:01 +0000 2011
>Closed-Date:    
>Last-Modified:  Tue Feb 14 21:20:02 +0000 2012
>Originator:     David A. Holland
>Release:        HEAD
>Organization:
>Environment:
n/a
>Description:

At least ports for which ~modern hardware exists (i386, amd64,
sparc64, ...) should provide install images for usb sticks, since this
is now by far the easiest way to create install media. But we only
have CD images and floppies. Putting either directly on a USB stick
doesn't quite work.

>How-To-Repeat:
n/a
>Fix:

All you need to do is make a disk image, disklabel and/or fdisk it
like a hard drive, and run installboot on it. Existing image contents
from floppies should be fine.

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: misc/45155: there are no usb-stick installer images
Date: Sun, 17 Jul 2011 21:43:35 +0200

 On Sun, Jul 17, 2011 at 07:30:01PM +0000, dholland@netbsd.org wrote:
 > At least ports for which ~modern hardware exists (i386, amd64,
 > sparc64, ...) should provide install images for usb sticks, since this

 I'm not aware of any sparc64 firmware version able to boot those - if
 anyone knows of such machine/device combinations, please mail me details.

 Martin

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/45155: there are no usb-stick installer images
Date: Sun, 17 Jul 2011 23:27:59 +0000

 On Sun, Jul 17, 2011 at 07:45:02PM +0000, Martin Husemann wrote:
  >> At least ports for which ~modern hardware exists (i386, amd64,
  >> sparc64, ...) should provide install images for usb sticks, since this
  >  
  >  I'm not aware of any sparc64 firmware version able to boot those - if
  >  anyone knows of such machine/device combinations, please mail me details.

 Really? I thought there were relatively recent sparc64 models :-)

 anyway, I stand corrected. If booting from USB is really x86-only the
 category should be changed accordingly.

 -- 
 David A. Holland
 dholland@netbsd.org

From: jnemeth@victoria.tc.ca (John Nemeth)
To: gnats-bugs@NetBSD.org, misc-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
        netbsd-bugs@NetBSD.org, dholland@NetBSD.org
Cc: 
Subject: Re: misc/45155: there are no usb-stick installer images
Date: Sun, 17 Jul 2011 16:32:20 -0700

 On Nov 2, 11:37am, David Holland wrote:
 } The following reply was made to PR misc/45155; it has been noted by GNATS.
 } 
 } From: David Holland <dholland-bugs@netbsd.org>
 } To: gnats-bugs@NetBSD.org
 } Date: Sun, 17 Jul 2011 23:27:59 +0000
 } 
 }  On Sun, Jul 17, 2011 at 07:45:02PM +0000, Martin Husemann wrote:
 }   >> At least ports for which ~modern hardware exists (i386, amd64,
 }   >> sparc64, ...) should provide install images for usb sticks, since this
 }   >  
 }   >  I'm not aware of any sparc64 firmware version able to boot those - if
 }   >  anyone knows of such machine/device combinations, please mail me details.
 }  
 }  Really? I thought there were relatively recent sparc64 models :-)
 }  
 }  anyway, I stand corrected. If booting from USB is really x86-only the
 }  category should be changed accordingly.

      Perhaps so, but we don't support any remotely recent sparc64 models.

 }-- End of excerpt from David Holland

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Re: misc/45155: there are no usb-stick installer images
Date: Fri, 9 Dec 2011 00:56:12 +0900

 > >Synopsis:       there are no usb-stick installer images

 Now PR 45153 can handle this one:
 http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
 http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

 ---
 Izumi Tsutsui

From: "Izumi Tsutsui" <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45155 CVS commit: src
Date: Sun, 22 Jan 2012 03:53:34 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sun Jan 22 03:53:33 UTC 2012

 Modified Files:
 	src: BUILDING Makefile build.sh
 	src/distrib: Makefile Makefile.inc
 	src/distrib/amd64: Makefile
 	src/distrib/common: Makefile.bootcd
 	src/distrib/i386: Makefile
 	src/distrib/pmax: Makefile
 	src/distrib/sparc: Makefile
 	src/distrib/sparc64: Makefile
 	src/distrib/sun2: Makefile
 	src/distrib/sun3: Makefile
 	src/distrib/vax: Makefile
 	src/etc: Makefile
 Added Files:
 	src/distrib/amd64/installimage: Makefile boot.cfg.in etc.rc etc.ttys
 	    install.sh spec.inst
 	src/distrib/amd64/liveimage: Makefile Makefile.liveimage
 	src/distrib/amd64/liveimage/emuimage: Makefile
 	src/distrib/amd64/liveimage/usbimage: Makefile
 	src/distrib/common/bootimage: Makefile.bootimage Makefile.installimage
 	    Makefile.liveimage diskproto.in diskproto.mbr.in
 	    diskproto.noswap.in diskproto.noswap.mbr.in fstab.in
 	    fstab.install.in spec.in
 	src/distrib/i386/installimage: Makefile boot.cfg.in etc.rc etc.ttys
 	    install.sh spec.inst
 	src/distrib/i386/liveimage: Makefile Makefile.liveimage
 	src/distrib/i386/liveimage/emuimage: Makefile
 	src/distrib/i386/liveimage/usbimage: Makefile
 	src/distrib/pmax/liveimage: Makefile
 	src/distrib/pmax/liveimage/emuimage: Makefile
 	src/distrib/sparc/liveimage: Makefile
 	src/distrib/sparc/liveimage/emuimage: Makefile
 	src/distrib/sparc64/liveimage: Makefile
 	src/distrib/sparc64/liveimage/emuimage: Makefile
 	src/distrib/sun2/liveimage: Makefile
 	src/distrib/sun2/liveimage/emuimage: Makefile
 	src/distrib/sun3/liveimage: Makefile
 	src/distrib/sun3/liveimage/emuimage: Makefile
 	src/distrib/vax/liveimage: Makefile
 	src/distrib/vax/liveimage/emuimage: Makefile

 Log Message:
 Add "live-image" and "install-image" target support to build.sh.

 "live-image" target builds pre-installed disk images that can be used on
 emulators or boot from USB memory sticks to try NetBSD without installation.
 Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
 (which have working emulators and don't require extra tools like preparing
  msdosfs or partitioning MD label structures) support this target.

 "install-image" target builds an bootable installation disk image that can
 be used as an install CD but burned into USB memory sticks etc.
 Current only amd64 and i386 (which would support USB boot) have this target.

 For more details (and known issue) see following posts on netbsd-bugs@:
 http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
 http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
 http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
 http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

 No particular comments about implementation, and
 "go ahead" comments from mrg@, riz@ and christos@.

 Closes PR toolchain/45153 and PR misc/45155.


 To generate a diff of this commit:
 cvs rdiff -u -r1.96 -r1.97 src/BUILDING
 cvs rdiff -u -r1.289 -r1.290 src/Makefile
 cvs rdiff -u -r1.252 -r1.253 src/build.sh
 cvs rdiff -u -r1.17 -r1.18 src/distrib/Makefile
 cvs rdiff -u -r1.9 -r1.10 src/distrib/Makefile.inc
 cvs rdiff -u -r1.5 -r1.6 src/distrib/amd64/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/amd64/installimage/Makefile \
     src/distrib/amd64/installimage/boot.cfg.in \
     src/distrib/amd64/installimage/etc.rc \
     src/distrib/amd64/installimage/etc.ttys \
     src/distrib/amd64/installimage/install.sh \
     src/distrib/amd64/installimage/spec.inst
 cvs rdiff -u -r0 -r1.1 src/distrib/amd64/liveimage/Makefile \
     src/distrib/amd64/liveimage/Makefile.liveimage
 cvs rdiff -u -r0 -r1.1 src/distrib/amd64/liveimage/emuimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/amd64/liveimage/usbimage/Makefile
 cvs rdiff -u -r1.18 -r1.19 src/distrib/common/Makefile.bootcd
 cvs rdiff -u -r0 -r1.1 src/distrib/common/bootimage/Makefile.bootimage \
     src/distrib/common/bootimage/Makefile.installimage \
     src/distrib/common/bootimage/Makefile.liveimage \
     src/distrib/common/bootimage/diskproto.in \
     src/distrib/common/bootimage/diskproto.mbr.in \
     src/distrib/common/bootimage/diskproto.noswap.in \
     src/distrib/common/bootimage/diskproto.noswap.mbr.in \
     src/distrib/common/bootimage/fstab.in \
     src/distrib/common/bootimage/fstab.install.in \
     src/distrib/common/bootimage/spec.in
 cvs rdiff -u -r1.8 -r1.9 src/distrib/i386/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/i386/installimage/Makefile \
     src/distrib/i386/installimage/boot.cfg.in \
     src/distrib/i386/installimage/etc.rc \
     src/distrib/i386/installimage/etc.ttys \
     src/distrib/i386/installimage/install.sh \
     src/distrib/i386/installimage/spec.inst
 cvs rdiff -u -r0 -r1.1 src/distrib/i386/liveimage/Makefile \
     src/distrib/i386/liveimage/Makefile.liveimage
 cvs rdiff -u -r0 -r1.1 src/distrib/i386/liveimage/emuimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/i386/liveimage/usbimage/Makefile
 cvs rdiff -u -r1.4 -r1.5 src/distrib/pmax/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/pmax/liveimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/pmax/liveimage/emuimage/Makefile
 cvs rdiff -u -r1.7 -r1.8 src/distrib/sparc/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sparc/liveimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sparc/liveimage/emuimage/Makefile
 cvs rdiff -u -r1.7 -r1.8 src/distrib/sparc64/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sparc64/liveimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sparc64/liveimage/emuimage/Makefile
 cvs rdiff -u -r1.9 -r1.10 src/distrib/sun2/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sun2/liveimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sun2/liveimage/emuimage/Makefile
 cvs rdiff -u -r1.10 -r1.11 src/distrib/sun3/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sun3/liveimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/sun3/liveimage/emuimage/Makefile
 cvs rdiff -u -r1.18 -r1.19 src/distrib/vax/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/vax/liveimage/Makefile
 cvs rdiff -u -r0 -r1.1 src/distrib/vax/liveimage/emuimage/Makefile
 cvs rdiff -u -r1.395 -r1.396 src/etc/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: misc-bug-people->tsutsui
Responsible-Changed-By: tsutsui@NetBSD.org
Responsible-Changed-When: Sun, 22 Jan 2012 13:04:02 +0900
Responsible-Changed-Why:
as committer


State-Changed-From-To: open->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sun, 22 Jan 2012 13:04:02 +0900
State-Changed-Why:
superseded by PR/45153.


State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 11 Feb 2012 18:41:51 +0000
State-Changed-Why:
Nothing identifiable as a usb-stick installer image appears in $RELEASEDIR.


From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: dholland@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: misc/45155 (there are no usb-stick installer images)
Date: Sun, 12 Feb 2012 03:49:56 +0900

 > Nothing identifiable as a usb-stick installer image appears in $RELEASEDIR.

 Isn't this enough?
 http://nxr.netbsd.org/xref/src/BUILDING#630

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/45155 (there are no usb-stick installer images)
Date: Sat, 11 Feb 2012 18:59:23 +0000

 On Sat, Feb 11, 2012 at 06:55:02PM +0000, Izumi Tsutsui wrote:
  > The following reply was made to PR misc/45155; it has been noted by GNATS.
  > 
  > From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
  > To: gnats-bugs@NetBSD.org
  > Cc: dholland@NetBSD.org, tsutsui@ceres.dti.ne.jp
  > Subject: Re: misc/45155 (there are no usb-stick installer images)
  > Date: Sun, 12 Feb 2012 03:49:56 +0900
  > 
  >  > Nothing identifiable as a usb-stick installer image appears in $RELEASEDIR.
  >  
  >  Isn't this enough?
  >  http://nxr.netbsd.org/xref/src/BUILDING#630

 The point of the PR was that if someone goes to ftp.netbsd.org to look
 for netbsd-6 install materials, they can get an image suitable for a
 usb stick. When I filed it, they had their choice of cdrom or floppies
 only. As far as I can tell, that has not changed.

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: tsutsui->misc-bug-people
Responsible-Changed-By: tsutsui@NetBSD.org
Responsible-Changed-When: Sun, 12 Feb 2012 04:07:41 +0900
Responsible-Changed-Why:
The point of the PR seems changed to releng's matter.


From: Alan Barrett <apb@cequrux.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/45155 (there are no usb-stick installer images)
Date: Sat, 11 Feb 2012 21:23:08 +0200

 On Sat, 11 Feb 2012, David Holland wrote:
 > The point of the PR was that if someone goes to ftp.netbsd.org to look
 > for netbsd-6 install materials, they can get an image suitable for a
 > usb stick. When I filed it, they had their choice of cdrom or floppies
 > only. As far as I can tell, that has not changed.

 build.sh is able to build usb images.  The buildbots apparently don't
 run build.sh with the "install-image" target, but that can be changed.

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/45155 (there are no usb-stick installer images)
Date: Sat, 11 Feb 2012 19:39:39 +0000

 On Sat, Feb 11, 2012 at 07:25:02PM +0000, Alan Barrett wrote:
  > The following reply was made to PR misc/45155; it has been noted by GNATS.
  > 
  > From: Alan Barrett <apb@cequrux.com>
  > To: gnats-bugs@NetBSD.org
  > Cc: 
  > Subject: Re: misc/45155 (there are no usb-stick installer images)
  > Date: Sat, 11 Feb 2012 21:23:08 +0200
  > 
  >  On Sat, 11 Feb 2012, David Holland wrote:
  >  > The point of the PR was that if someone goes to ftp.netbsd.org to look
  >  > for netbsd-6 install materials, they can get an image suitable for a
  >  > usb stick. When I filed it, they had their choice of cdrom or floppies
  >  > only. As far as I can tell, that has not changed.
  >  
  >  build.sh is able to build usb images.  The buildbots apparently don't
  >  run build.sh with the "install-image" target, but that can be changed.

 "build.sh release" also does not create usb images:

 % ls -l obj.i386/releasedir/i386/installation
 total 16
 drwxr-xr-x  2 dholland  people  512 Feb  5 11:49 cdrom
 drwxr-xr-x  2 dholland  people  512 Feb  5 11:48 floppy
 drwxr-xr-x  2 dholland  people  512 Feb  5 11:48 miniroot
 drwxr-xr-x  2 dholland  people  512 Feb  5 11:49 misc

 -- 
 David A. Holland
 dholland@netbsd.org

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, dholland@netbsd.org
Subject: re: misc/45155 (there are no usb-stick installer images)
Date: Sun, 12 Feb 2012 06:55:42 +1100

 >   >  build.sh is able to build usb images.  The buildbots apparently don't
 >   >  run build.sh with the "install-image" target, but that can be changed.
 >  
 >  "build.sh release" also does not create usb images:
 >  
 >  % ls -l obj.i386/releasedir/i386/installation
 >  total 16
 >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:49 cdrom
 >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:48 floppy
 >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:48 miniroot
 >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:49 misc

 it could build a bootable but no-sets included usb image.
 "build.sh release" doesn't build an iso with sets, so, it really
 shouldn't for usb.  but a small image sounds useful...


 .mrg.

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/45155 (there are no usb-stick installer images)
Date: Sat, 11 Feb 2012 21:04:47 +0000

 On Sat, Feb 11, 2012 at 08:00:09PM +0000, matthew green wrote:
  >  >  "build.sh release" also does not create usb images:
  >  >  
  >  >  % ls -l obj.i386/releasedir/i386/installation
  >  >  total 16
  >  >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:49 cdrom
  >  >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:48 floppy
  >  >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:48 miniroot
  >  >  drwxr-xr-x  2 dholland  people  512 Feb  5 11:49 misc
  >  
  >  it could build a bootable but no-sets included usb image.
  >  "build.sh release" doesn't build an iso with sets, so, it really
  >  shouldn't for usb.  but a small image sounds useful...

 No, of course it shouldn't, but it should generate one akin to the
 cdrom and floppy images it does generate.

 -- 
 David A. Holland
 dholland@netbsd.org

From: "Alan Barrett" <apb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45155 CVS commit: src/doc
Date: Tue, 14 Feb 2012 21:19:19 +0000

 Module Name:	src
 Committed By:	apb
 Date:		Tue Feb 14 21:19:19 UTC 2012

 Modified Files:
 	src/doc: BUILDING.mdoc

 Log Message:
 Document build.sh "live-image" and "install-image" targets.

 These were documented in revision 1.97 of src/BUILDING, but were
 not documented in src/doc/BUILDING.sh.  The original log message
 was:

 revision 1.97
 date: 2012/01/22 03:53:32;  author: tsutsui;  state: Exp;  lines: +39 -0
 Add "live-image" and "install-image" target support to build.sh.

 "live-image" target builds pre-installed disk images that can be used on
 emulators or boot from USB memory sticks to try NetBSD without installation.
 Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
 (which have working emulators and don't require extra tools like preparing
  msdosfs or partitioning MD label structures) support this target.

 "install-image" target builds an bootable installation disk image that can
 be used as an install CD but burned into USB memory sticks etc.
 Current only amd64 and i386 (which would support USB boot) have this target.

 For more details (and known issue) see following posts on netbsd-bugs@:
 http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
 http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
 http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
 http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

 No particular comments about implementation, and
 "go ahead" comments from mrg@, riz@ and christos@.

 Closes PR toolchain/45153 and PR misc/45155.


 To generate a diff of this commit:
 cvs rdiff -u -r1.85 -r1.86 src/doc/BUILDING.mdoc

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.