LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
LinkBack Search this Thread
Old 05-29-2006, 02:26 PM   #1
Starr15
LQ Newbie
 
Registered: May 2006
Posts: 9

Rep: Reputation: 0
Difficulty With Dual Boot


Ok I am new to Linux, I have used DSL and Slax on thumbdrives but that is about it.

I have the Fedora 5 x86 DVD iso. I have two HDDs a master with Windows XP Pro (160GB) and a slave (40GB) that is to get Fedora. Ok so I go through the installer and pick my packages and I do the default partitions. It does it's thing and it installs correctly. I reboot and go back into the installer and I choose to upgrade an existing install and it has Fedora whatever so I click next. Then I choose my XP drive as my default for GRUB. Then No matter if I tell it to install to the MBR or the beginning of the /boot partition it gives me this message "No kernal packages were installed on your system. Your boot loader configuration will not be changed."

I went into rescue mode for the hell of it an it says that it detects my Fedora install.

I would really appreciate any help.
 
Old 05-30-2006, 03:09 AM   #2
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
OK, in the first place you should have installed the grub bootloader but since you did not, in the rescue mode, make a floppy boot disk with:
Code:
chroot /mnt/sysimage
to mount your fedora install, then
Code:
mkbootdisk $(uname -r)
to make the floppy boot disk. Then, use your floppy to boot back into FC5, then install grub from there.
 
Old 05-30-2006, 04:13 AM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
FC5 seems to really stuff this up.

Have a look at

http://www.linuxquestions.org/questi...d.php?t=439864

This should get you there (I assume that you did install grub on installation)
 
Old 05-30-2006, 10:08 AM   #4
Starr15
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by whipermr5
OK, in the first place you should have installed the grub bootloader but since you did not, in the rescue mode, make a floppy boot disk with:
Code:
chroot /mnt/sysimage
to mount your fedora install, then
Code:
mkbootdisk $(uname -r)
to make the floppy boot disk. Then, use your floppy to boot back into FC5, then install grub from there.

So I will have to run these commands and then it will make a boot disk on this floppy. Then this will allow me to boot into Fedora. Because when I switch the HDD so that the slave becomes the master it says there is no OS. So I will boot from the floppy, get into FC and install Grub. Should I install it to the MBR or to the first sector on the /boot partition?
 
Old 05-30-2006, 03:15 PM   #5
Starr15
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
ok, first I did that chroot command and it went to the next line, then I typed in the second line you told me and it says:

Code:
sh: mkbootdisk: command not found

Any suggestions?
 
Old 05-30-2006, 09:52 PM   #6
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Hmmm... Try
Code:
/sbin/mkbootdisk $(uname -r)
About where to install grub, install it on the MBR of the master HDD.
 
Old 05-30-2006, 10:04 PM   #7
Starr15
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I tried doing the grub-install /dev/hda after mounting the sysimage but it didn't work. I read on another forum that you need to do custom partition to get it to work on a second drive. I set up my partitions and then it asked to install GRUB during the installer , it didn't before I would have to go back into anaconda after I installed it. I installed it to the MBR but when I rebooted it still didn't work. I went to the rescue console and I edited the timeout value in /boot/grub/menu.lst from 5 to 50 but is still does not work. This is really starting to get irritating.
 
Old 05-30-2006, 10:08 PM   #8
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Can you post the contents of /boot/grub/menu.lst and the output of
Code:
fdisk -l /dev/hda /dev/hdb
?
 
Old 05-31-2006, 03:37 PM   #9
Starr15
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I am assuming this is the part you want:

Device Boot Start End Blocks ID System
/dev/hda1 * 1 19456 156280288+ 7 HPFS/NTFS



Device Boot Start End Blocks ID System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 421 3277260 82 Linux swap / Solaris
/dev/hdb3 422 4865 35696430 8e Linux LVM



Ok, here is menu.lst this is after a fresh reinstall of Linux and the bootloader so the timeout value is back to 5.

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

boot=/dev/hda
default=1
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd1,0)
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
initrd /initrd-2.6.15-1.2054_FC5.img
title Windows
rootnoverify (hd0,0)
chainloader +1
 
Old 06-01-2006, 04:38 AM   #10
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Quote:
Originally Posted by Starr15
I tried doing the grub-install /dev/hda after mounting the sysimage but it didn't work. I read on another forum that you need to do custom partition to get it to work on a second drive. I set up my partitions and then it asked to install GRUB during the installer , it didn't before I would have to go back into anaconda after I installed it. I installed it to the MBR but when I rebooted it still didn't work. I went to the rescue console and I edited the timeout value in /boot/grub/menu.lst from 5 to 50 but is still does not work. This is really starting to get irritating.
Can you specify in what way didn't it work?
 
Old 06-01-2006, 08:16 AM   #11
Starr15
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by whipermr5
Can you specify in what way didn't it work?

For the grub-install it had something to do with different BIOS thing. I can't remember but I can look it up when I get home from school.


As for after it asked in the installer and I installed it to the MBR it would just boot right into Windows.
 
Old 06-02-2006, 03:16 PM   #12
Starr15
LQ Newbie
 
Registered: May 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Anyone have any suggestions?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Multi Boot difficulty related to Grub and fstab? ? jiapei100 Linux From Scratch 1 02-26-2005 07:07 AM
Multi Boot difficulty related to Grub and fstab jiapei100 Linux - General 2 02-26-2005 07:07 AM
Difficulty formatting laptop with Fedora Core boot disk laurameister Linux - Newbie 8 06-03-2004 01:56 PM
Difficulty in getting YDL and Gentoo to boot clion Linux - Newbie 0 11-26-2003 12:47 AM


All times are GMT -5. The time now is 05:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration