Date: Thu, 01 Apr 1999 16:34:19 +1000 From: Andrew Johns <A_Johns@TurnAround.com.au> To: Zviad Sulaberidze <zvi@mmc.net.ge> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Fatal mistake; HELP!! Message-ID: <3703136B.1E1D9308@TurnAround.com.au> References: <37031C79.A9068CBD@mmc.net.ge>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3703136B.1E1D9308>