[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Messed up /usr



> Boot off that nice shiny CD set you have.  Type s for shell.  Mount the
> partition /etc is on manually, edit /etc/fstab, reboot.  All is well
> with the world.

'boot -s', 'mount /' (to get it rw), and use ed(1), which is in /bin, to
edit /etc/fstab, then reboot.

Or 'boot -s' and mount / and the correct /usr, then use vi or other
/usr/bin editor (you'll also need to 'export TERM=vt220').

It's also another reason to have /bsd.rd installed, as you could
'boot /bsd.rd' if things were really messed up.


You don't need to change boot media, which is handy if you have serial
console access and are at a distance (or too lazy to move hands from
keyboard).

Good luck,

-f
http://www.blackant.net/