Bug 67459 - installkernel makes duplicate entries in grub.conf
Summary: installkernel makes duplicate entries in grub.conf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: mkinitrd
Version: 1.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Erik Troan
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: 67218
TreeView+ depends on / blocked
 
Reported: 2002-06-25 16:59 UTC by Petri Koistinen
Modified: 2007-03-27 03:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-08 18:25:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Petri Koistinen 2002-06-25 16:59:50 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.18-6.55 i686; Nav)

Description of problem:
/sbin/installkernel should not make duplicate entries in grub.conf file.

Here is an example:
#boot=/dev/hda
default=3
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.19-rc1)
        root (hd0,0)
        kernel /vmlinuz-2.4.19-rc1 ro root=/dev/hda5
title Red Hat Linux (2.4.19-rc1)
        root (hd0,0)
        kernel /vmlinuz-2.4.19-rc1 ro root=/dev/hda5
title Red Hat Linux (2.4.18-6.55)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-6.55 ro root=/dev/hda5
        initrd /initrd-2.4.18-6.55.img

Second entry is redundant. /sbin/installkernel should take care that there is
not redundant entries in grub.conf file.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Get latest kernel from kernel.org mirror.
2. Extract, configure, make and install kernel.
3. Reboot.
4. Notice how nicely new kernel image appears on grub bootmenu.
5. Boot.
6. Notice a problem in current kernel config.
7. Reconfigure your kernel, make and install it.
8. Reboot.
9. Notice how there is redundant entry on grub bootmenu.


Additional info:

mkinitrd-3.4.8-1

Comment 1 Erik Troan 2002-06-27 20:24:58 UTC
don't know how you want to handle this

Comment 2 Erik Troan 2002-07-10 16:01:29 UTC
fixed in mkintird 3.4.14

Comment 3 Petri Koistinen 2002-07-18 12:11:23 UTC
Thank you!


Note You need to log in before you can comment on or make changes to this bug.