1833868 Members
1731 Online
110063 Solutions
New Discussion

Vi

 
Ali Imran Abbas
Regular Advisor

Vi

How can we start vi in single user or maintenance mode
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Vi

First mount usr. You can either do "mount -a" or "mount /usr". Then you can run /usr/bin/vi.


Pete

Pete
Ali Imran Abbas
Regular Advisor

Re: Vi

I tried to mount usr, its giving following error
# mount /usr
vxfs mount: Cannot open /dev/vgroot/lvusr: No such device or address
Patrick Wallek
Honored Contributor

Re: Vi

You may have to activate the VG first.

# vgchange -a y /dev/vgroot
Bill Hassell
Honored Contributor

Re: Vi

You will have to mount 3 directories in single user mode:

/usr
/var
/tmp

Of course, the volume group with these lvols must first be activated.


Bill Hassell, sysadmin