LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 04-04-2007, 03:05 PM   #1
rich442
Member
 
Registered: Apr 2003
Location: I-lan
Distribution: Oracle Server 7-1511/ Princeton IAS, 7.2
Posts: 83

Rep: Reputation: 18
Wink updating kernel image with GRUB loader--Solved!


Hi.
I am using MEPIS 6.5RC3 on my P3 i686 computer and I had a question about installing the kernel updates from the MEPIS repository. After I have successfully downloaded the new image from MEPIS (using synaptic), there is an interactive menu that instructs me to modify my initrd file such that it will read the new kernel on booting and the initrc must also be applied to lilo as well.

I hope somebody can understand this. Well, I decided to use GRUB as my bootloader in lieu of the initrc file and LILO. What does synaptic mean when it tells me to modify the lilo.conf file by changing the way initrc calls up the new, updates kernel image?

So far, I have only noticed a few configuration files for GRUB:
grub.floppy being one
and the others
initrd.img-2.6.15-1-586tsc
config-2.6.15-586tsc
vmlinuz-2.6.15-1-586tsc

I am unsure of which config file needs to be modified in order for the system to boot the updated kernel image.

I haven't touched the initrd because I thought that GRUB would do these things automatically. Is this wrong or which file needs to be changed in order for the new update to take effect? Thank you for your thoughts.

Rich

Last edited by rich442; 04-06-2007 at 04:30 PM.
 
Old 04-04-2007, 04:39 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Grub has nothing to do with your kernel update. If you are using grub, you can ignore any instructions pertaining to lilo.

Your boot options will be in /boot/grub/menu.lst. This is the menu that grub displays for you at boot time. After the updated kernel, probably there is a new entry in the menu to specify the new kernel.

I don't know how Mepis does it; they might have handled changing links and making the new kernel your default kernel with the old kernel available as a backup boot option, or they might not have. You will learn a lot more by reading menu.lst.
 
Old 04-06-2007, 08:43 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
altho I do not use mepis at the moment....I thought I would add some suggestions for you.

/boot/ is where you will find the kernel (vmlinuz) and or the initrd image files.

Then you can use a text editor with root powers to change
/boot/grub/menu.lst or it may be /etc/grub.conf if your new kernel etc are not in the new menus.

2) when you compile a new menu...my mdv make install command attempts to edit the grub file.

However I perversely always do a manual link to my preferred kernel in the /boot folder like this
su
cd /boot/
ln -s vmlinuz-versionx vmlinuz

and I do not use initrds as I compile my own kernel.

hope that helps. if not post your output of

ls -l /boot
and then the output of your menu.lst file

now I suggest you ignore the config file and link that
vmlinuz-2.6.15-1-586tsc to vmlinuz as above so you can have an easy to read grub file

ditto the initrd link it like
ln -s initrd.img-2.6.15-1-586tsc initrd.img

Last edited by aus9; 04-06-2007 at 08:47 AM.
 
Old 04-06-2007, 04:29 PM   #4
rich442
Member
 
Registered: Apr 2003
Location: I-lan
Distribution: Oracle Server 7-1511/ Princeton IAS, 7.2
Posts: 83

Original Poster
Rep: Reputation: 18
Thank you aus9 and jiml8. That really solved the problem. I'll change the title of the thread. Thank you so much for your help
Rich
 
  


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
Kernel panick for 2.6 with grub boot loader deep200412 Linux - Kernel 4 07-13-2006 01:46 PM
boot from compiled kernel in debian with grub loader fightforhonor Linux - Networking 1 02-02-2006 12:50 PM
Updating or editing grub loader newbie Mike Linux - Newbie 1 03-17-2004 06:49 PM
Updating Grub.conf With New Kernel hanserr Linux - Newbie 3 02-27-2004 05:01 AM
Grub Loader Default Kernel dr_who Linux - General 1 09-01-2003 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

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