Re: Problem upgrading CGD system 10.1 -> 11.0
[email protected] (beaker) Sat, 18 Jul 2026 13:37:08 -0700
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <6a5be3f4.9H+mQw/9JZqUcEt3%[email protected]> |
Martin Husemann <[email protected]> wrote: > On Sat, Jul 18, 2026 at 11:39:12AM -0700, beaker wrote: > > I have a 10.1/i386 VM I'd like to upgrade to 11.x and am running into > > problems at bootup with dmesg reporting the following error: > > > > kern.module.path=/stand/i386/11.0/modules > > exec /sbin/init: error 2 > > Have you verified this is running the new 11.0_RC* kernel? Yeah sysupgrade is pulling from the latest 11.0 on nycdn.netbsd.org and I'm running 'sysupgrade {modules,kernel}' before manually copying the kernel to /etc/cgd/. Unfortunately I can't really dump the entire dmesg here since it's a VM and I don't see a way to grab the console text. > With / on cgd the setup is complex and sysupgrade may have done > something wrong (like only update /netbsd in the cgd enviroment but not > the real kernel you boot from outside). Yes, sysupgrade really only handles vannila updates, ie. it won't move /netbsd into /etc/cgd/ ; all the cgd stuff has to be updated manually as I have shown in my original post. Basically for just in-version updates I've found I can update the kernel and occasionally cgdroot.kmod. In this case, 10.1 -> 11.0, I've updated boot as well as the kern.module.path seems to get set by boot. For reference, this is what I used for the initial VM setup: https://www.unitedbsd.com/d/461-netbsd-full-disk-encryption-with-cgd -b