LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2005, 02:11 PM   #1
norus
LQ Newbie
 
Registered: Mar 2005
Location: Internet
Posts: 25

Rep: Reputation: 15
Fedora Core 3 and Debian 3.0 r4 dual-boot problem


Hi.
I have currently one harddisk and 3 operating systems on it (Windows XP, Fedora Core 3 & Debian 3.0 r4). It has 6 partitions and it looks like this:

##############################################################
/dev/hda1 * 1 2547 20458746 7 HPFS/NTFS
/dev/hda2 2548 9729 57689415 f W95 Ext'd (LBA)
/dev/hda5 2548 4506 15735636 7 HPFS/NTFS
/dev/hda6 4507 8423 31463271 83 Linux
/dev/hda7 8424 8547 995998+ 82 Linux swap
/dev/hda8 8548 9729 9494383+ 83 Linux
##############################################################

I have first installed Windows XP. Then I've installed Fedora Core 3 on /dev/hda6 with only "/" (no /boot & swap). I've also installed grub in Fedora as my boot loader and I can load both Windows and Fedora. This is how my menu.lst looks:

##############################################################
title Fedora Core (2.6.10-1.770)
root (hd0,5)
kernel /boot/vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.10-1.770_FC3.img
title Fedora Core (2.6.9-1.667)
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
##############################################################

Finally, I've installed Debian 3.0 r4 with swap on /dev/hda7 and "/" on /dev/hda8. I have NOT installed lilo. Now I wanted to modify my menu.lst or grub.conf as described here:

enterprise.linux.com/enterprise/04/12/23/2033238.shtml?tid=129&tid=47

It says there that I should copy 3 files from /boot on my Debian partition (/dev/hda8) to /boot on my current, Fedora partition (/dev/hda6). However, I could not locate all those 3 files. The required files are:

##############################################################
initrd-xxx.img
System.map-xxx
vmlinuz-xxx
##############################################################

And here is what I have in /boot on Debian root:

##############################################################
lrwxrwxrwx 1 root root 11 Mar 17 20:03 boot.b -> boot-menu.b
-rw-r--r-- 1 root root 7988 Apr 13 2002 boot-bmp.b
-rw-r--r-- 1 root root 6204 Apr 13 2002 boot-compat.b
-rw-r--r-- 1 root root 7964 Apr 13 2002 boot-menu.b
-rw-r--r-- 1 root root 6204 Apr 13 2002 boot-text.b
-rw-r--r-- 1 root root 728 Apr 13 2002 chain.b
-rw-r--r-- 1 root root 3888 Mar 17 20:00 config-2.2.20-idepci
-rw-r--r-- 1 root root 656 Apr 13 2002 os2_d.b
-rw-r--r-- 1 root root 224124 Mar 17 20:00 System.map-2.2.20-idepci
-rw-r--r-- 1 root root 665509 Mar 17 20:00 vmlinuz-2.2.20-idepci
##############################################################

Although, I am missing initrd-xxx.img file.
Thank you for your help.
 
Old 03-17-2005, 03:35 PM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
First off - congrats on a first post with *lots* of relevant information!

Did you make a boot floppy for the Debian install?

If you did, I'd suggest booting into Debian from the floppy, and then installing either GRUB or LILO to the boot record of the Debian partition (NOTE: *NOT* the MBR of the whole disk.)

Then reboot into Fedora, and add the following to ../grub/menu.lst:

title Debian
root (hd0,7)
chainloader +1

Another reboot, and you should be able to select Debian from GRUB...

Last edited by mugstar; 03-17-2005 at 03:36 PM.
 
Old 03-17-2005, 04:04 PM   #3
norus
LQ Newbie
 
Registered: Mar 2005
Location: Internet
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mugstar
First off - congrats on a first post with *lots* of relevant information!

Did you make a boot floppy for the Debian install?

If you did, I'd suggest booting into Debian from the floppy, and then installing either GRUB or LILO to the boot record of the Debian partition (NOTE: *NOT* the MBR of the whole disk.)

Then reboot into Fedora, and add the following to ../grub/menu.lst:

title Debian
root (hd0,7)
chainloader +1

Another reboot, and you should be able to select Debian from GRUB...
:-) Thank you for your answer but, unfortunatly, my computer has no floppy drives. Any other solutions?
 
Old 03-17-2005, 04:06 PM   #4
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Can you lay your hands on a LiveCD such as Knoppix? You may be able to install a bootloader to the Debian partition using that...
 
Old 03-17-2005, 04:12 PM   #5
norus
LQ Newbie
 
Registered: Mar 2005
Location: Internet
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mugstar
Can you lay your hands on a LiveCD such as Knoppix? You may be able to install a bootloader to the Debian partition using that...
Yes, I have Ubuntu Live. Since I am just a newbie, could you, please, be more specific on what exactly I have to do?
 
Old 03-17-2005, 04:40 PM   #6
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Here's where I get caught out!

I'd suggest booting up the live cd, than doing `man lilo` or `man grub` in a terminal to check the command syntax for installing the bootloader to a given partition. I'm not on my own box just now so I can't be more specific, sorry.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core Dual Boot, and Problem with startx Sova aka Ruso Linux - Newbie 1 06-12-2005 12:57 PM
Fedora and Debian Dual Boot Problem EliotK Debian 7 03-03-2005 07:20 AM
does Fedora Core 3 not dual boot problem? qbsu21th Fedora 14 11-16-2004 09:59 AM
dual boot problem after Fedora Core 2 installation qbsu21th Fedora 2 10-20-2004 04:20 AM
Win Xp & Fedora Core 2 dual boot Problem jonfa Linux - General 1 10-02-2004 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration