editors in rescue mode

NoOp glgxg at sbcglobal.net
Mon Aug 4 00:52:14 UTC 2008


On 08/03/2008 05:26 PM, Robert Holtzman wrote:
> On Sun, 3 Aug 2008, Brian McKee wrote:
> 
>> On Sun, Aug 3, 2008 at 7:17 PM, Robert Holtzman <holtzm at cox.net> wrote:
>>> Recently my system locked up because I screwed up my ~/.profile file. I
>>> decided to boot into rescue mode from the alternate ubuntu CD and couldn't
>>> find a text editor. Tried vim, vi, emacs, pico, etc all to no avail. Gave
>>> up, bailed out and booted into single user from the hard drive and found
>>> all the editors, repaired ~/.profile and all was well. The burning
>>> question is what editor is available on the alternate ubuntu CD rescue
>>> mode. There must be at least one or rescue mode is all but useless.
>>
>> That's odd - I had a thread running here last week on the same
>> subject.  Vi and nano where there, just the terminal emulation was an
>> issue.   Did you use the 'rescue a broken system' option?
> 
> Yes. I didn't try nano, didn't think of it.
> 

It wouldn't have worked properly anyway; see Brian's earlier thread on
this: "vi almost unusable in recovery console"

If you have a working network connection on the machine:

# apt-get install bogl-bterm

That installs bterm and thereafter you will be able to use vi or nano in
"rescue a broken system". This is  a pretty serious bug IMO as you
shouldn't have to have a network connection the "rescue a broken system".

and Brian's bug report (I'm surprised he didn't post this for you):
https://bugs.launchpad.net/bugs/253758





More information about the ubuntu-users mailing list