Thursday, April 21, 2022

Re: No valid root disk found when upgrading

On 2022-04-21, michal.lyszczek@bofc.pl <michal.lyszczek@bofc.pl> wrote:
>> 16 partitions:
>> # size offset fstype [fsize bsize cpg]
>> a: 8400960 1024 4.2BSD 2048 16384 12960
>> b: 67119581 8401984 swap
>> c: 488397168 0 unused
>> d: 134223072 75521568 4.2BSD 2048 16384 12960
>> e: 278652416 209744640 4.2BSD 4096 32768 26062
>> i: 960 64 MSDOS

disklabel looks alright. if you boot the upgrade kernel and drop to a
shell, what do you get from this?

cd /dev; sh MAKEDEV sd0
mount -t ffs -r /dev/sd0a /mnt
ls /mnt

(similar to what's used for the "is_rootdisk()" check in
src/distrib/miniroot/install.sub)

it's worth seeing what "sysctl hw.disknames" says too

No comments:

Post a Comment