NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/43012: sysinst doesn't detect correct cd/dvd drive

> sysinst assumes the first cd/dvd drive is the one you booted the
> install cd from.

AFAIK, sysinst doesn't care which drive is booted device.
("cd0a" is hardcoded in src/distrib/utils/sysinst/main.c)

sysinst might able to check if booted device is CD-ROM and use it
for the default cdrom_dev, but there is another problem to detect
booted_device in CD boot case on x86 as filed in PR port-i386/39998.
(See comments in sys/arch/x86/x86/x86_autoconf.c:findroot() for details)

Probably we have to add some new parameters in bootinfo
to indicate volume label or signature of booted ISO as
disklabel/dkwedge for harddisk.
Izumi Tsutsui

Home | Main Index | Thread Index | Old Index