LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-04-2003, 10:03 AM   #1
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
Error upgrading kernel, /sbin/mkinitrdi integer expression expected


I'm trying to upgrade my kernel but I am getting an error, here's what I do
Code:
[root@oss root]# rpm -Uvh --force kernel-2.4.20-24.7.i686.rpm
Preparing...                ########################################### [100%]
   1:kernel                 ########################################### [100%]
ls: : No such file or directory
/sbin/mkinitrd: [: : integer expression expected
Can anyone tell me what this error means.

Thanks in advance
 
Old 12-04-2003, 06:31 PM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Yes, don't use rpms do compile a kernel. They are bad enough for normal programs.

Get the sources from kernel.org and use the kernelhowto at tldp.org (or another howto on compiling a kernel). Make sure to get the newest 2.6 kernel, 2.6-test11, 2.6 is superior to 2.4. It's faster, and has a heck of a lot of more features.
 
Old 12-05-2003, 05:38 AM   #3
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
LOL, thanks teval, I kinda figured "rpm -Uvh kernel-2.4.20-24.7.i686.rpm" was a bit ambitious.
I guess I'll have to do some reading on that howto & do it by hand.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compilation : Error in upgrading 2.4.x to 2.6.x b0nd Slackware 5 09-18-2005 11:38 AM
rpm error after upgrading to kernel 2.6.1 Gramphos Red Hat 6 12-31-2004 04:02 AM
Error in linux upgrading from kernel 2.4.18 to 2.6.7 appas Linux - Software 9 08-20-2004 04:54 AM
error: switch quantity not an integer 00it45 Programming 7 02-20-2004 09:04 AM
Getting some error messages after upgrading kernel... Whitehat Slackware 2 01-04-2004 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 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