Date: Sat, 14 Mar 1998 10:31:27 +1030 From: Matthew Thyer <thyerm@camtech.net.au> To: Trenton Schulz <twschulz@gloria.cord.edu> Cc: FreeBSD CURRENT <current@FreeBSD.ORG> Subject: Re: trouble booting Message-ID: <3509C8D7.60F8C892@camtech.net.au> References: <Pine.BSI.3.96.980313092857.24726A-100000@gloria.cord.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Change your /etc/fstab root filesystem entry.
You obviously haven't been reading the cvs-all
mailing list and thus should not be running current.
from:
/dev/wd0a / ufs rw 1 1
to:
/dev/wd0s2a / ufs rw 1 1
Trenton Schulz wrote:
>
> My recent CVSUP from 3/9 on seems to give me trouble when I'm booting. My
> computer's hard disk has two partitions one for DOS and one for FreeBSD.
> The Make World and re-making the kernel go alright, but when I boot, the
> kernel tells me it is switching the root device to wd0s3a. At this point
> it seems to fsck the disks but then gives the message that the "filesystem
> failed to mount" and puts me in single user mode with a read-only root
> filesystem. Luckily the previous kernel still boots correctly. This
> allowed the correct specification of devices is fstab, (wd0s2a for root
> device, wd0s3a causing the system to not do anything) but when I reboot
> the machine it still gives me the same error about the filesystem failing.
> When I try to remount root it tells me that wd0s2a doesn't match mounted
> device, but yet if I mount wd0s2a on /mnt, it _is_ the root partition. I
> thought a new make world and kernel would solve this problem, but it
> hasn't. I'm sorry for being so ignorant on what to do, but could someone
> please help me get my system to boot on something besides an old kernel?
>
> Trenton Schulz
> twschulz@cord.edu
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
--
/=====================================================================\
|Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au|
\=====================================================================/
"If it is true that our Universe has a zero net value for all conserved
quantities, then it may simply be a fluctuation of the vacuum of some
larger space in which our Universe is imbedded. In answer to the
question of why it happened, I offer the modest proposal that our
Universe is simply one of those things which happen from time to time."
E. P. Tryon from "Nature" Vol.246 Dec.14, 1973
[-- Attachment #2 --]
Received: from y.physics.usyd.edu.au (y.physics.usyd.edu.au [129.78.129.110]) by goliath.camtech.com.au (8.8.5/8.8.2) with ESMTP id BAA11542 for <thyerm@camtech.net.au>; Mon, 9 Mar 1998 01:57:41 +1030 (CST)
Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by y.physics.usyd.edu.au (8.8.5/8.8.2) with ESMTP id CAA27901; Mon, 9 Mar 1998 02:24:27 +1100 (EST)
Received: from localhost (daemon@localhost)
by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA05589;
Sun, 8 Mar 1998 07:24:24 -0800 (PST)
(envelope-from owner-freebsd-current)
Received: by hub.freebsd.org (bulk_mailer v1.6); Sun, 8 Mar 1998 07:20:16 -0800
Received: (from majordom@localhost)
by hub.freebsd.org (8.8.8/8.8.8) id HAA04712
for freebsd-current-outgoing; Sun, 8 Mar 1998 07:20:12 -0800 (PST)
(envelope-from owner-freebsd-current@FreeBSD.ORG)
Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145])
by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04706;
Sun, 8 Mar 1998 07:20:06 -0800 (PST)
(envelope-from mike@dingo.cdrom.com)
Received: from dingo.cdrom.com (localhost [127.0.0.1])
by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id HAA10644;
Sun, 8 Mar 1998 07:18:50 -0800 (PST)
Message-Id: <199803081518.HAA10644@dingo.cdrom.com>
X-Mailer: exmh version 2.0zeta 7/24/97
To: Michael Smith <msmith@FreeBSD.ORG>
cc: current@FreeBSD.ORG
Subject: Re: cvs commit: src/sys/sys reboot.h src/sys/i386/i386 autoconf.c
In-reply-to: Your message of "Sun, 08 Mar 1998 07:06:58 PST."
<199803081506.HAA06931@freefall.freebsd.org>
Mime-Version: 1.0
Date: Sun, 08 Mar 1998 07:18:50 -0800
From: Mike Smith <mike@smith.net.au>
Sender: owner-freebsd-current@FreeBSD.ORG
X-Loop: FreeBSD.ORG
Content-Type: text/plain; charset=us-ascii
> Modified files:
> sys/i386/i386 autoconf.c
> Log:
> Construct the minor number for the root device taking into account the
> slice number passed in by the bootblocks. This means the kernel will
> not use the compatability slice to obtain the root filesystem when
> booting from a sliced disk.
*WARNING*
If your boot disk is sliced (has a partition table), and you have not
upgraded /sbin/mount to the most recent version preceeding this change,
you will have problems booting.
This change means that if your current /etc/fstab looks like this:
/dev/xd0a / ufs ...
/dev/xd0s2e /usr ufs ...
you need to update it to look like:
/dev/xd0s2a / ufs ...
/dev/xd0s2e /usr ufs ...
Note that the root filesystem is now consistent with the others. If
you are using a 'dedicated' disk, you will have entries like
/dev/xd0a / ufs ...
/dev/xd0e /usr ufs ...
and you should *not* change.
The recent update to /sbin/mount includes compatability support which
will ease this transition.
--
\\ 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?3509C8D7.60F8C892>
