installed ATA RAID, now cannot boot - get mountroot prompt

mailist at whoweb.com mailist at whoweb.com
Wed Aug 25 08:11:20 PDT 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list