NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
install/61031: Bootloader can not find sbin/init on Proxmox VE + KVM
>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.
Home |
Main Index |
Thread Index |
Old Index