Boot fail, please help!
Spadge Fromley
spadge at fromley.net
Thu Oct 26 16:14:09 BST 2006
> Can anyone tell me how to edit fstab, or how to boot into normal mode so I
> can get started?
Seriously, I detest vi so much that when I am stuck with having to edit a
file in single user mode with no other editor available, I will always
choose 'cat | sed' :D
mv /etc/fstab /etc/fstab.old
cat /etc/fstab.old | sed 's/^\/dev\/ad1s1d/\#\/dev\/ad1s1d/g' > /etc/fstab
if your disk were ad1s1d
Or ...
You could try booting into single user mode, mounting /usr, and using ee
or whatever you normally use. And perhaps consider using a flat filesystem
in future.
You may need to 'mount -w /' to get into read/write on / anyway, in single
mode.
Good luck.
--
Spadge
'Intoccabile'
More information about the Ukfreebsd
mailing list