Current-Users archive

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

Re: bootable usb stick (was: How do I keep testing current-amd64 witout so much trouble?)

On Wed, Dec 24, 2008 at 10:34:10PM +0100, Bernd Ernesti wrote:
> Do you have an instruction how to install a bootable netbsd system on a usb
> stick?

1) Make sure the USB stick has a FAT filesystem and 512 byte physical sectors
2) Use fdisk to make the USB stick bootable.
   (It might already be bootable!)
3) Use installboot to copy bootxx_fat16 into sector 0 of the FAT partition
4) Copy /boot and the install kernel (with embedded ramdisk) onto the media

It will boot into sysinst - but you can ^C out of it.

The above doesn't need the existing FAT filesystem to be destroyed.
If the PBR is empty (very likely) any usb media (probably including some
cameras, phones, MP3 players etc will work).


David Laight:

Home | Main Index | Thread Index | Old Index