View Single Post
  #4   (View Single Post)  
Old 21st July 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by sepuku View Post
How can i edit the /etc/fstab?I have not vi available as far as i can see.
I assume you are attempting to edit having booted with bsd.rd which is more than simply a kernel -- bsd.rd installs a limited system into memory for the purposes of installation. As such, only ed(1) is available in this environment. ed(1) is very simple programmatically (& it doesn't consume much space...) -- some might characterize it as primitive.

Assuming you installed the complete system onto the hard drive being transferred, vi(1) is available as it is installed in /usr/bin. In order to access vi(1), you will need to manually mount the partition containing /usr.
Reply With Quote