Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-05-2004, 04:07 PM   #1
Registered: Mar 2003
Posts: 38

Rep: Reputation: 15
Help me, configure grub.conf

Boot loader: Grub
I dualboot 1 Redhat 9.0 and 1 windows xp pro in one hard disk in different partitions. When computer boots up, it goes to a screen that appears 3 options (not 2, I set up windows xp first and then Linux Redhat, each OS I spent only one time). If I choose the first or second option, the computer boots into the same way, Red Hat. I notice the difference between two of them is "one has the word smp but the other is not"

This is my original "grub.conf" file
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
title Red Hat Linux (2.4.20-8smp)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8smp ro root=LABEL=LINUX hdc=ide-scsi
initrd /boot/initrd-2.4.20-8smp.img
title Red Hat Linux-up (2.4.20-8)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=LINUX hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Windows XP professional
rootnoverify (hd0,0)
chainloader +1

Do I need to delete one of two options that boots into redhat 9.0? Is it dulicate option? If not, What's the difference between option 1 and 2?
Old 05-05-2004, 04:20 PM   #2
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
As I can see these are not duplicate options though they seem to be booting similar kernels. vmlinuz-2.4.20-8xxx is the name of your kernel. Do both work? And this grub.conf was generated by anaconda at installation? If both work, choose the one that works better. If they work the same, choose the one you prefer. Then go to /boot and delete vmlinuz-2.4.20-8xxx (the one you did not choose) and System.map2.4.20-8xxx(the one you did not choose) and initrd-2.4.20-8xxx (the one you did not choose). If you delete any symlinks reconnect them to fit your option. After that edit grub.conf file and delete the lines of the option you did not choose. reboot and you should be off with two options and only one kernel.
Old 05-05-2004, 04:42 PM   #3
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
“smp” kernels are for multiprocessor systems, but will usually run on single processor systems. If you have one CPU, then you don’t need the smp kernel.


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 refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 04:40 AM
grub configure to take it's conf file from a fat32 partition hq4ever Linux - General 1 11-20-2004 04:55 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 04:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration