LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2003, 08:28 AM   #1
gr33ndata
Member
 
Registered: Aug 2003
Location: DMZ
Distribution: Ubuntu
Posts: 144

Rep: Reputation: 15
Grub with two Kernels


After installin a new Kernel 2.6.0
I wanted to update the Grub config file
But I have some questions

1- Do I have to edit the grub.config in /boot/grub/ or that one in /etc/

2-

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.0)
root (hd0,0)
kernel /kernel-2.6 ro root=/dev/hda6 <---- new kernel image, right ?
initrd <------ what to put here, can i put "/initrd-2.4.7-10.img" ?
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6
initrd /initrd-2.4.7-10.img

Thanks a lot in advance
_________________
Gr33nData
 
Old 09-24-2003, 08:44 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well i only see one question so i'll just say, go and edit the /etc/grub.conf file...
 
Old 09-24-2003, 02:19 PM   #3
gr33ndata
Member
 
Registered: Aug 2003
Location: DMZ
Distribution: Ubuntu
Posts: 144

Original Poster
Rep: Reputation: 15
The other question is about the configuration file itself (The two fields Kernel, and initrd) ?
You can see two arrows pointing to what I am asking
 
Old 09-24-2003, 04:23 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
You don't need an initrd line unless you actually created an initrd (initial ramdisk). These are for passing data for the kernel's use before filesystems etc are mounted.

Just leave the line out. Everything else looks good.
 
  


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
GRUB boot with 2 kernels installed philnk Linux - Software 2 07-07-2005 07:47 PM
multiple 2.6 kernels using GRUB DeltaXFX Linux - Newbie 7 02-03-2005 06:10 AM
New Kernels No XP in Grub short101 Debian 8 08-29-2004 03:03 AM
removing kernels from grub buffed317 Fedora 8 07-08-2004 09:55 AM
now i have 2 Grub kernels why? pleasehelp Linux - Newbie 2 03-31-2004 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:11 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
Open Source Consulting | Domain Registration