How to add to grub?

Bob Goodwin bobgoodwin at wildblue.net
Thu Mar 26 16:49:03 UTC 2009


I installed F-10 on this computer but in creating grub the installer 
ignored the existing F-8 on drive /dev/sda.  I thought it would present 
me with a grub screen for selection of the other system but it didn't 
happen.  I don't actually need or want F8 but if I can make it work, 
since it is already there, then I should be able to replace it with F0 
or even Centos.  I have a genealogy program [Ftree] that seg faults with 
F-10 on both computers.

I began making a modified grub but when I got down to the last section I 
find that the F8 drive contains no /boot/vmlinuz - ****.  It does 
however contain kernel rpm files in the yum cache. 

Can someone tell me how to procede?  Suggestions, forget it maybe?

Bob

    # NOTICE:  You have a /boot partition.  This means
    that                        
    #          all kernel and initrd paths are relative to /boot/,
    eg.             
    #          root
    (hd0,0)                                                        
    #          kernel /vmlinuz-version ro
    root=/dev/VolGroup01/LogVol00            
    #          initrd
    /initrd-version.img                                          
    #boot=/dev/sda                                                                 

    default=0                                                                      

    timeout=15                                                                     

    splashimage=(hd0,0)/grub/splash.xpm.gz                                         

    hiddenmenu                                                                     

    title Fedora
    (2.6.27.19-170.2.35.fc10.i686)                                    
            root
    (hd0,0)                                                           
            kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro
    root=/dev/VolGroup01/Log
            initrd
    /initrd-2.6.27.19-170.2.35.fc10.i686.img                        
                                                                                   

    title Fedora
    (2.6.27.5-117.fc10.i686)                                          
            root
    (hd0,0)                                                           
            kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro
    root=UUID=d37a39de-8c08-4621-a
            initrd
    /initrd-2.6.27.5-117.fc10.i686.img                              
                                                                                   

    title Fedora
    (2.6.25.9-40.fc8.i686.rpm)                                        
            root
    (hd1,0)                                                           
            kernel
    /vmlinuz-2.6.25.9-40.fc8.i686                                   


    I added a line to fstab so that I can see the files on the 80g drive
    /dev/sda.

    [bobg at box6 ~]$ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/mapper/VolGroup01-LogVol00
                         235549488   3153472 230005776   2% /
    /dev/sda1               194442     21258    163145  12% /boot
    tmpfs                  1296384        76   1296308   1% /dev/shm
    /dev/mapper/VolGroup00-LogVol00
                          74529904  19602488  51080456  28% /mnt/f8




More information about the users mailing list