LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2003, 07:40 PM   #16
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Rep: Reputation: 30

I use Mandrake 9.1 for i586, but I am running an i686 (Intel Celeron). Mandrake detected everything, and the customer service at Intel told me to use 9.1 for i586.
 
Old 07-09-2003, 07:56 PM   #17
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
InSane103, I like your signature!

Now tell me, where did you get the kernel? Is it on the cd you created from iso images, or did you select it in some config file? Inquiring minds want to know!

I had to be in XP for a while the last couple of days to use PageMaker. Don't know what open source software replaces it. I've had more trouble than you can imagine this morning with all manner of M$ junk! I'm so glad to be back in my Linux hdd.

I am installing Linux on a Athlon 2000+ today, and that's my first priority. My personal machine is a P4 2.4 Ghz, and I have the i386 from RedHat's ftp site. I want to change some things, and dump the packages I don't need (if I can determine which they are) so it'll run faster.

As soon as I learn The Gimp a little better, and find something to replace PageMaker, I won't need windoze anymore. I'll give that hdd a low level format with the Maxtor utility, and then put another Linux distro on it.
 
Old 07-09-2003, 08:14 PM   #18
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Rep: Reputation: 30
Ok, Mandrake ISO from: http://linux-mandrake.com
I burned the three iso images using Nero Burning Rom, the only windows program I will miss!!! http://nero.com
 
Old 07-09-2003, 08:24 PM   #19
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Look at a program called "Scribus" to replace PageMaker, its pretty good.
 
Old 07-09-2003, 08:53 PM   #20
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
chinaman..

whatever you need help understanding with this kernel stuff (or anything else) ...feel free to ask.

it's kind of tough to just have somebody tell you , or even read about it ..but once you actually do it successfully , it'll all fall in place.
 
Old 07-09-2003, 09:11 PM   #21
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Jeremy,

Thanks. I'm a little gun shy because of someone else.

Today when I install Linux on this hdd, where should I get a good kernel for an Athlon 2000+. I have the RedHat 9 boxed set (he) bought here in China. Only problem is I can't read anything that came in it, cause it's in Chinese. I have downloaded the glossary and those other 5 guides, but this doesn't seem to be answered in there - plus I've read some threads, and it seems like I am missing the starting place.

I do know that my install (I'm using now) isn't running as fast as it should (downloaded the i386 from ftp.redhat). However, my friend is in dire need of this computer TODAY that I am building, so his fresh install comes first!

TIA
 
Old 07-09-2003, 10:01 PM   #22
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
...if , after you install (or on your already installed redhat machine) you :

cd /usr/src/

and there is a directory in there called linux (usually it points to the full version...ie :

================ example =====================

jhorvath@darkstar:~$ cd /usr/src
jhorvath@darkstar:/usr/src$ ls -l
total 1
lrwxrwxrwx 1 root root 12 Jul 6 13:06 linux -> linux-2.4.20/
drwxr-xr-x 14 root root 560 Jul 6 14:15 linux-2.4.20/

=============== end example ===================
(commands are in bold)

if yours returns something like that, than the kernel source code is already installed. if however you have a blank directory ..then your kernel source is not installed yet..and you either have to install it from the cd, or go to :

http://www.kernel.org

and download a version (the current *stable* version is 2.4.21)
also note...your listing may differ in that you may (probably) have a different version than mine listed above (2.4.20) ...the one provided with redhat 9 should suffice tho'.

so that takes care of where to *get* your *good* :) kernel for the athlon 2000+

as far as your *starting* place ...i'm not sure what you mean.
here's a walkthrough of what i would do on my machine running slack9 :

< assuming i have just finished installing (including kernel sources) and i am now logging into linux for the first time ....>

things i type are in BOLD
==================================================
dartstar login : jhorvath
password : ***************
<system message goes here>

jhorvath@darkstar:~$ su
password : ***************
root@darkstar:/home/jhorvath/# cd /usr/src/linux
root@darkstar:/usr/src/linux/# cp .config ../ <-- here i copy the .config file because the next command cleans up and tries to delete it
root@darkstar:/usr/src/linux/# make mrproper
<a bunch of messages ....>
root@darkstar:/usr/src/linux/# mv ../.config . <-- that file i copied...move it back to here (/usr/src/linux)
root@darkstar:/usr/src/linux/# make menuconfig
<this is where you *BUILD* your kernel ...deciding what goes in and what doesn't ..as long as you know your hardware ...you should be ok if something goes wrong when you reboot ...we'll have a backup :)>
<after we're done deciding what we want in the kernel we exit the menuconfig utility and save when it asks us to...(just hit escape from the top level of choices..it'll ask to save before quiting)>

root@darkstar:/usr/src/linux/# make dep && make clean && make modules && make modules_install && make bzImage <-- that long as command line grabs any dependancies...cleans up object files ...builds the modules...installs the modules...then builds the kernel (it doesn't install it yet)

< after everything stops scrolling up the screen ....you have your prompt back...as long as there's no errors directly above it (withing 10 lines usually) your good (at least with building it...that doesn't mean it works yet:)

root@darkstar:/usr/src/linux/# cp arch/i386/boot/bzImage /boot <- this copies the kernel to where we need it to be (well ...it can go anywhere really)
root@darkstar:/usr/src/linux/# cd /boot
root@darkstar:/boot/#cp vmlinuz vmlinuz.old <-- this backs up the *old* kernel (yours may be named differently ..we can find out what it is called and where its at by looking at the bootloader config { /etc/grub.conf OR /etc/lilo.conf }

root@darkstar:/boot/# mv bzImage vmlinuz <-- here we setup the new kernel ...we rename it to vmlinuz (or whatever the old kernel was called so we only have to add the (vmlinuz.old) to our bootloader config)

<now this is where you edit your bootloader (i use lilo ..so that's what my example will be ...i believe redhat default to grub ..not sure tho' you can find what to add to grub somewhere on this site probably ...or just replicate whats already there but change the kernel name to reflect the ".old" we appended...>

...so my /etc/lilo.conf contains (somewhere in there) :

~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_
image = /boot/vmlinuz
root = /dev/hda1
label = slack
read-only
~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_

that is whats in there now *before* i edit it...that stuff above tells us that our kernel WAS/ or IS (if you're reading the config *BEFORE* building the kernel...would be wise just so you KNOW where to put it) , located in the directory '/boot' and is named 'vmlinuz'
the ROOT=/DEV/HDA1 tells the bootloader that the kernel resides on the first partition of the primary master hdd.
the LABEL is what is displayed when your bootload comes up (that menu that you see when you turn your computer on ...to pick which OS to boot into..)
and read-only is ...well.... read-only (that's fine)

NOW (this is fun eh? :) since above i renamed my bzImage to vmlinuz ...there's already an entry (above) to look for vmlinuz, exactly in the place i put it already..so nothing has to be done with what you see above. that will load the fresh compiled kernel WOOHOO...

however ..in order to go back to the old one (the one that for sure works)..we have to add an entry to the config telling it where the *old* kernel is..

now after editing my /etc/lilo.conf looks like:

~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_
image = /boot/vmlinuz
root = /dev/hda1
label = slack
read-only

image = /boot/vmlinuz.old ***COMMENT ..remember we moved the *original to vmlinuz.old
root = /dev/hda1 ****COMMENT ...it's on the same hdd / partition
label = slack.old ****COMMENT ...have to change this ..can't be the same as aboves
read-only ****COMMENT this is still good
~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_
(ignot those {****COMMENT'}s above :)

after we add that ...we save it

root@darkstar:/boot/# lilo <-- lilo must be run again to update the changes...NOTE : if you're using lilo and you don't run the LILO command after making changes to /etc/lilo.conf ...the changes won't take place until you do ...it will still load whatever was originally in the file (the single VMLINUZ entry (which now points to our NEW kernel ...but the VMLINUZ.OLD (the backup one..) won't be seen {that is bad if we mess something up :) }

note :: as far as grub is concerned ..you'll have to look that up.. :) sorry , i'm a lilo man

after we've modified our configs and updated the bootloader...
REBOOT !!!!

sheesh...that was long as fsck. if i just confused the sh*t outta you...or bored you to death ...or made you feel like your two years old and can't read yet...i sincerely apologize...i was trying to be thorough :)

anyquestions :)

Last edited by jhorvath; 07-10-2003 at 01:44 PM.
 
Old 07-09-2003, 10:01 PM   #23
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
The speed difference between i386 and i686 is little or nothing. If things are running slow, thats not the problem.

On most of the commercial distros (Redhat, Mandrake) they have a lot of services running at startup.

Make sure to turn all these services off. This will speed things up greatly. Redhat may have a special menu for this, if not, search to forums.
 
Old 07-09-2003, 11:12 PM   #24
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Hey
jhorvath and
contrasutra,


Thanks a million for both of those.

contrasutra - I am reading and learning what to turn off - just not sure what's meant by *all these services*. If it's actually *services* then maybe smb or samba is one example that I gotta have. Perhaps CUPS is another? And I think I hear *services* is not the same as *packages*. Last install I did a custom, but still had to take some packages because I just didn't know.

Jeremy - I didn't know (where to start) if I should go with the RedHat kernel on the initial install, or what. Now you answered that question. The one I downloaded is 2.4.20-8, so I'll either go get 2.4.21 or use the ones I got.

I haven't read it thorough, because I gotta take my girls to lunch. I did skim it all. It didn't bore me, or confuse me, or make me feel like a 2 year old. Who cares if it does? I ditch my pride to learn, you know. I will read it all throughly and then print it to refer to as I install. I'm still a little confused as far as *BUILD* your kernel ...deciding what goes in and what doesn't. I think I will learn by doing it as you suggested. Anyway, the old kernel will still be there until I figure how to build one better.

Now if I can get my ports selected in Evolution, I'll be okay for today.


Thanks so much!
 
Old 07-10-2003, 05:25 PM   #25
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
can't get kernel.org

What gives? Please help a Linux rookie.

I have been trying to reach www.kernel.org and for about 24 hours now, and it always times out. Don't tell me it's my connection, now, I got a 2mbps adsl line, and this time of day (local) it's never busy - and today it's smoking. I tried to go to ftp.redhat.com to see if they were available there, and it looks like the best I could do there would be to get kernel-2.4.20-18.9.i686.rpm - or maybe not, eh?

I've even Linux Googled, and this seems to be the only place to get the kernel.

Any suggestions?
 
Old 07-10-2003, 07:50 PM   #26
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
i just connected fine :)

sometimes i notice its a little slower...try this :

ftp://ftp.kernel.org/pub/linux/kernel/v2.4
 
Old 07-10-2003, 09:05 PM   #27
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Jeremy,

I had already tried there, also, but did again just now. Timed out again. Will try using Konqueror browser instead of Mozilla.

Thanks.

/bruce
 
Old 07-10-2003, 09:14 PM   #28
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Jeremy,

I just found out the problem. It's being blocked from here. My laptop is running XP now (not for long though) and I used a transparent proxy server on it and got there right off. Man, that ticks me off!

Do you know how to configure stunnel for Linux?

Thanks,

/bruce
 
Old 07-10-2003, 09:24 PM   #29
wardrazer
LQ Newbie
 
Registered: Jul 2003
Location: philippines
Posts: 9

Rep: Reputation: 0
better get redhat 9.0 i686
 
Old 07-10-2003, 10:38 PM   #30
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
..never used stunnel b4

sorry
 
  


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
Linux for i686 Morton Linux - Newbie 6 11-10-2005 01:51 AM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - General 2 05-07-2005 11:21 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - Enterprise 1 05-07-2005 07:20 PM
is celeron 500 an i686 ? if so how to move from i386 to i686 raft Linux - Hardware 1 12-22-2003 06:58 AM
[linux-i686] 3c59x and sunhme r3b00t Linux - Networking 5 08-22-2001 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:16 PM.

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