LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2003, 10:04 AM   #1
k_brother
LQ Newbie
 
Registered: Apr 2002
Posts: 20

Rep: Reputation: 1
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


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
 
Old 09-30-2003, 05:38 PM   #2
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
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
 
Old 10-01-2003, 10:21 AM   #3
k_brother
LQ Newbie
 
Registered: Apr 2002
Posts: 20

Original Poster
Rep: Reputation: 1
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 ;-)
 
Old 10-01-2003, 12:08 PM   #4
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
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
 
Old 11-06-2003, 01:00 AM   #5
wafti123
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
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.
 
Old 11-06-2003, 02:03 AM   #6
shole
LQ Newbie
 
Registered: Nov 2003
Location: KL, M'sia
Distribution: FC3 on P!!!1G 512MB RAM
Posts: 27

Rep: Reputation: 15
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.
 
Old 11-06-2003, 03:55 AM   #7
wafti123
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
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
 
Old 11-06-2003, 07:17 PM   #8
shole
LQ Newbie
 
Registered: Nov 2003
Location: KL, M'sia
Distribution: FC3 on P!!!1G 512MB RAM
Posts: 27

Rep: Reputation: 15
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

 
Old 11-06-2003, 09:12 PM   #9
wafti123
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Thanks Shole,

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

Ta
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo installation problem introuble Linux - General 4 08-26-2004 12:15 PM
Problem while doing make on nano-1.2.1 zeroversion Linux - Software 1 11-25-2003 04:58 AM
XFree86 problem in Gentoo 1.4 Installation Eve7698 Linux - Distributions 2 11-20-2003 09:29 AM
Gentoo installation problem Zerodark Linux - Distributions 4 11-11-2003 08:52 PM
Gentoo 1.4 installation problem satimis Linux - General 3 09-14-2003 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration