Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 01:05:37 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: mount root problem? on elf kernel 
Message-ID:  <199811290905.BAA00521@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 16 Nov 1998 23:39:23 %2B0900." <19981116233923X.shige@kuis.kyoto-u.ac.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I have an error in booting ELF kernel and mounting root device.
> 
> I am using 3.0-current(Nov 15, 1998) and ELF kernel on that system.
> 
> I have the following disks on my pc:  wd0, da0.
> Wd0 only includes DOS slices, and da0 only includes FreeBSD slices.
> System BIOS probes IDE -> SCSI. Hence, wd0 is drive C, da0 is drive D.
> 
> BTX loader says:
> 
> Disk 0  Drive A
> Disk 1  Drive C
> Disk 2  Drive D
> 
> 
> In my configurations:
> 
> * da0s1a:/boot.config
> 
> /boot/loader
> 
> * da0s1a:/boot/boot.conf
> 
> set rootdev=disk0s1a:

This was broken until recently.   You should now be ignoring $rootdev, 
and setting $num_ide_disks to 1.

> (...snip... device probing, changing root device, fsck report)
> mount: /dev/da0s1a on /: specified device does not match mounted device
> Filesystem mount failed, startup aborted
> Enter full pathname of shell or RETURN for /bin/sh:
> 
> 
> And, I modified da0s1a:/etc/fstab as follows:
> 
> # Device      Mountpoint  FStype   Options     Dump  Pass#
> /dev/da0a     /           ufs      rw          1     1
> (...snip...)
> 
> And reboot again.
> Then, I have a properly system boot without mounting errors.
> 
> I should use da0a in /etc/fstab instead of da0s1a, right?
> Or I have a some mistake in my configulations?

I'm not sure if this is related to your BOOTBIAS config option.  You 
should remove it and use $num_ide_disks instead.
-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811290905.BAA00521>