From owner-freebsd-questions Wed Mar 31 22:34:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (Postfix) with ESMTP id 020F115C62 for ; Wed, 31 Mar 1999 22:34:39 -0800 (PST) (envelope-from A_Johns@TurnAround.com.au) Received: from TurnAround.com.au (dhcp64.turnaround.com.au [192.168.1.64]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with ESMTP id QAA26885; Thu, 1 Apr 1999 16:39:26 +1000 (EST) (envelope-from A_Johns@TurnAround.com.au) Message-ID: <3703136B.1E1D9308@TurnAround.com.au> Date: Thu, 01 Apr 1999 16:34:19 +1000 From: Andrew Johns Organization: TurnAround Solutions P/L X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Zviad Sulaberidze Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Fatal mistake; HELP!! References: <37031C79.A9068CBD@mmc.net.ge> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zviad Sulaberidze wrote: > > Hi guys! > > I have a problem, help me! > > I had 3 SCSI disks on my server with 2.2.7, I brought new IDE one and > installed 3.1, IDE became bootable, I mounted old disks like this: > > #File fstab > . > . > . > /dev/wd0s2e / ufs rw 2 2 > /dev/da0s2 /.1 ufs rw 2 2 > /dev/da1s1 /.2 ufs rw 2 2 > /dev/da2s1 /.3 ufs rw 2 2 > . > . > > the old fstab on da0 (on old system it was sd0) was: > > # Device Mountpoint FStype Options Dump > Pass# > /dev/sd0s2b none swap sw 0 > 0 > /dev/sd0s1 /dos msdos rw 0 > 0 > /dev/sd0s2a / ufs rw 1 > 1 > /dev/sd0s2f /usr ufs rw 2 > 2 > /dev/sd0s2e /var ufs rw 2 > 2 > /dev/sd1s1 /.2 ufs rw 2 > 2 > /dev/sd2s1 /.3 ufs rw 1 > 1 > proc /proc procfs rw 0 > 0 > > when I tried to mount firs time da0s2f, then da0s1 on boot I get > shell prompt in single user mode, I cannot boot any more because of > fstab, and cannot reedit or backup fstab bacuse of "read-only > filesystem" > > please, teach me how to make the filesystem in single user mode > "read-write", > Easier than you can imagine: mount -u / Then your root fs will be read AND writable. > and how to mount old partitions e.g. /dev/sd0s2f on new system? > Then fix your /etc/fstab (if required). Then (finally) "mount -a" to mount remaining file systems. -- Regards | _/\_/\ Andrew Johns BSc (Comp Sci) | / \ TurnAround Solutions Pty Ltd | \_...__/ http://www.turnaround.com.au/ | \/ "The box said 'Requires Windows 95, NT, or better,' so I installed FreeBSD." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message