LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-01-2005, 10:16 PM   #1
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
Installing kernel


Does somebody know how I can install this kernel?
ftp.suse.com/pub/suse/ppc/kernel/2.4.2/vmlinux-apple_lcd_17-2.4.2-11.gz
I've found that kernel in this page portal.suse.com/sdb/en/2000/11/olh_ppc_apple_tft.html, does somebody can help me?
 
Old 01-01-2005, 10:37 PM   #2
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
yast? If not....

I thought suse had good package managment via something like YAST. It would be easier to install new kernels that way, if it's possible.

If not, you can probably install by downloading the file, going to where the file is located using the cd command, then

gunzip vmlinux-apple_lcd_17-2.4.2-11.gz

It doesn't look like it is a .tar file, so now you just need to follow whatever directions you found concerning this file. To install source code, you normally become root by entering

su

at the command line, and supply the root password. Then the normal procedure is

./configure
make
make install

But if there are directions offered on how to install it, follow those instructions. Normally, source code is packaged in a .tar.gz format, so you would first use gunzip, then something like tar -xvf vmlinux-apple_lcd_17-2.4.2-11.tar to unpack the files in their own directory. You would then use cd to go into that subdirectory and look at the contents of files like README and/or INSTALL to get instructions on installing it.

If you need help understanding how a command works, like gunzip, you can learn about it by typing

man gunzip

at the command line.
 
Old 01-02-2005, 12:38 AM   #3
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
mm make not works

I've uncompressed the .gz file but when I try to use tar vmlinux vmlinux-apple_lcd_17-2.4.2-11 , it troght me an error messenge saying this is not a tar file, after this I say oh that's ok this is the uncompressend one, but make command doesn't work bash say, make command does not exist, I think i need to install the kernel librarys but in my personal CD of SUSE I didn't found those packages. I really apreciate any kind of help!

And thanks for ur time
 
Old 01-02-2005, 02:41 AM   #4
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
make still dont work

Ok I've installed the kernel source, but the command make still not found, does anybody can help me plz?
 
Old 01-02-2005, 04:11 PM   #5
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
perhaps all you need to do is move it?

Sorry I am not more helpful. Perhaps this is indeed the kernel, and you don't have to do anything more than move it to where linux looks for the kernel when booting. You can use the commands whereis vmlinux*, find vmlinux*, or locate vmlinux* (I think) to figure out where your current kernel is located. Perhaps then you can just move this new one there. You may also have to figure out which startup script is referring to your kernel and change the entry in it to point to this new kernel. I haven't had to do this kind of stuff. Using the search options on this and other forums, as well as google, can help you find alot of information.
 
Old 01-02-2005, 07:56 PM   #6
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
ok thx

Ok thank u, You've help me a lot!, I'll try to do that things
 
Old 01-02-2005, 11:29 PM   #7
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
location of kernel is important

Hi again,

I have looked at the webpage where you downloaded the kernel. I now understand your confusion. It does look like you need to move that kernel to the suse folder on the linuxboot partition, as discussed for the other kernel. However, there is no corresponding .rpm file like there is for the other kernel. I don't know any more than you at this point concerning the installation of the new kernel. Maybe you could move this new kernel to the suse folder, and move the current kernel to some other location, then reboot. You should find a suse specific forum and ask about this before doing it.

I also saw on that page that if you had XFree86 4.1.0 or later, your screen resolution should be autodetected, and you wouldn't have to do any of this. Can't you use your default package management software (YAST, I believe, for suse) to upgrade/install this package? This might fix all of your problems with the least amount of work.

Last edited by ehawk; 01-02-2005 at 11:32 PM.
 
Old 01-03-2005, 12:44 AM   #8
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
thx

Yeah I've seen it too, but I have the last version of SuSE, I recentlly downloaded the .iso since about 5 days, and my current XFree86 version is 4.8, I'm really desconcerted because I've do all the things that the page says. I've seen my last chance by changing the kernel, but i can't make the kernel work, I've moved this uncompressed kernel to /boot , where another vmlinuz file are, and add new kernel into grub.conf file, refering to new descompressed kernel from vmlinux-apple_lcd_17-2.4.2-11.gz and restart, when I try to use my new kernel by selecting in grub, it trought me an error messenge like this "Invalid or unsupported executable format", I think the cause of this error is because it's a binary file, but I'dont know what i need to do with a binary file!!

The principal point of my desconsertation is because in windows the monitor works very fine, but the problem is with all linux distributions!!

Thanks for helping
 
Old 01-03-2005, 12:57 AM   #9
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
run as executable?

If it's a binary file...I wonder if it's an executable self-extracting file. Can you just go to that directory and type the name of the file?
 
Old 01-03-2005, 01:10 AM   #10
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
the file calls vmlinux-apple_lcd_17-2.4.2-11 but I've try with tar and it say it isn't a tar file, the color of this file with ls command is green and when i type for example ./vmlinux-apple_lcd_17-2.4.2-11 it say it is a binary file

Last edited by lalo_5_2000; 01-03-2005 at 01:12 AM.
 
Old 01-03-2005, 01:16 AM   #11
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
not tar file

It doesn't indicate that it is a tar file (.tar), so I don't think that would help. Several types of files show up as green (scripts and mp3 files for me).
 
Old 01-03-2005, 01:20 AM   #12
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
but what is it?

Ok but what type of file do u think is it? Or what can I do with that file
 
Old 01-03-2005, 01:22 AM   #13
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Color of default kernel?

Does you current kernel also show up in green? It sounds like you've done the things I would have.
 
Old 01-03-2005, 01:25 AM   #14
lalo_5_2000
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
No it is white the files that shown as green is gz files and other kind like alias, the file weight about 45 mb and my kernel about 10 mb less or something like this, I'm really desconserted u know? Do u have another idea?
 
Old 01-03-2005, 01:37 AM   #15
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
rpm file? Use YAST to install kernel?

Hey,

Whenver I update my kernel using yum, the rpm file corresponding to the kernel is ~45 MB! Maybe this is an rpm file, and they just didn't label it properly. Could you make a copy with the cp command (calling it something else, and ending in .rpm) then run

rpm -ivh whatever.rpm

Also, couldn't you use YAST to install this kernel?

When I installed realplayer once, it was just this type of file (.gz, but not .tar in addition). Fortunately, I was given good instructions, and I was told to mv it to another filename ending in .rpm and then run rpm -ivh filename.rpm

This may just do the trick for you *crossing fingers*

Last edited by ehawk; 01-03-2005 at 01:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing Kernel 2.6.8.1 - Kernel Panic error shaun85 Linux - Newbie 10 07-16-2007 05:20 PM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 07:30 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 10:48 PM
Kernel panic when installing a new Kernel NeeD_ResT Debian 2 10-16-2004 09:10 PM
installing 2.2.10 kernel on Redhat 8.0 (kernel 2.4.18-20) sumit_nus Linux - Software 5 07-31-2003 04:06 AM


All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration