Find the answer to your Linux question:
Results 1 to 10 of 10
I got the install complete, but I installed no grubloader, opting to use the one for Ubuntu. It isn't appearing in Ubuntu grub menu, and I did update-grub. It said ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2007
    Posts
    298

    [SOLVED] FC8 not in Ubuntu GRUB menu.


    I got the install complete, but I installed no grubloader, opting to use the one for Ubuntu.

    It isn't appearing in Ubuntu grub menu, and I did update-grub. It said 'updated', but I think the old kernels are filling up the menu, and not allowing FC8 to appear.

    How to delete old kernels???

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    First all, uninstall old kernels using Synaptic Package Manager. menu.lst will be modified automatically.

    For Ubuntu/Fedora dual booting, there are two ways :

    * Install Fedora's GRUB in Boot Sector of its / partition and add chainload code in Ubuntu's menu.lst. You can do it easily using Fedora Installation CD/DVD.

    Or

    * Mount / partition of Fedora and post the output of this
    Code:
    ls /boot
    Post the output of sudo fdisk -l command too. We will add title, root, kernel and initrd lines for Fedora in Ubuntu's menu.lst file.

    I prefer First option because you won't have to edit Ubuntu's menu.lst file on every kernel upgrade of Fedora.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User
    Join Date
    Apr 2007
    Posts
    298
    Quote Originally Posted by devils casper View Post
    First all, uninstall old kernels using Synaptic Package Manager. menu.lst will be modified automatically.

    For Ubuntu/Fedora dual booting, there are two ways :

    * Install Fedora's GRUB in Boot Sector of its / partition and add chainload code in Ubuntu's menu.lst. You can do it easily using Fedora Installation CD/DVD.

    Or

    * Mount / partition of Fedora and post the output of this
    Code:
    ls /boot
    Post the output of sudo fdisk -l command too. We will add title, root, kernel and initrd lines for Fedora in Ubuntu's menu.lst file.

    I prefer First option because you won't have to edit Ubuntu's menu.lst file on every kernel upgrade of Fedora.
    I got one old kernel deleted, and attempted to modify grub menu, but 'no mount' when FC8 was selected

    Code:
    chuckbhp@chuckbhp-laptop:~$ ls /boot
    abi-2.6.24-19-generic             initrd.img-2.6.24-21-generic
    abi-2.6.24-21-generic             initrd.img-2.6.24-21-generic.bak
    config-2.6.24-19-generic          memtest86+.bin
    config-2.6.24-21-generic          System.map-2.6.24-19-generic
    grub                              System.map-2.6.24-21-generic
    initrd.img-2.6.24-19-generic      vmlinuz-2.6.24-19-generic
    initrd.img-2.6.24-19-generic.bak  vmlinuz-2.6.24-21-generic
    chuckbhp@chuckbhp-laptop:~$ sudo fdisk -l
    [sudo] password for chuckbhp: 
    
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x4b36bdea
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        1594    12803773+   7  HPFS/NTFS
    /dev/sda2            3121       14121    88365532+  83  Linux
    /dev/sda3           14122       14593     3791340    5  Extended
    /dev/sda4            1595        2231     5116702+  83  Linux        <---FC8
    /dev/sda5           14122       14593     3791308+  82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    chuckbhp@chuckbhp-laptop:~$
    This is what I added to menu.lst (which didn't work) (don't laugh)

    title FC8
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.23.1-42.fc8
    initrd /boot/initrd-2.6.23.1-42.fc8.img


    I thought of the update thing for FC, since I'm in 8, and 10 is out.
    You can do it easily using Fedora Installation CD/DVD.
    How do I do this now??? Boot from DVD? Skip all prompts until grubloader prompt?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! circa82's Avatar
    Join Date
    Feb 2009
    Posts
    2
    Code:
    title FC8
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.23.1-42.fc8
    initrd /boot/initrd-2.6.23.1-42.fc8.img
    (hd0,4) With GRUB, the numbering begins at 0, so sda4 would actually be (hd0,3).

  6. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Code should be :
    Code:
    title Fedora 8
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.23.1-42.fc8  ro root=/dev/sda4 
    initrd /boot/initrd-2.6.23.1-42.fc8.img
    In case you want to install Fedora's GRUB in Boot Sector of its root partition, boot up Fedora in Rescue Mode using installation DVD.
    Execute this
    Code:
    chroot /mnt/sysimage
    grub-install /dev/sda4
    exit
    exit
    Add this code in menu.lst of Ubuntu.
    Code:
    title Fedora 8
    rootnoverify (hd0,3)
    chainloader +1
    Thats it !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #6
    Linux User
    Join Date
    Apr 2007
    Posts
    298
    3. Not 4. I knew that. What a 'tard.

    So that is fixed, and now Grub is installed for FC.

    Do I need to delete the menu item I entered into GRUB, and REPLACE it with the chainloader entry? Should I confirm location of FC GRUB first?

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    If you installed grub in /dev/sda4 then chainloader entry will work fine. You can keep other entry too but it will be useless after kernel upgrade of Fedora.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Linux User
    Join Date
    Apr 2007
    Posts
    298
    Quote Originally Posted by devils casper View Post
    First all, uninstall old kernels using Synaptic Package Manager. menu.lst will be modified automatically.

    For Ubuntu/Fedora dual booting, there are two ways :

    * Install Fedora's GRUB in Boot Sector of its / partition and add chainload code in Ubuntu's menu.lst. You can do it easily using Fedora Installation CD/DVD.

    Or

    * Mount / partition of Fedora and post the output of this
    Code:
    ls /boot
    Post the output of sudo fdisk -l command too. We will add title, root, kernel and initrd lines for Fedora in Ubuntu's menu.lst file.

    I prefer First option because you won't have to edit Ubuntu's menu.lst file on every kernel upgrade of Fedora.
    I tried setting up all OS's to boot from Fedora GRUB, but there was a problem with XPP and disk enumeration. So I went back to Ubuntu GRUB, imported the FC8 loader, and all is well.

    But now I have upgraded to FC10 by download, not by burning a CD/DVD, and I imagine I now have to upgrade Ubuntu menu.lst for kernel upgrade, as you mentioned.

    How do I do this? (I have not booted FC10 since the upgrade)
    I presume FC10 boot partition is the same, so I need only to change 'RED HIGHLIGHT'?

    title Fedora (2.6.23.1-42.fc8 )
    root (hd2,8 )
    kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.23.1-42.fc8.img

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    How do I do this? (I have not booted FC10 since the upgrade)
    I presume FC10 boot partition is the same, so I need only to change 'RED HIGHLIGHT'?

    title Fedora (2.6.23.1-42.fc8 )
    root (hd2,8 )
    kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.23.1-42.fc8.img
    Yes. You have to edit kernel and initrd versions only. Mount /boot partition of Fedora and check the new kernels.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  11. #10
    Linux User
    Join Date
    Apr 2007
    Posts
    298
    Quote Originally Posted by devils casper View Post
    Yes. You have to edit kernel and initrd versions only. Mount /boot partition of Fedora and check the new kernels.
    Got all loaded properly; new kernel loaded. Thanks again LinuxKnowledgeBaseCasper!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •