From owner-freebsd-chat Tue Feb 24 21:54:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA11453 for freebsd-chat-outgoing; Tue, 24 Feb 1998 21:54:48 -0800 (PST) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from smtp.interlog.com (root@smtp.interlog.com [198.53.145.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA11384 for ; Tue, 24 Feb 1998 21:54:22 -0800 (PST) (envelope-from paulg@interlog.com) Received: from shell1.interlog.com (paulg@shell1.interlog.com [207.34.202.8]) by smtp.interlog.com (8.8.3/8.8.5) with SMTP id AAA23702 for ; Wed, 25 Feb 1998 00:54:07 -0500 (EST) Date: Wed, 25 Feb 1998 00:53:30 -0500 (EST) From: Paul Griffith To: freebsd-chat@FreeBSD.ORG Subject: Re: help /dev/sd01s1b gone after MAKEDEV all In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Okay I solved the problem. Thanks to the people who suggested the following tip. cd /dev ./MAKEDEV sd0s1b Now this would have worked if I had the Walnut Creek CD-ROM set. I could then use the fixit option and used the live file system to recover. You see chmod/chown sits in /usr/local/sbin. Since I couldn't mount my /usr partition, ( did I forget to mention that) MAKEDEV would die. I solved the problem by doing the following: 1) Boot from install floppy 2) I select all the drives that were affected 3) Then used disklabel to set each partition back to there correct mount point, with the Newfs option set to NO. 4) Clear my distribution set 5) then selected commit Sysinstall then wrote out the disklabels, updated /dev, and ran a fsck on all partitions. There was once side effect, my /etc/services file had only 4 lines in it. Because of this, syslogd would complain about a missing syslogd/udp entry missing from /etc/services and exit with a error message. This little problem as solved by installing the source for /etc in /usr/src/etc. I then copied the full services file into /etc. Adjusted /etc directory permissions. Rebooted Now all is well. Good Night Many Thanks to those who helped. Paul Griffith - paulg@interlog.com BTW: If this was NT I would be in hell. Why is NT so unforgiving ? Also when you buy a FreeBSD CD-ROM set, buy the Walnut Collection. I had the Infomagic FreeBSD/NetBSD combo. It is a very good set mind you, but if I had that live file system CD-ROM, I would have solved this problem a long time ago. Time to renew my subscription to FreeBSD. On Tue, 24 Feb 1998, Paul Griffith wrote: > > Okay I did something very foolish, I typed MAKEDEV all from the /dev > directory, now everytime I reboot I get the following error messages: > /dev/sd0s1b No file or directory > /dev/sd1s1b No file or directory > those two are my swap partitions > > /dev/sd1s1e -No file or directory > can't stat /dev/sd1s1e > Non this is my 2GB /usr drive > > /dev/od0s1e - No file or directory > That's my optical backup > > BTW: I am running 2.2.2, Any clues or ideas I will the fixit option from > the CD-ROM > > Thanks > Paul Griffith - paulg@interlog.com > P.S: Feel free to post all night long, I might be up that long. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-chat" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message