Subject: Re: Kernel won't change root device
To: None <port-arm32@NetBSD.ORG>
From: Robert Black <r.black@IC.AC.UK>
List: port-arm32
Date: 08/15/1996 13:45:48
On Aug 14,  8:58pm, Markus Baeurle wrote:
> Subject: Kernel won't change root device
> Hello!
>
> I'm astonished nobody has come across this before:
> I have borrowed an external SCSI harddisk, configured for ID 4.
> This should be no problem as my internal CD-ROM has ID 5 and my internal
> harddisk has ID 6.
> But the sequence of harddiscs under RiscBSD changed. The external one
> (currently formatted for DOS) is now sd0 and my internal one with RiscBSD on
it
> sd1. So I changed the root and swap device to sd1a and sd1b.
> The kernel (bsd-4444) reports at bootup:

Ok, correct so far...

> Kernel arg string <BtRiscBSD$Dir>.Booter.BtRiscBSD SCSI::Hard4.$.RiscBSD.bsd-
> 4444 root=/dev/sd1a swap=/dev/sd1a screenmode=X1024 Y768 C256 F70 maxproc=48
> symtab ehbug
>
> So everything seems fine.
> The devices are probed as I said above, the external one is sd0 and the
> internal one sd1.
> But when the filesystem checks start, I get:
>
> Automatic boot, starting file system checks
> sd0: no disk label
> Can't open /dev/sd0a: Device not configured

But you didn't change your /etc/fstab file to match... so it still tries to
check and mount /dev/sd0a when it goes multiuser.

> But I told it to use /dev/sd1a in the bootloader, so why sd0a!?!
> I have tried the bootloaders 2.70 and 2.80 and kernels bsd-4444, bsd-4130 and
> bsd-3931 as well as my latest self-compiled kernel - everything with the same
> result.
>

Edit /etc/fstab and change all references to sd0 to sd1 and all references to
rsd0 to rsd1.

Sorry, no idea about the fireball.


Cheers

Rob

--