From owner-freebsd-questions Tue Feb 24 12:26:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00181 for freebsd-questions-outgoing; Tue, 24 Feb 1998 12:26:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA29994 for ; Tue, 24 Feb 1998 12:25:54 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA26379; Tue, 24 Feb 1998 12:25:22 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 24 Feb 1998 12:25:22 -0800 (PST) From: Doug White Reply-To: Doug White To: Roger P Johnson cc: questions@FreeBSD.ORG Subject: Re: corrupt root files system; How to boot from CDROM for fixing ? In-Reply-To: <199802232017.OAA09515@mirage.skypoint.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 23 Feb 1998, Roger P Johnson wrote: > Something happend during the night, and when I came in this morning the > system booted up into the /stand/sysinstall program. > > Rebooting, here is what I get: > changing root device to sd0a > WARNING: / was not properly dismounted. > exec /sbin/init: error 20 > exec /sbin/oinit: error 20 > exec /sbin/init.bak: error 20 > /stand/sysinstall running as init Interesting fallback....! > Ok. I try the fixit option. fixit cannot mount the fixit floppy nor the > 2nd cdrom. Use the boot floppy, select Fixit, then CDROM. Stick the LFS CD in there when prompted and you'll at least have some applications on the holographic shell. > install the core stuff on /, /usr and /var ? Will the installation > overwrite my other partions on /home, /u, /source and will they be > lost or just as they where ? It depends on the amount of damage to the filesystem. You should really use `fsck -y' to fix everything, at this point it's going to be lost anyway. If repeated fsck -y's won't fix things, you'll have to reinstall. > Q3: Can I cpio the whole partions to tape, re-install using the exact > same filesystem sizes and restore the partion from the tape ? > I am having a hard time cpio'ing say /dev/sd0s2e to tape, if this > is even possible. I am missing dump also. It's on the CD. You may have to create device nodes to support your tape. (/ is on an MFS so you can write to it). Yuck, yuck, yuck. Got a current backup? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message