LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 05-25-2004, 03:38 PM   #1
confidential007
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37

Rep: Reputation: 15
FC2 Won't Boot


I have previously installed RHL 9 and FC 1 with no problems. I decided to perform a clean install with FC 2 so I could take advantage of all of the new features (some of them don't work when upgrading).

I chose to place the boot loader (GRUB) in the first sector of my primary partition of my Linux drive (PATA: slave on primary channel). After the install was finished, I clicked the Reboot button like instructed.

When the computer started up again, it booted XP. I changed the boot order so that the computer would boot from IDE-1 instead of IDE-0. When I rebooted the computer, it stated that it found a boot record on IDE-1. "GRUB" appeared on the next line and the computer sat there with no activity for at least twenty minutes.

I tried the boot diskette that I had made for FC 1 to see if it could boot FC 2. Unfortunately, that diskette was set up to boot the 2.4.x kernel instead of the new 2.6 kernel. Many errors occurred during the boot sequence and kudzu appeared several times stating that items such as my keyboard and integrated LAN controller were no longer connected to my computer. Subsequently, X was unable to start.

How can I get anaconda to let me create a boot diskette so I am not forced to put GRUB in the MBR to boot FC 2? I have never had this problem in the past.
 
Old 05-25-2004, 03:55 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
There is no boot diskete in FC2. There is a rescue CD (70 MB or so). Download the iso in your XP, burn and boot from that.
 
Old 05-26-2004, 03:04 PM   #3
confidential007
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37

Original Poster
Rep: Reputation: 15
I tryed the rescue CD, but all it gave me was a shell prompt with my FC 2 instalation mounted in a directory. I still am not able to get FC 2 to boot.
 
Old 05-26-2004, 03:40 PM   #4
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Ok so you are into FC2 already. Did ti mount your system at /mnt/sysimage? Was there a note saying so?

OK DO THIS BEFORE CONTINUING (Leave the text under for next post , OK?)
run these commands one by one:

/sbin/fdisk -l
(remember what this posts. write it down!)

cat /boot/grub/grub.conf
(remember what this posts. write it down!)

Post both of these here.

If nothing happens from those two commands do:

chroot /mnt/sysimage

and then try the above two commands again.


-------------------------------------------------------------------
LEAVE THE TEXT BELOW FOR THE NEXT POST!!!
DO NOT PROCEED BEFORE POSTING THE OUTPUT OF THE ABOVE TWO COMMANDS!!!


I don't know as I haven't booted into FC2 from rescue CD. If it did say that your system is at /mnt/sysimage, then do a :

chroot /mnt/sysimage (won't hurt if it didn't because the directory doesn't exist then, so you can do this in any case just to be sure)

The other thing for you to do is run:

/sbin/grub-install /dev/hda

This WILL install grub to the MBR and thus wipeout your abilities to boot into XP, until you make them happen, unless they are configured in GRUB already.
 
Old 05-27-2004, 01:59 PM   #5
confidential007
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37

Original Poster
Rep: Reputation: 15
The anaconda resue mode told me that my system had been mounted under /mnt/sysimage

Here is my session in the rescue shell:
Code:
sh-2.05b# /sbin/fdisk -l
sh: /sbin/fdisk: No such file or directory
sh-2.05b# chroot /mnt/sysimage
sh-2.05b# /sbin/fdisk -l

Disk /dev/hda: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id System
/dev/hda1   *           1      238186   120045681   44 Unknown

Disk /dev/hdb: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id System
/dev/hdb1   *           1          13      104391   83 Linux
/dev/hdb2              14        4740    37969627+  83 Linux
/dev/hdb3            4741        4870     1044225   82 Linux swap
sh-2.05b# cat /boot/grub/grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# 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/hdb2
#         initrd-version.img
#boot=/dev/hdb1
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
password --md5 $1$ubSo3O1Y$gLsCdU6Mz4awdH34Gpfco0
title Fedora Core (2.6.5-1.358)
        root (hd1,0)
        kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.5-1.358.img
sh-2.05b#
 
Old 05-27-2004, 02:27 PM   #6
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Ok it is safe for you to go into rescue mode again and do the following:

chroot /mnt/sysimage
/sbin/grub-install /dev/hda

This will install GRUB loader on your primary disks (Windows disk) MBR. That way GRUB will be the default boot loader. At this point you can reboot. But if you want to be able to choose Windows right away, do the following first.

emacs /boot/grub/grub.conf

Add these lines at the bottom of the grub.conf file:

title Windows XP
rootnoverify (hd0,0)
chainloader +1

Press CTRL+X+S (to save the file, this means CTRL+x and then +S while still holding CTRL and released X)
Press CTRL+X+C (to exit emacs)

However you can do this after if you wish, when you will be happy in fedora.



Good luck! At this point you should have rebooted already.
 
Old 05-27-2004, 02:36 PM   #7
confidential007
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks for the help, marghorp.

However, I was hoping to continue with the setup I had used with RHL 9 and FC 1. I was setup so whenever I started the computer, it booted to XP by default without grub being started. If I wanted to boot into Linux, I inserted a floppy into the computer that made grub start up and automatically boot into Linux.

I would use your solution, but this is the family computer and I am the only Linux user in the family and it would be an annoyance to the rest of my family. Also, the dual boot bug in FC 2 when installed with XP scares me. My dad would kill me if FC 2 killed XP. I have read that this bug only seems to occur when the boot loader is installed into the MBR. Also, I have never installed the boot loader into the MBR and never had any problems with booting.
 
Old 05-27-2004, 02:39 PM   #8
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Oh. So what is the problem? Boot from the disk. I thought you want a boot loader, why else would you install grub then?

As you wish, you are just missing a lot without the boot loader. And it can be made to boot directly to XP by default.
 
Old 05-27-2004, 02:44 PM   #9
confidential007
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37

Original Poster
Rep: Reputation: 15
Where can I get a disk? Anaconda never gives me the oppurtunity to make one during the instalation and the one I made with FC 1 gives me all kinds of errors since it is made to boot the 2.4.x kernel.

If I can not make a boot disk, how do I get grub to automatically boot XP without coming up?

Last edited by confidential007; 06-02-2004 at 12:52 PM.
 
Old 05-27-2004, 03:02 PM   #10
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Well it can't without coming up, but you can limit it's time being up. Like 2 or 3 seconds. No one notices it.

The thing you have to do is install grub to MBR. I know it sounds scary and it is up to you. I didn't have any problems yet with it and I have installed FC2 for 10 times now, because of some mouse problems I had, which were BIOSrelated as I found out at last.

However I believe there is an option to boot Linux from XP with XP's boot loader. I think there was a post about that here someday. So If you are scared of putting grub in MBR, just search google for booting linux with XP.

Anyway just to explain how you would make it boot into XP automatically. in the grub.conf file there is a line saying:

default=0

The options below are title Fedora and title Windows XP, when you make the option for XP off course. So you have two options. The upper most is 0 and the next is 1 and so on.

So if you had:

title Fedora.....
......
.....
title Windows XP
rootnoverify....
chainloader.....

The default line should look like this to let you boot into XP automatically:

default=1

I think you get the point.

The line timeuot:

timeout=10

tells you how many seconds will the bootloader wait until selecting the default choice.

So change that to 3 and it should go by before you see it.

If you plan to go to linux though you will have to wait for the beep when BIOS starts (there will not be any output to the screen, at least there is none on my computer, because the monitor turns on later) and press up or down key on your keyboard to end the timeout procces and select Fedora at boot.


Good luck!

Peace!
 
Old 05-27-2004, 03:17 PM   #11
confidential007
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37

Original Poster
Rep: Reputation: 15
Here is a link to the guide for using the Windows boot loader: http://www.tldp.org/HOWTO/Linux+NT-Loader.html
It is a little outdated (1997), but I think it should still be useful.

Is there a way to manually make a FC 2 boot disk or modify a FC 1 boot disk to boot FC 2?
 
Old 05-27-2004, 03:29 PM   #12
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
I believe so, just see the syslinux.cfg file on your boot diskette, and change it accordingly to what oyu have installed on your system. It should work. Use grub.conf to help you adjust.
 
Old 05-28-2004, 10:09 AM   #13
confidential007
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: Red Hat Linux, Fedora Core, Knoppix, tomsrtbt
Posts: 37

Original Poster
Rep: Reputation: 15
I found a thread that talks of how to make a boot disk. Here is its URL: http://www.fedoraforum.org/forum/sho...?threadid=1272

I had to use the Rescue CD to make the boot disk.

Last night an idea occurred to me. Does each hard drive have its own MBR? If so, does the boot loader bug that hoses XP not effect you if FC 2 is installed on a seperate hard drive? Even though the boot floppy works, it is slow and cumbersome. It would be easier if i could boot right from the hard drive without needing the boot floppy or a grub-style boot menu that loads every startup. My computer's BIOS allows me to select the boot device interactively by pressing F8 during startup. I have been using this feature to load Knoppix and the FC 2 Rescue CD without having to mess with the BIOS's boot order.

I have continued this discussion in a new thread titled "Grub not installing correctly" (http://www.linuxquestions.org/questi...hreadid=188870)

Last edited by confidential007; 06-02-2004 at 12:55 PM.
 
  


Reply



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
Can't boot FC2! mobn Linux - General 1 03-01-2005 08:19 PM
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-08-2005 11:59 PM
Dual boot XP/FC2 probs aftter FC2 install - "cannot find operating system" bcal Fedora - Installation 4 01-30-2005 03:38 PM
FC2 not boot scng Linux - General 4 09-14-2004 06:41 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 09:48 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