NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Regression in 10.x installer
On Mon, 14 Aug 2023, salquest%duck.com@localhost wrote:
Previous output was for the NetBSD 10.0 beta installer. This is for the HEAD
installer, whose behavior is the same.
I made some notes last year which should help you install NetBSD+UEFI with
pre-existing partitions on the disk. The procedure is pretty easy:
1. Very important: In main "EFI System" partition, move the \EFI\Boot\ dir.
out of the way.
sysinst _will_ overwrite the BOOT*.EFI files in there. (I've got some
local patches which fix this, but that's on my home machine.)
2. Create partitions for NetBSD using gpt(8).
Typically 3: a new EFI partition (any kind of FAT filesystem will do) to
hold the NetBSD BOOT*.EFI files; a FFS partition for "/"; and finally a
NetBSD swap partition.
In `sysinst` now:
3. First, jump into the "Utility menu" and turn-on both "Logging" and "Scripting".
This creates 2 files: /tmp/sysinst.log and /tmp/sysinst.sh which you can look
at for debugging issues.
4. In the "NetBSD-10.0_BETA Install System" main-menu, select
a: Install NetBSD to hard disk.
5. In the "Available disks" menu, select the _ whole disk_ device: wd0, sd1,
ld0, etc. Ie. _do not_ choose any `Preconfigured "wedges"'.
6. After choosing the disk to install onto, select:
a: Use existing GPT partitions
7. Now you'll get a list of the existing GPT partitions on the disk.
This list is slightly confusing the first time you do this (and sysinst
doesn't make things easier by marking multiple FFS partitions as "/"), but
go through it one by one and
a) remove the "install" and "mount" flags, and
b) set the "mount point" to "none"
for each of the partitions which sysinst got "wrong". Then, for the NetBSD
FFS partitions(s) you want sysinst to work on, set the "install", "newfs"
(if you want that done) and "mount" flags to "yes" and also set the "mount
point" ("/", "/usr", etc.)
8. Choose "Partition sizes OK" when done.
Do the rest of the install as usual. After the install is finished, move the
sysinst-written \EFI\Boot\BOOT*.EFI files from the System EFI partition to
a) the NetBSD EFI partition, or b) a different dir. on the System EFI partn.
Then tell your BIOS where the NetBSD *.EFI files are to get a boot menu.
HTH,
-RVP
Home |
Main Index |
Thread Index |
Old Index