From owner-freebsd-questions@FreeBSD.ORG Wed Aug 25 15:11:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F52116A4CE for ; Wed, 25 Aug 2004 15:11:20 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C41743D4C for ; Wed, 25 Aug 2004 15:11:20 +0000 (GMT) (envelope-from mailist@whoweb.com) Received: from h000092a708fc.ne.client2.attbi.com ([24.131.157.19]) by comcast.net (sccrmhc11) with SMTP id <2004082515111801100bri6be>; Wed, 25 Aug 2004 15:11:19 +0000 From: mailist@whoweb.com To: iwrTech@iwr.ru.ac.za, freebsd-questions@freebsd.org Date: Wed, 25 Aug 2004 11:12:29 -0400 User-Agent: KMail/1.5.4 References: <412CC41E.6985.5394A58@localhost> In-Reply-To: <412CC41E.6985.5394A58@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408251112.29101.mailist@whoweb.com> Subject: Re: installed ATA RAID, now cannot boot - get mountroot prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 15:11:20 -0000 Try this. Get to the shell prompt and run: ed /etc/fstab 1,$s/ad0/da0/ w q Then reboot the system. On Wednesday 25 August 2004 12:53 pm, DA Forsyth wrote: > Hiya all > > I'm searching the web for answers on this too, but so far nothing > useful. hard to know what question to ask the search engines! > > anyhow, the situation: > I installed 5.2.1-R some time back as a start to making a new server. > I used a 40 and an 80 Gb IDE drive plugged into the motherboard > Now I've got an Adaptec 2400a IDE RAID card and have installed it. > I created to raid 1 packs (2x40 and 2x80) and behold it starts to > boot, finds all the drives etc, no problems, > but then > it cannot find root as root WAS on /dev/ad0s1a > and is now on /dev/da0s1a > I get a > mountroot> > prompt and I type > ufs:/dev/da0s1a > and it starts to boot but obviously gets a lot of errors because > /etc/fstab contains the old drives names. > > I eventually get a shell but cannot now edit fstab because only root > has mounted and all the editors are 'somewhere unmounted' > > now I'm lost. how to do edit fstab to get it to mount the > partitions? doubly lost because I know I can mount them manually but > don't know the parameters for 'mount' and , yes, 'man' won't work > either. yes, I'm still new at this BSD thing.... please help anyway. > > > -- > DA Fo rsyth Network Supervisor > Principal Technical Officer -- Institute for Water Research > http://www.ru.ac.za/institutes/iwr/ > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"