NetBSD Problem Report #61031

From www@netbsd.org  Thu Nov 19 22:08:02 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2A74E1A923D
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 19 Nov 2026 22:08:02 +0000 (UTC)
Message-Id: <20261119220759.938551A923D@mollari.NetBSD.org>
Date: Thu, 19 Nov 2026 22:07:59 +0000 (UTC)
From: florian.berger@posteo.de
Reply-To: florian.berger@posteo.de
To: gnats-bugs@NetBSD.org
Subject: Bootloader can not find sbin/init on Proxmox VE + KVM
X-Send-Pr-Version: www-1.0
X-From4GNATS: "florian.berger@posteo.de via gnats" <gnats-admin@NetBSD.org>

>Number:         61031
>Category:       install
>Synopsis:       Bootloader can not find sbin/init on Proxmox VE + KVM
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 19 22:10:00 +0000 2026
>Originator:     Florian
>Release:        11.0
>Organization:
>Environment:
Not available, NetBSD can not be installed
>Description:
I am trying to install NetBSD 11.0 on two virtual servers, hosted at two different companies, which apparently use custom web UIs to wrap a Proxmox Virtual Environment + KVM. They both offer to mount an ISO as a virtual drive, which I did using NetBSD 11.0 for amd64.

I do get the ISO's boot prompt, I choose "Boot normally", and then end up with the very same error on both VMs: Apparently init can not be found, 4 different options are being tried, after which I get dropped at a prompt to give a custom location.

VM 1:

[...]
atapibus0 at atabus0: 1 targets
cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00001, 2.5+> cdrom removable
atapibus1 at atabus1: 1 targets
cd1 at atapibus1 drive 0: <QEMU DVD-ROM, QM00003, 2.5+> cdrom removable
atapibus2 at atabus2: 1 targets
cd2 at atapibus2 drive 0: <QEMU DVD-ROM, QM00005, 2.5+> cdrom removable
swwdog: software watchdog initialized
WARNING: 6 errors while detecting hardware; check system log.
boot device: cd0
root on cd0a dumps on cd0b
root file systen type: cd9660
kern.module.path=/stand/amd64/11.0/nodules
exec /sbin/init: error 2
init: trying /sbin/oinit
/sbin/oinit: error 2
init: trying /sbin/init.bak
exec /sbin/init.bak: error 2
init: trying /rescue/init
exec /rescue/init: error 2
init path (default /sbin/init):

VM2:

[...]
atapibus0 at atabus6: 1 targets
cdO at atapibus0 drive 0: <QEMU DVD-ROM, QM00001, 2.5+> cdrom removable 
atapibus1 at atabus9: 1 targets
cd1 at atapibus1 drive 0: <QEMU DVD-ROM, QM00007, 2.5+> cdrom removable 
swwdog0: software watchdog initialized
WARNING: 4 errors while detecting hardware; check system log.
boot device: cd0
root on cd0a dumps on cd0b
root file system type: cd9660
kern.module.path=/stand/amd64/11.0/modules
exec /sbin/init: error 2
init: trying /sbin/oinit
exec /sbin/oinit: error 2
init: trying /sbin/init.bak
exec /sbin/init.bak: error 2
init: trying /rescue/init
exec /rescue/init: error 2
init path (default /sbin/init):

I also observed that each VM seems to detect more than one virtual CD/DVD drives, even though only one ISO should be mounted.

I am using the vanilla NetBSD-11.0-amd64-dvd.iso from the CDN (or in one case, a mirror).

I just tried the very same ISO again locally with a qemu vm, which worked flawlessly.

I can not say what specific machine/hardware is emulated at the hosts, as I don't get far enough to obtain that data. I would have to boot something working to get the hardware specs, in case they could be the problem.

Boot is apparently UEFI, I can access the EFI boot configuration, to my eye everything looks reasonable there.

As for the apparent bogus DVD devices, I have no option to remove these.

I was encouraged to file a PR here after describing the problem at https://www.unitedbsd.com/d/1723-problem-installing-on-proxmox-kvm-exec-sbininit-error2 
>How-To-Repeat:
1. Obtain a basic VM at st-hosting.com, host-zentrum.de, or probably any other host utilising Proxmox VE
2. Use the web UI to have NetBSD-11.0-amd64-dvd.iso mounted as a virtual drive
3. Boot the machine
4. Connect to the VM via the host-supplied VNC
5. Choose "Boot normally"
6. Observer the error
>Fix:
The suggestion from the forum thread, to issue

> root cdNa
> boot

where N = number of detected DVD drives - 1, circumvents the issue, as the file system with /sbin/init is found on the respective device. After that, installation resumes normally.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.