Date: Wed, 25 Aug 2004 11:12:29 -0400 From: mailist@whoweb.com To: iwrTech@iwr.ru.ac.za, freebsd-questions@freebsd.org Subject: Re: installed ATA RAID, now cannot boot - get mountroot prompt Message-ID: <200408251112.29101.mailist@whoweb.com> In-Reply-To: <412CC41E.6985.5394A58@localhost> References: <412CC41E.6985.5394A58@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408251112.29101.mailist>