Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

text file editor for rescue mode?

518 views
Skip to first unread message

terryc

unread,
Jun 20, 2009, 11:21:52 PM6/20/09
to
Is there any and what is it?

Hint, don't make a guess or comment if you do not know. there are plenty
of examples of this already on the internet.


John F. Morse

unread,
Jun 20, 2009, 11:44:11 PM6/20/09
to


There are also plenty of examples of questions where the poster fails to
provide the distro name and/or release version, or doesn't ask a full
question in the body of the message.

With that in mind, you could try:

vi
vim
joe
nano
ed

It all depends on what you had installed prior to borking your system.


--
John

No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.

Message has been deleted

terryc

unread,
Jun 21, 2009, 9:21:31 PM6/21/09
to
On Sun, 21 Jun 2009 08:09:42 -0500, sk8r-365 wrote:

> In witness thereof, terryc stated:


>> Is there any and what is it?
>

> www.debian.org/doc/manuals/en/reference.pdf - read chapter 11.


>
>> Hint, don't make a guess or comment if you do not know. there are
>> plenty of examples of this already on the internet.
>

> Hint: it's a bad idea to be a beggar and chooser.

Hint 1, if you don't know wtf you are talking about, then don't.
Hint 2, being able to enter google in a browser doesn't count as knowing
wtf you are talking about.

Jimmy Johnson

unread,
Jun 25, 2009, 12:50:42 PM6/25/09
to


What have you tried so far?
--
Jimmy Johnson

Registered Linux User #380263

yugrotavele

unread,
Jun 25, 2009, 6:15:08 PM6/25/09
to
Jimmy Johnson wrote on 06/25/2009 11:50 AM:
> terryc wrote:
>> Is there any and what is it?
>>
>> Hint, don't make a guess or comment if you do not know. there are
>> plenty of examples of this already on the internet.
>
>
> What have you tried so far?

vi or nano

terryc

unread,
Jun 25, 2009, 7:33:43 PM6/25/09
to
On Thu, 25 Jun 2009 09:50:42 -0700, Jimmy Johnson wrote:

> terryc wrote:
>> Is there any and what is it?
>>
>> Hint, don't make a guess or comment if you do not know. there are
>> plenty of examples of this already on the internet.
>
>
> What have you tried so far?

Tried all the ones that were loaded on my system. The "gotcha" devil in
this question is the situation; "rescue mode".

Message has been deleted

terryc

unread,
Jun 26, 2009, 4:00:07 AM6/26/09
to
On Fri, 26 Jun 2009 01:03:05 -0500, sk8r-365 wrote:


> Obviously you didn't read TFM.

It isn't in TFM. Have you ever read TFM? Noticed how old it is?

> I don't use a kill file, but you are a
> whiner of top level.

I've paid my dues.

> Plus, I've never seen anyone as inept as you are
> using a very simple OS.

That is where you are deluded. Linux is definitely not a simple OS
anymore.

> Yet, as regarding a kill file, I will choose to
> ignore you.

Starting tomorrow no doubt? {:-)

> I've never seen a singular post by you complimenting Linux
> or Debian ... you trolling boob.

I take it you don't know the answer either.

Jimmy Johnson

unread,
Jun 26, 2009, 7:35:24 AM6/26/09
to


I used the rescue mode once to setup grub, so I don't know what tools
are available, just a guess, you will probably have to chroot into your
existing system.

Neil Ellwood

unread,
Jun 26, 2009, 9:49:16 AM6/26/09
to

He asked which ones you had tried - just a little clue, he does have your
computer in front of him so how would he know which ones you have tried.

--

Neil
reverse ra and delete l
Linux user 335851

Message has been deleted

mechanic

unread,
Jun 26, 2009, 12:49:07 PM6/26/09
to

Surely the obvious ones are vi and nano? Try those and see.

Message has been deleted

terryc

unread,
Jun 26, 2009, 8:43:19 PM6/26/09
to
On Fri, 26 Jun 2009 04:35:24 -0700, Jimmy Johnson wrote:


>> Tried all the ones that were loaded on my system. The "gotcha" devil in
>> this question is the situation; "rescue mode".
>
>
> I used the rescue mode once to setup grub, so I don't know what tools
> are available, just a guess, you will probably have to chroot into your
> existing system.

That isn't the issue. It is when you need to change a file such as /boot/
grub/menu.lst or /etc/fstab, or similar, none of the common editors will
run because of "environmental" constraints.

In the past, I've sometimes been able to grep files, but that requires
the lines you need to be already working in the file.

terryc

unread,
Jun 26, 2009, 8:49:15 PM6/26/09
to
On Fri, 26 Jun 2009 14:24:33 -0500, sk8r-365 wrote:

> In witness thereof, mechanic stated:


>>
>> Surely the obvious ones are vi and nano? Try those and see.
>

> ed and nano are default on my minimal Lenny install (/bin).

If you want politeness and respect, why don't you try them and see for
yourself, then report back. BTDT, you learn.

J G Miller

unread,
Jul 19, 2009, 8:32:38 AM7/19/09
to
On Sat, 27 Jun 2009 00:43:19 +0000, terryc wrote:

> In the past, I've sometimes been able to grep files, but that requires
> the lines you need to be already working in the file.

If the lines need changing, then use /bin/sed to make the corrections,
directing the output to a temporary file file.TMP.

Then move the original to a file.SAV and finally move your file.TMP to file.

0 new messages