LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo installation problem with Nano (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-installation-problem-with-nano-98613/)

k_brother 09-30-2003 10:04 AM

Gentoo installation problem with Nano
 
is there a possibillity to use another editor then nano in the installation of gentoo.

if I want e.g. edit the fstab file with the following commando

nano -w /etc/fstab

i get the following error:

Illegal instruction

:cry:
If i go to the next terminal I can work with it but it seems like i can't edit the same fstab file

greetings

viniosity 09-30-2003 05:38 PM

vi
 
I'm pretty sure that vi ships with it.

vi /etc/fstab

It's not as easy as nano but it ships with almost every distro I've seen making it really worth knowing. Especially if you have to ssh somewhere over a slow pipe - it was designed to work via 1200bps modem! Here's a good source for the navigation commands:

http://www.chem.brown.edu/instructions/vi.html

Good luck

k_brother 10-01-2003 10:21 AM

uhu
 
i've tried getting vi by the commando

emerge -k vi

which downloads all the dependencie's and the program itselfs not easy to work with but it works.

strange bug in gentto installation :-s

thanks anyway i'll start studying over the commands for vi ;-)

speter 10-01-2003 12:08 PM

I'm glad to see somebody else got the same error as I did. I searched the gentoo site in vain for an explanation. I found that nano worked if I chrooted out of the mounted file system, but clearly that was not how it was supposed to be done.

Steve

wafti123 11-06-2003 01:00 AM

Hi All,

I got the same error installing Gentoo for the Pentium III. Nano seems to be available until I perform the chroot part (as stated in the instructions). After that, I get the same error as you.

shole 11-06-2003 02:03 AM

did you download your gentoo or you got it from somebody?
if u downloaded it check the md5 sum?
i m pretty sure if ur net is setup correctly u will b able to emerge nano and use it.

wafti123 11-06-2003 03:55 AM

No, I didn't check the MD5 sum (I burnt the CD successfully, is this still possible when the ISO data is corrupted?).

Anyway, I wanted to emerge from the level 3 builds (provided on the CD) to avoid internet access as I only have modem dialup access.

Thanks

shole 11-06-2003 07:17 PM

wafti123

hm....downloaded. there is a very high chance that your copy is corrupted.
and yes, u will still be able to burn your iso file to cd if the data is corrupted

there is another alternative to nano/vi. use the "cat" command. i will not recommend u do that thou. type "man cat" for more info. the command is a lot like the "type" command for dos.

try redownload the latest version (*20030911.iso), and use grp install. make sure u follow this instruction exactly. the one that came with your cd my be outdated.

hope this help

:D

wafti123 11-06-2003 09:12 PM

Thanks Shole,

but how is it that nano worked before I ran the chroot command?

Ta


All times are GMT -5. The time now is 04:13 AM.