installed ATA RAID, now cannot boot - get mountroot prompt

DA Forsyth iwrTech at iwr.ru.ac.za
Wed Aug 25 07:54:13 PDT 2004


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/





More information about the freebsd-questions mailing list