LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 05-13-2004, 01:07 AM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,028

Rep: Reputation: 45
Compile problems


Hi i have hust compiled a 2.4.25 kernel using the following url
http://www.linuxquestions.org/questi...read&forumid=1
The problem i have is that the grub says file not found!

I have followed the tutorial as the tutorial says....except the steps fpr the final links
ln -s /boot/vmlinuz-x.q /boot/vmlinuz e.t.c
Because i think that if i apply them to my system they will destroy the kernel that i am using right now...


My grub conf is




boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Router
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=/dev/hdc1
initrd /initrd-2.4.22-1.2115.nptl.img
title Router 2.4.25 (Here is the problem)
kernel /vmlinuz-2.4.25 ro root=/dev/hdc1
initrd /initrd-2.4.25
 
Old 05-13-2004, 04:01 AM   #2
Jonny_Michaels
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake9.1 kernel-2.4.21-0.13mdkcustom
Posts: 24

Rep: Reputation: 15
re not wrecking stuff.....

Here's a piece of my grub/menu.lst:

title 241916
kernel (hd1,0)/boot/vmlinuz-2.4.19-16mdk root=/dev/hdb1 devfs=nomount acpi=off vga=ask
initrd (hd1,0)/boot/initrd-2.4.19-16mdk.img

title 266
kernel (hd1,0)/boot/vmlinuz-2.6.6 devfs=nomount acpi=off vga=ask root=/dev/hdb1
initrd (hd1,0)/boot/initrd-2.6.6.img

working-linux
kernel (hd1,0)/boot/vmlinuz-2.4.21-0.13mdk devfs=nomount acpi=off vga=ask root=/dev/hdb1
initrd (hd1,0)/boot/initrd-2.4.21-0.13mdk.img

You need to create other stanzas for each kernel you wanna boot. This is my understanding anyway, and this grub list works for me.

I use 241916 to try and get my KYRO based card to work. Apparently this is the only kernel powervr support at the moment. The 266 is the new kernel, which I have at last got to boot up OK, and working linux is my 2.4.21-0.13mdk original kernel with internet access through a self compiled Conexant driver for a PCI Conexant modem. Thankyou Patrick Mackinlay - Life Saver.

All I gotta do now, is bring the three bits of functionality in three kernels together in one kernel if its possible lol Anyone reading this who can help, please feel free.

After you've done the compile, make modules and make modules install, simply make install to set up your links automatically. As long as you have a specific stanza for the kernels you wish to boot to, you should have no problems.

Hope this helps

Jon
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compile problems edgjerp Mandriva 2 12-08-2004 02:51 PM
problems after compile Gunslinger_ROL Slackware 7 06-18-2004 12:20 AM
Compile problems looper Linux - Software 11 01-15-2004 08:16 PM
Compile problems Greg21 Slackware 5 06-10-2003 02:33 PM
compile problems zenerdiode Linux - Software 2 12-22-2000 11:42 AM


All times are GMT -5. The time now is 11:00 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration