Subject: install/11705: sysinst fails to deal with 'root_device' mount point
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 12/12/2000 08:12:12
>Synopsis: sysinst has trouble with 'root_device' mount point
>Arrival-Date: Tue Dec 12 08:12:00 PST 2000
>Originator: Tim Franklin
>Release: 1.5 <NetBSD-current source date>
System: NetBSD bill.pelican.org 1.5 NetBSD 1.5 (BILL) #0: Fri Dec 8 16:29:45 GMT 2000 email@example.com:/usr/src/sys/arch/sparc/compile/BILL sparc
Booting from the 1.5 miniroot on /dev/sd0b on a SparcStation 2, sysinst halts
with an error that it cannot install to sd0 as it cannot check if the root
device is in use. Shelling out and checking 'mount' shows that 'root_device'
is mounted as '/'.
Boot from miniroot in /dev/sd0b, run sysinst to upgrade installation on sd0.
(sd0 is the only disk in the machine).
Workaround is to shell out and re-mount '/' with the full /dev/sd0b path:
mount -u /dev/sd0b /
sysinst then detects that the root partition for the miniroot is the swap
partition, not the root partition of the system to be upgraded, and the
upgrade continues normally.
Suggestion: get sysinst to look up what 'root_device' actually is when it
encounters it as a mounted device and use that value in its checks?