[rescue] solaris missing /usr question
David Holland
dholland at woh.rr.com
Sat Mar 22 19:21:56 CST 2003
Presuming you can get to a root shell.
(You may need to boot with the -b flag, to get said shell)
# /sbin/umount /user
# /sbin/mount /dev/blah/blah /usr
# TERM=vt100
# export TERM
# vi /etc/vfstab
Outta work. (At least in theory)
David
On Sat, 2003-03-22 at 17:21, Joshua D. Boyd wrote:
> I miss typed something in my vfstab file, so now my disk with /usr on it
> is mounting in the wrong place. So, I have a /oldusr, and a /user, but
> no /usr. Well, this would be fine, except that I can't seem to do
> anything without /usr. All I really need is to be able to edit out one
> little e in my vfstab file, but I can't seem to do anything other than
> cd and pwd now. mv, cp, alias, and most importantly vi all seem to be
> dynamically linked so since /usr/lib doesn't exist, they won't work.
> Eg.
> # /oldusr/bin/cp
> cp: Cannot find /usr/lib/ld.so.1
>
> Can anyone offer any suggestions other than reinstalling everything?
> _______________________________________________
> rescue list - http://www.sunhelp.org/mailman/listinfo/rescue
More information about the rescue
mailing list