Date: Sat, 14 Mar 1998 10:42:24 +1030 From: Matthew Thyer <thyerm@camtech.net.au> To: Trenton Schulz <twschulz@gloria.cord.edu>, FreeBSD CURRENT <current@FreeBSD.ORG> Subject: Re: trouble booting Message-ID: <3509CB68.C87849FA@camtech.net.au> References: <Pine.BSI.3.96.980313092857.24726A-100000@gloria.cord.edu> <3509C8D7.60F8C892@camtech.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------39B25067C1D6E5EBA1BC3139
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Oops.
Sorry for that last mail. I had not read all your message before
sending it.
I'm not sure what is wrong..
I have successfully gone through that point in CURRENT.
I always make a new kernel, boot on it and then make world.
I updated my fstab before booting the first new kernel and my
make world and next kernel worked fine.
Matthew Thyer wrote:
>
> 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
>
> ------------------------------------------------------------------------------
>
> Subject: Re: cvs commit: src/sys/sys reboot.h src/sys/i386/i386 autoconf.c
> Date: Sun, 08 Mar 1998 07:18:50 -0800
> From: Mike Smith <mike@smith.net.au>
> To: Michael Smith <msmith@FreeBSD.ORG>
> CC: current@FreeBSD.ORG
>
> > 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
--
/=====================================================================\
|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
--------------39B25067C1D6E5EBA1BC3139
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 NAA03211 for <thyerm@camtech.net.au>; Mon, 9 Mar 1998 13:13: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 NAA02176; Mon, 9 Mar 1998 13:37:38 +1100 (EST)
Received: from localhost (daemon@localhost)
by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA28027;
Sun, 8 Mar 1998 18:37:21 -0800 (PST)
(envelope-from owner-freebsd-current)
Received: by hub.freebsd.org (bulk_mailer v1.6); Sun, 8 Mar 1998 18:30:46 -0800
Received: (from majordom@localhost)
by hub.freebsd.org (8.8.8/8.8.8) id SAA26613
for freebsd-current-outgoing; Sun, 8 Mar 1998 18:30:44 -0800 (PST)
(envelope-from owner-freebsd-current@FreeBSD.ORG)
Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38])
by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26608
for <current@FreeBSD.ORG>; Sun, 8 Mar 1998 18:30:40 -0800 (PST)
(envelope-from julian@whistle.com)
Received: (from daemon@localhost)
by alpo.whistle.com (8.8.5/8.8.5) id SAA17159;
Sun, 8 Mar 1998 18:24:15 -0800 (PST)
Received: from UNKNOWN(), claiming to be "current1.whistle.com"
via SMTP by alpo.whistle.com, id smtpd017156; Sun Mar 8 18:24:11 1998
Date: Sun, 8 Mar 1998 18:19:53 -0800 (PST)
From: Julian Elischer <julian@whistle.com>
To: Chuck Robey <chuckr@glue.umd.edu>
cc: Mike Smith <mike@smith.net.au>, Thomas Dean <tomdean@ix.netcom.com>,
current@FreeBSD.ORG
Subject: Re: cvs commit: src/sys/sys reboot.h src/sys/i386/i386 autoconf.c
In-Reply-To: <Pine.BSF.3.96.980308211100.438I-100000@localhost>
Message-ID: <Pine.BSF.3.95.980308181702.17718G-100000@current1.whistle.com>
MIME-Version: 1.0
Sender: owner-freebsd-current@FreeBSD.ORG
X-Loop: FreeBSD.ORG
Content-Type: TEXT/PLAIN; charset=US-ASCII
the easiest way is to see the output of
fdisk /dev/rwd0
if the BSD partition starts at 0
then it's dangerously dedicated.
if it starts above 0 then it's not
On Sun, 8 Mar 1998, Chuck Robey wrote:
> On Sun, 8 Mar 1998, Mike Smith wrote:
>
> Mike, regarding the disk, I can't remember if I made the disk I'm using
> right now "dangerously dedicated" or not, and there isn't, obviously
> (else I wouldn't be confused) any msdos partition. Seeing as I don't
> dare make a mistake on this, and don't do all that much installation,
> would you kindly tell me exactly what I should do to find out if I have
> to change my fstab or not?
>
> I'm purposely omitting my fstab so that your answer will be general
> enough so that everyone will have no excuse for not reading your answer,
> and won't end up screwed if they make some messy mistake.
>
> I am not sure what to look for in doing disklabel, to show me if the
> disk is dangerously dedicated or not.
>
> ----------------------------+-----------------------------------------------
> Chuck Robey | Interests include any kind of voice or data
> chuckr@glue.umd.edu | communications topic, C programming, and Unix.
> 213 Lakeside Drive Apt T-1 |
> Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD
> (301) 220-2114 | version 3.0 current -- and great FUN!
> ----------------------------+-----------------------------------------------
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
--------------39B25067C1D6E5EBA1BC3139--
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?3509CB68.C87849FA>
