NetBSD-Users archive

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

Re: How to install NetBSD on a USB stick



In Message <20160214054548.070DD11537C%xen1.duzan.org@localhost>,
   "Gary Duzan" <gary%duzan.org@localhost>wrote:

=>In Message <20160214052012.GA934%internode.on.net@localhost>,
=>   Brett Lymn <blymn%internode.on.net@localhost>wrote:
=>
=>=>On Sun, Feb 14, 2016 at 08:34:37AM +0530, Mayuresh wrote:
=>=>
=>=>> - Will the end result be different with your method vs creating a live
=>=>>   image (as Gary's reply suggested)?
=>=>> 
=>=>
=>=>IIRC Gary pointed you at an install image which has a cut down set of
=>=>tools on it, just sufficient to install the operating system.  If you
=>=>are looking for a fully functioning NetBSD system then you don't want an
=>=>install image.
=>
=>   Not that it matters much at this point, since Mayuresh appears
=>to have managed a normal install to USB, but I had suggested building
=>a live-image, which appears to be pretty complete. From a -current
=>build in January:
=>
=># df -k /mnt
=>Filesystem    1K-blocks       Used      Avail %Cap Mounted on
=>/dev/dk0        1416942     894948     451148  66% /mnt
=># ls -l /mnt/etc/mtree/
=>total 13400
=>-r--r--r--  1 root  wheel    59623 Jan  3 01:40 NetBSD.dist
=>-r--r--r--  1 root  wheel   812361 Jan  3 01:56 set.base
=>-r--r--r--  1 root  wheel  2605531 Jan  3 01:56 set.comp
=>-r--r--r--  1 root  wheel    44485 Jan  3 01:56 set.etc
=>-r--r--r--  1 root  wheel    44126 Jan  3 01:56 set.games
=>-r--r--r--  1 root  wheel   840260 Jan  3 01:56 set.man
=>-r--r--r--  1 root  wheel    98679 Jan  3 01:56 set.misc
=>-r--r--r--  1 root  wheel   104099 Jan  3 01:56 set.modules
=>-r--r--r--  1 root  wheel   416694 Jan  3 01:56 set.tests
=>-r--r--r--  1 root  wheel    93113 Jan  3 01:57 set.text
=>-r--r--r--  1 root  wheel   213721 Jan  3 01:57 set.xbase
=>-r--r--r--  1 root  wheel   489084 Jan  3 01:57 set.xcomp
=>-r--r--r--  1 root  wheel    11608 Jan  3 01:57 set.xetc
=>-r--r--r--  1 root  wheel   780017 Jan  3 01:57 set.xfont
=>-r--r--r--  1 root  wheel    36002 Jan  3 01:57 set.xserver
=>-r--r--r--  1 root  wheel    19264 Jan  3 01:40 special
=>
=>				Gary Duzan
=>
=>
=>p.s., Interestingly, it was a bit more difficult to mount the wd0
=>image than I expected. It has an MBR partition table, but the
=>disklabel on the vnd device I attached to it was garbage, with
=>partitions a-p all covering the whole disk. I had to use dkctl
=>addwedge with the offset and size from the fdisk to get a device
=>I could mount. This was on 7.0_STABLE from mid-December.

   Sorry, FWIW, this was actually an sd0 live-image.

				Gary Duzan




Home | Main Index | Thread Index | Old Index