On 5/30/2025 3:36 AM, Manuel Bouyer wrote:
> On Fri, May 30, 2025 at 12:53:08AM -0400, Chuck Zmudzinski wrote:
>> On 5/29/2025 5:20 PM, Chuck Zmudzinski wrote:
>> > On 5/29/2025 3:23 PM, Manuel Bouyer wrote:
>> >> On Thu, May 29, 2025 at 03:01:50PM -0400, Chuck Zmudzinski wrote:
>> >>> [...] 
>> >>> When I pass bootdev=dk12 in boot.cfg, the bootloader strangely tries dk1 
>> >>> as root
>> >>> (which is wrong) and correctly detects dk11 as the dump device. But it 
>> >>> never
>> >>> gives me the chance to enter the correct root device and instead tries 
>> >>> to load
>> >>> init which of course it cannot find the NetBSD init on dk1 because dk1 
>> >>> is not
>> >>> the correct NetBSD root device. In fact on this box a Linux distro is 
>> >>> installed
>> >>> on dk1, as evidenced by the filesystem type detected on dk1: ext2fs.
>> >> 
>> >> Hum this could be a bug is the boot argiment parsing. I don't have more 
>> >> than
>> >> 9 partitions on my disks and root=dkX works in my case.
>> 
>> So I just noticed you said root=dkX works in your case.
>> 
>> The Wiki suggests that root=dkX is an outdated, old form that is
>> deprecated, so I never tried it and I only tried bootdev=dkX.
>> 
>> So, does bootdev=dkX also work in your case?
> 
> Yes
> 
>> 
>> Does the code really distinguish between root=dkX and bootdev=dkX?
> 
> The code handling root= and bootdev= is the same
> 

Thanks for clarifying this!

Reply via email to