NetBSD-Users archive

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

Re: Installing NetBSD 9.1 on USB stick, not booting



On Mon, Apr 05, 2021 at 04:14:50PM -0400, Bob Bernstein wrote:
> https://wiki.netbsd.org/tutorials/how_to_install_netbsd_from_an_usb_memory_stick/

I think in earlier versions of installers, the installation process used
to do the needful. But may be I do not recollect well enough.

The installation is already done on the stick, and right now from Linux
host I can see that the partition's Boot flag is set.

# This is fdisk -l on Linux. Will have to boot using installable to use
# NetBSD disklabel.

Disk /dev/sdb: 14.33 GiB, 15376318464 bytes, 30031872 sectors
Disk model: Cruzer Blade    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sdb1           64   262207   262144  128M ef EFI (FAT-12/16/32)
/dev/sdb2  *    262272 30031871 29769600 14.2G a9 NetBSD

So is it only the following command that I require now? (It will be sd1 in
my case.)

# installboot -v -o timeout=1 /dev/rsd0a /usr/mdec/bootxx_ffsv1

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index