Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Grub Q On Upgrading Kernel, Using Grub instead of LiLO
sebastino
post Mar 14 2004, 09:32 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 23-January 04
Member No.: 2,217



I just upgraded the kernel, and it seems Joey's guide didnt mentioned installing kernel using grub as the boot loader.. i just figured out some of it, but the problem is that i dont have the initrd-blah-blaah-2.6.4.img like the older entries on my grub.conf. How can i add initrd-img to grub?

Please help...

TIA
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 14 2004, 10:03 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



You mean that you don't have an initrd image built? Or do you mean you don't have the entry in grub?

If you build in all the disc controller drivers and filesystems (ext2, ext3, reiserfs) into the kernel and not as modules, you don't have to have an initrd image


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
sebastino
post Mar 15 2004, 03:03 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 23-January 04
Member No.: 2,217



I have some entries on my grub.conf since it is running on an old kernel version, I just upgraded to 2.6.4 but i dont know what to add on the grub.conf since i only know how to use the new kernel in lilo.conf. I dont know what to put on grub.conf since Joey's guide only mentioned how to put those parameters using LILO but not GRUB.
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 15 2004, 06:50 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



OK,

you have a current entry that should look something like this in your /boot/grub/grub.conf (it is also menu.lst):

CODE
title White Box Enterprise Linux (2.4.21-9.0.1.ELsmp)
       root (hd0,0)
       kernel /vmlinuz-2.4.21-9.0.1.ELsmp ro root=LABEL=/ vga=789 video=800x600
       initrd /initrd-2.4.21-9.0.1.ELsmp.img


Copy those 4 lines and paste them below the the other one like this, changing the title to whatever you want, and the name of the kernel to point the file you copied from /usr/src/linux-2.4.7/arch/i386/, remove the initrd line and see if the kernel boots... like this:


CODE
title White Box Enterprise Linux (2.4.21-9.0.1.ELsmp)
       root (hd0,0)
       kernel /vmlinuz-2.4.21-9.0.1.ELsmp ro root=LABEL=/ vga=789 video=800x600
       initrd /initrd-2.4.21-9.0.1.ELsmp.img

title NewName
       root (hd0,0)
       kernel /new_kernel_name ro root=LABEL=/ vga=789 video=800x600

You don't need to use my kernel lines ... use your line, but if you are having a video problem on bootup, you can try my vga= and video= parameters.

If the kernel won't boot without initrd, post the errors, but you probably need (in make menuconfig {or make xconfig} to not compile the file systems as modules.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 06:20 AM