You could try using the ed editor which should be located on the root
partition for just this reason. Or, manually mount the usr partition when
you get to the shell prompt so you have access to other editors such as vi.
Hopefully you know what partition the usr file system is on (ie da0s1e) and
can then use: mount /dev/da0s1e /usr
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
> prompt and I type
> 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
> [EMAIL PROTECTED] mailing list
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"