Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Installation
Reload this Page Adding Fedora 7 to grub installed in openSUSE 10.3
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Installation Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Reply
 
Thread Tools Display Modes
Old 05-07-2008   #1 (permalink)
Darknight65
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.
Darknight65 is offline   Reply With Quote
Old 05-07-2008   #2 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
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.
Jonathan183 is offline   Reply With Quote
Old 05-07-2008   #3 (permalink)
Darknight65
Just Joined!
 
Join Date: May 2008
Posts: 4
/dev/sda8 is the partition Fedora's root it loaded on.
Darknight65 is offline   Reply With Quote
Old 05-07-2008   #4 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
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.
Jonathan183 is offline   Reply With Quote
Old 05-07-2008   #5 (permalink)
yancek
Linux Newbie
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 227
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.
yancek is offline   Reply With Quote
Old 05-07-2008   #6 (permalink)
Darknight65
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
Darknight65 is offline   Reply With Quote
Old 05-07-2008   #7 (permalink)
Darknight65
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.
Darknight65 is offline   Reply With Quote
Old 05-07-2008   #8 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
Glad to help ... enjoy your Fedora.
Jonathan183 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 03:28 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0