From owner-freebsd-current Mon Nov 30 05:30:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25990 for freebsd-current-outgoing; Mon, 30 Nov 1998 05:30:46 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA25936 for ; Mon, 30 Nov 1998 05:30:35 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id BAA00521; Sun, 29 Nov 1998 01:05:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811290905.BAA00521@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Shigeyuki FUKUSHIMA cc: freebsd-current@FreeBSD.ORG Subject: Re: mount root problem? on elf kernel In-reply-to: Your message of "Mon, 16 Nov 1998 23:39:23 +0900." <19981116233923X.shige@kuis.kyoto-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 29 Nov 1998 01:05:37 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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