LinuxQuestions.org
Help answer threads with 0 replies.
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 10-20-2003, 07:06 PM   #1
holdenowen
LQ Newbie
 
Registered: Aug 2003
Posts: 24

Rep: Reputation: 15
configuring grub


Hi I have just installed kernel-2.4.22 and run the relevant make config, make dep, make clean and make bzImage commands and would like to know how to configure grub to include the new kernel as an option when booting.
I use RH9 and have used red hat network to take care of this in the past where the rpms do all the work with grub.
 
Old 10-20-2003, 08:09 PM   #2
realos
Member
 
Registered: Jul 2002
Location: Germany
Distribution: Redhat 7.3, Debian 3.1, Knoppix 3.1, Ubuntu 6.10
Posts: 113

Rep: Reputation: 15
Here is a very good article: http://www.linuxjournal.com/article.php?sid=4622

I guess you also have copied the relevant files (kernel, map etc) to /boot. What you need to do now is:

1) "update-grub"

which will create a /boot/grub/menu.lst file. Read the above mentioned article to edit hard drives in case your /boot directory is on another partition than / directory.

(hd0,0) first partition of primary master hd
(hd0,1) second partition of primanry master hd
(hd1,0) first partition of of primary slave hd

2) Create a bootable flloppy by:
2.1)
"mkdir -p /floppy/boot/grub"
"cp /usr/local/share/grub/i386-pc/stage* /floppy/boot/grub"

2.2) Write grub to mbr of the floppy
"grub-floppy"

2.3) copy the edited menu.lst to /floppy/boot/grub/menu.lst

3) rstart from floppy

If your system starts up correctly, copy the menu.lst in /boot/grub/menu.lst and install grub in mbr of hd with "grub-intall".

good luck and have a look at the article given above.
 
Old 10-20-2003, 08:32 PM   #3
holdenowen
LQ Newbie
 
Registered: Aug 2003
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks
 
  


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
configuring grub???!!! monkey_eater Linux - Newbie 2 09-27-2005 09:17 PM
configuring grub fosh1zzl3 Linux - Newbie 15 05-13-2004 05:45 AM
Configuring Grub blueplanet200 Linux - Newbie 2 04-11-2004 10:44 PM
Configuring Grub Leviathan Mandriva 5 10-17-2003 04:57 AM
configuring grub emjay Linux - Newbie 1 10-16-2002 09:21 AM


All times are GMT -5. The time now is 02:49 AM.

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