Bug 114758 - Kernel/grub not updated when root not defined
Summary: Kernel/grub not updated when root not defined
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: mkinitrd
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-02 14:47 UTC by Sammy
Modified: 2007-04-18 17:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-10 15:31:28 UTC
Embargoed:


Attachments (Terms of Use)
grub.conf file (20 bytes, text/plain)
2004-02-03 14:47 UTC, Sammy
no flags Details

Description Sammy 2004-02-02 14:47:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux; X11; , en_US, en)

Description of problem:
Kernel rpms give a fatal grub error when  the previous grub.conf
does not contain a root () statement for the already installed
kernel(s). For example:

title Fedora Core (2.6.1-20smp)
        kernel (hd0,2)/vmlinuz-2.6.1-20smp ro root=/dev/sda5
        initrd (hd0,2)/initrd-2.6.1-20smp.img

If this is a grub bug please reassign. Thanks.


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

How reproducible:
Always

Steps to Reproduce:
1.Have a working grub.conf without the root statement
2.Install/upgrade the kernel rpm
3.Check grub.conf
    

Actual Results:  Should duplicate whatever is already in grub.conf

Additional info:

Comment 1 Jeremy Katz 2004-02-02 23:41:12 UTC
Can you attach your complete grub.conf?

Comment 2 Sammy 2004-02-03 14:47:54 UTC
Created attachment 97434 [details]
grub.conf file

Comment 3 Sammy 2004-02-03 15:41:06 UTC
Sorry about this but, please remove the line 
 
root (hd0,2) 
 
and put (hd0,2) in front of /vmlinuz and /initrd. 
 
I had this problem on another computer! 
 
Thanks 

Comment 4 Jeremy Katz 2004-02-03 18:29:30 UTC
This just attached the filename and not the actual file (somehow...)



Comment 5 Sammy 2004-02-03 19:02:27 UTC
 
# cat grub.conf 
# grub.conf generated by anaconda 
# 
# Note that you do not have to rerun grub after making changes to this file 
# NOTICE:  You have a /boot partition.  This means that 
#          all kernel and initrd paths are relative to /boot/, eg. 
#          root (hd0,2) 
#          kernel /vmlinuz-version ro root=/dev/sda5 
#          initrd /initrd-version.img 
#boot=/dev/sda3 
default=0 
timeout=10 
splashimage=(hd0,2)/grub/splash.xpm.gz 
title Fedora Core (2.6.1-23smp) 
        kernel (hd0,2)/vmlinuz-2.6.1-23smp ro root=/dev/sda5 
        initrd (hd0,2)/initrd-2.6.1-23smp.img 
# 

Comment 6 Jeremy Katz 2004-08-04 19:45:00 UTC
Should be fixed in mkinitrd-4.0.2

Comment 7 David Lawrence 2006-04-10 15:31:28 UTC
Closing due to inactivity. Please feel free to reopen this bug or refile this
bug against the latest release Fedora Core if you feel this bug is still
relevant today.

Thank you


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