From owner-freebsd-questions Mon Mar 25 17: 0:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 40A8C37B429 for ; Mon, 25 Mar 2002 16:59:38 -0800 (PST) Received: from hades.hell.gr (patr530-a020.otenet.gr [212.205.215.20]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g2Q0xTIg016115; Tue, 26 Mar 2002 02:59:30 +0200 (EET) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g2Q0xSxp001366; Tue, 26 Mar 2002 02:59:28 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g2Q0xQ9x001365; Tue, 26 Mar 2002 02:59:26 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Tue, 26 Mar 2002 02:59:26 +0200 From: Giorgos Keramidas To: Lisa Williams Cc: freebsd-questions@freebsd.org Subject: Re: Rescue CD question (newbie) Message-ID: <20020326005926.GA1296@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-03-25 08:22, Lisa Williams wrote: > I screwed up my /etc/fstab file. I copied an fstab file from a floppy and > without checking to make sure it was properly copied, I rebooted. Now I > can't boot. > > How do I use the rescue disc to mount the partitions? I've tried going to > the fixit: prompt and typing: mount /(no good), mount dev/ad0s1a (no good).. > mount /usr/ ( doesn't work either) > > How do I mount the hard drive, or does someone have a url I can go to to get > information I need? You want to use mount as shown in the example below: # mount -t ufs -o ro /dev/ad0s1a /mnt In this command line: -t ufs => This is a BSD ufs filesystem we're mounting. -o ro => Mount it as read-only. /dev/ad0s1a => Partition 'a' of slice '1' in disk 'ad0'. /mnt => Where to mount this partition. The device name might be different from /dev/ad0s1a but you can use fdisk and disklabel to view the slices and partitions of what disks you have. Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message