fedora and kernel 2.6.1

Eric Hattemer hattenator at imapmail.org
Sat Feb 7 00:25:05 UTC 2004


I hate to disagree, but I had this same problem, and it does seem 
relevant to this list.  When I first saw the email I said, "What is this 
doing on the list?"  But then when I thought about it and realized it 
may be a legitimate grub/grub.conf bug, I think it does deserve some 
discussion.  As far as I know RedHat has historically used the 
root=LABEL=/ tag for a very long time.  Now I went through too much to 
narrow it down to a bug report, and I don't remember all of it, but here 
goes:

I used to run RH9+fedora.us, then I bought a new HD controller (promise) 
and a new HD.  I started using that drive as a boot drive.  I set the 
bios to boot it first, but it still shows up as hde.  I installed RH9 
and had to teach lilo.conf:
disk=/dev/hde
        bios=0x80
Because grub wouldn't boot, I used lilo.  Perhaps I have a weird 
configuration, but I needed to do this by hand.  Recently I decided to 
move back to grub.  I manged it by considering hde to be hd0.  I'm 
alright with doing all this by hand, but it may be a problem for other 
people. 

When I turned grub to hd0, it could find the kernel.  However, the 
kernel gave the same root not found message.  It required changing 
root=LABEL=/ to root=/dev/hde1.  However, lilo.conf uses root=LABEL=/ 
and works fine.  I modified /boot/grub/device.map to say

(fd0)   /dev/fd0
(hd0)   /dev/hde
(hd1)   /dev/hda
(hd2)   /dev/hdb

with no success.  Now when I get a chance in the next couple of months I 
will probably format and install from an FC2 CD.  I will probably file a 
bug report if the CD doesn't set up my computer to boot, and it seems 
fixable.  But the reason I bring this up for the list is because I think 
all future kernel rpms should instead of setting in grub.conf 
root=LABEL=/, it should set something like root=/dev/xxx where xxx is 
something like `mount |awk '/ \/ / {print $1}'`. 

Now like I said, I wish I could narrow down where the problems are.  
Maybe its just a bug in grub that they could fix easily.  Maybe I have 
two partitions labeled /.  But I just thought I'd bring this up as an 
issue. 

-Eric Hattemer



Peter Backlund wrote:

>
> This is _completely_ off topic for this list. If you want to run 2.6,
> get the rawhide rpm or wait for FC2. If you absolutely, positively want
> to compile your own kernel, start with the FC config, found in the
> configs/ subdir of the kernel-source rpm.
>
> /Peter
>
>
>
>






More information about the devel mailing list