Find the answer to your Linux question:
Results 1 to 8 of 8
I recently installed Fedora 7 on my laptop that already have openSUSE 10.3 installed. I didn't have Fedora install grub being that I already installed it. I went into openSUSE ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    4

    Adding Fedora 7 to grub installed in openSUSE 10.3


    I recently installed Fedora 7 on my laptop that already have openSUSE 10.3 installed. I didn't have Fedora install grub being that I already installed it. I went into openSUSE and edited the Bootloader for Fedora 7. I first mounted the partition that I installed Fedora on to get the names of the kernel and intitrd files in /boot. When I select Fedora grub gives me an error saying it can't find the file. Any help will be appreciated.

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Welcome to the forums Darknight65

    We probably need the output of
    Code:
    su
    fdisk -l
    cat /boot/grub/menu.lst
    For us to help you. You will need to let us know which partition you have installed to as well.

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    4
    /dev/sda8 is the partition Fedora's root it loaded on.

  4. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    What have you tried so far?

    By the way for future reference installing grub to the root of your Fedora installation will have no impact on existing bootloader but will create the menu file containing the required code to boot the installation ... its then easy to either copy the code to you existing bootloader or add a link to it.

    Ed: expect something like
    Code:
    title Fedora
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.21-1.3194.fc7 root=/dev/sda8 ro
    initrd /boot/initrd-2.6.21-1.3194.fc7.img
    to work ... with kernel & initrd updated to suit.

  5. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    Your initial post wasn't clear to me but, I assume you mounted fedora7 from opensuse, found the vmlinuz and initrd files in fedora's /boot directory and made entries in your opensuse menu.lst. Right? Are you certain you got the correct drive numbers for grub and fedora? It would be helpful if you posted the fdisk results Jonathan183 asked for as well as your opensuse menu.lst.

  6. #6
    Just Joined!
    Join Date
    May 2008
    Posts
    4
    fdisk -l return:

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xed1f86f7

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 7649 61440561 7 HPFS/NTFS
    /dev/sda2 7650 14593 55777680 5 Extended
    /dev/sda5 7650 8814 9349830 83 Linux
    /dev/sda6 10199 11217 8185086 82 Linux swap / Solaris
    /dev/sda7 11218 11856 5124735 83 Linux
    /dev/sda8 8814 9450 5116639+ 83 Linux
    /dev/sda9 11856 12603 6008247 83 Linux

    Partition table entries are not in disk order

    cat /boot/grub/menu.lst return:

    # Modified by YaST2. Last modification on Wed May 7 16:42:48 CDT 2008
    default 0
    timeout 8
    gfxmenu (hd0,4)/boot/message

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 10.3 - 2.6.22.17-0.1
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_HITACHI_HTS5416_SB3D41EWGX6PWL-part5 vga=0x314 resume=/dev/sda6 splash=silent showopts
    initrd /boot/initrd-2.6.22.17-0.1-default

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 10.3 - 2.6.22.17-0.1
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/disk/by-id/scsi-SATA_HITACHI_HTS5416_SB3D41EWGX6PWL-part5 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /boot/initrd-2.6.22.17-0.1-default

    ###Don't change this comment - YaST2 identifier: Original name: windows###
    title Windows
    rootnoverify (hd0,4)
    chainloader (hd0,0)+1

    title Fedora
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.21-1.3194.fc7 root=/dev/disk/by-id/scsi-SATA_HITACHI_HTS5416_SB3D41EWGX6PWL-part8 vga=0x84 resume=/dev/sda8 splash=silent showopts
    initrd /boot/initrd-2.6.21-1.3194.fc7.img

  7. #7
    Just Joined!
    Join Date
    May 2008
    Posts
    4
    I editted my Fedora entry to what Jonathan183 posted and Fedora boots up just fine. Thank you for your help.

  8. #8
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Glad to help ... enjoy your Fedora.

Posting Permissions

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