Re: UEFI installation

2023-08-14 Thread Mark Davies
On 15/08/23 12:13, Greg Troxel wrote: It is an Optiplex 3070 SFF, from 2019, with 32 GB RAM and i7-9700 (9th gen) and Intel UHD Graphics 630. It came with a Kingwin SSD with Windows which I swapped out for a bigger one I have more confidence in, and can only really handle a single 2.5"

Re: UEFI installation

2023-08-14 Thread Greg Troxel
Mark Davies writes: > What sort of Dell is it? We've got lots of them of various ages so > I'm fairly familiar with the BIOS settings. Any halfway recent one > will let you UEFI boot off anything, but the newer they are the more > restrictive they are in what they will legacy boot from.

Re: UEFI installation

2023-08-14 Thread Mark Davies
On 15/08/23 01:30, Greg Troxel wrote: Martin Husemann writes: But the part that I don't understand: why can't you get your machine to boot the USB install image in UEFI mode? With stupid x86 firmware everything is possible but I would guess it is more likely that some setting should allow

Re: UEFI installation

2023-08-14 Thread Martin Husemann
On Mon, Aug 14, 2023 at 11:15:48PM +0700, Robert Elz wrote: > A better solution would probably be to simply set up all > possible boot methods (for the way the system is being > configured) without caring which method happened to be > used to boot the install image. Yes, ideally. But that will

Re: UEFI installation

2023-08-14 Thread Greg Troxel
Thanks to martin@ and mlelstv@ for hints. I have updated the wiki page: https://wiki.netbsd.org/Installation_on_UEFI_systems/ please feel free to fix it or tell me I did it wrong; I try to update things after getting help to help the next person or future me after this is paged out.

Re: UEFI installation

2023-08-14 Thread Robert Elz
It would be possible to add a manual override in the installer, but currently there is no such thing. A better solution would probably be to simply set up all possible boot methods (for the way the system is being configured) without caring which method happened to be used to

Re: UEFI installation

2023-08-14 Thread Greg Troxel
Martin Husemann writes: > But the part that I don't understand: why can't you get your machine to > boot the USB install image in UEFI mode? With stupid x86 firmware everything > is possible but I would guess it is more likely that some setting should > allow booting from USB in UEFI mode. Maybe

Re: UEFI installation

2023-08-14 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >For the EFI partition, what are the rules? It seems like > the size is at least X and less than Y 100MB is the minimum, some systems reject smaller EFI partitions. It also should be FAT32.

Re: UEFI installation

2023-08-14 Thread Martin Husemann
On Mon, Aug 14, 2023 at 08:39:11AM -0400, Greg Troxel wrote: > So it seems the installer detected that it booted from mbr instead of > UEFI and set up MBR probably gptboot and skipped the EFI gpt partition. > Maybe I'm over-assuming. Yes, the installer (on x86) uses machdep.bootmethod to decide

UEFI installation

2023-08-14 Thread Greg Troxel
(I have a new 2019 Dell, and I'll post details in the thread where I asked about hardware after it is working.) Windows is set up to boot gpt/UEFI on the 1T low-end SSD that I have set aside. I'm thus trying to install onto a new 4T SSD. The BIOS situation is a little funky. It's clearly UEFI,

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread RVP
On Thu, 1 Dec 2022, Mayuresh wrote: Something like this boots: set root=(hd0,gpt1) knetbsd /netbsd --root=dk5 boot But it says error: no suitable video mode found Booting in blind mode I don't usually boot NetBSD via grub, but, this worked: --- $ cat

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread Mayuresh
On Thu, Dec 01, 2022 at 11:26:09PM +0530, Mayuresh wrote: Some more details of what various installation options lead to: 1. By choosing Available disks as "wd0" -> Use existing GPT partitions This leads to error /sbin/mount -tmsdos /dev/dk1 /targetrootSYSTEM mount: realpath

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread Mayuresh
On Thu, Dec 01, 2022 at 06:50:41PM +0100, Martin Husemann wrote: > On Thu, Dec 01, 2022 at 11:13:07PM +0530, Mayuresh wrote: > > But it says > > > > error: no suitable video mode found > > Booting in blind mode > > That is a message from grub, not from any part of NetBSD. Yes, but

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread Martin Husemann
On Thu, Dec 01, 2022 at 11:13:07PM +0530, Mayuresh wrote: > But it says > > error: no suitable video mode found > Booting in blind mode That is a message from grub, not from any part of NetBSD. Martin

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread Mayuresh
On Thu, Dec 01, 2022 at 11:00:24PM +0530, Mayuresh wrote: > Any pointers would be of great help. Something like this boots: set root=(hd0,gpt1) knetbsd /netbsd --root=dk5 boot But it says error: no suitable video mode found Booting in blind mode Please advise. -- Mayuresh

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread Mayuresh
On Thu, Dec 01, 2022 at 03:25:25PM +0100, Martin Husemann wrote: > Better use a 9.3_STABLE version from > https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/ I am trying: https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/202211301400Z/images/NetBSD-9.3_STABLE-amd64-install.img.gz The

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread Martin Husemann
On Thu, Dec 01, 2022 at 07:31:21PM +0530, Mayuresh wrote: > How about using sysinst installer from current and installing sets from > 9.3 distribution? Is this something workable? Better use a 9.3_STABLE version from https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/ This has all the

Re: NetBSD 9.3 UEFI installation help

2022-12-01 Thread Mayuresh
On Wed, Nov 30, 2022 at 09:42:40PM +0530, Mayuresh wrote: > On installation image I also notice /sysinst.core. So may be the installer > did not do some things. How about using sysinst installer from current and installing sets from 9.3 distribution? Is this something workable? -- Mayuresh

Re: NetBSD 9.3 UEFI installation help

2022-11-30 Thread Mayuresh
On Wed, Nov 30, 2022 at 09:38:48PM +0530, Mayuresh wrote: > Since there are 3 OSes and the paths are not indicative I wonder which one > is which and is one of them installed by NetBSD. On NetBSD installation image I see this file with size 223912. So above files (mentioned in my last post) were

Re: NetBSD 9.3 UEFI installation help

2022-11-30 Thread Mayuresh
On Wed, Nov 30, 2022 at 04:52:05PM +0100, Martin Husemann wrote: > The NetBSD bootloader (bootx64.efi) should have been copied to > EFI/BOOT/ in the ESP, but no UEFI variables will be created. I can see 2 files by that name: /EFI/Boot/BOOTX64.EFI of size 546446 /EFI/EFI/BOOT/BOOTX64.EFI of size

Re: NetBSD 9.3 UEFI installation help

2022-11-30 Thread Martin Husemann
On Wed, Nov 30, 2022 at 09:17:22PM +0530, Mayuresh wrote: > /dev/sda1 is EFI partition. There is Windows on /dev/sda3 and Linux on > /dev/sda6. > > NetBSD is on what appears as /dev/sda8 here (ignore its type above, above > is a snapshot before NetBSD was installed). It appeared as /dev/dk7 with

Re: NetBSD 9.3 UEFI installation help

2022-11-30 Thread Mayuresh
On Wed, Nov 30, 2022 at 04:36:19PM +0100, Martin Husemann wrote: > Do you have other partitions on that disk or did you select a full disk for > NetBSD type of installation? This is taken from Linux: Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: TOSHIBA

Re: NetBSD 9.3 UEFI installation help

2022-11-30 Thread Martin Husemann
On Wed, Nov 30, 2022 at 08:59:36PM +0530, Mayuresh wrote: > I don't find uefi image for NetBSD 9.3 amd64 I assume the release image is > already the integrated one. Yes, there is a common image now that should work on all "newer" machines in either BIOS or UEFI boot mode. > I did the

NetBSD 9.3 UEFI installation help

2022-11-30 Thread Mayuresh
Went through the wiki[1]. I don't find uefi image for NetBSD 9.3 amd64 I assume the release image is already the integrated one. I did the installation on a partition on a laptop, but did not notice anything copied to the efi partition or any menu appearing for netbsd. Following observations