Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 05-08-2005, 09:49 AM   #1
LQ Newbie
Registered: May 2005
Location: Thessaloniki, Greece
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Boot problem with Fedora and XP

I Have 2 drives, in the first 80GB is XP and on the second 20GB is Fedora. I don't have any experience about the boot process. When I boot Windows I get the following message.
chainloader +1

my fdisk -l is the following

Disk /dev/hda: 20.5 GB, 20519411200 bytes
255 heads, 63 sectors/track, 2494 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2494 19928632+ 8e Linux LVM

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4603 36973566 7 HPFS/NTFS
/dev/sda2 4604 9729 41174595 f W95 Ext'd (LBA)
/dev/sda5 4604 9729 41174563+ 7 HPFS/NTFS

my device map is the following

# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/sda

my grub.conf is the following

# 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 (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
title Fedora Core (2.6.9-1.667smp)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667smp.img
title Fedora Core-up (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Other
chainloader +1

can someone help me please?
Thanks in advance
Old 05-08-2005, 10:12 AM   #2
Senior Member
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,407

Rep: Reputation: 55
You should have put XP on the smaller drive and Linux on the larger drive, their no way XP will ever use that much space, after you start using Linux.
Goto /system tools/Filemanger SuperUser and open /boot/grub/menu.lst and edit the line 'Other' to read hd0,1 is where XP is. Linux should be hd1,1
The other thing after you change menu.lst do a grub-install /dev/hda and that will put the boot on /MBR track0 of first drive.

Old 05-08-2005, 10:31 AM   #3
Registered: Nov 2003
Location: Downey Ca
Distribution: Fedora 11
Posts: 222

Rep: Reputation: 30
Fedora Core 3 Install

This by all means may not work for everybody.

I run an Intel D865perl motherboard with 2.6 gig Intel processor with 1 gig of ram. Two 250 gig
hard drives. The first hard drive is for Windows XP. Second hard drive is for Fedora and data

Drive 2 the first 40 gig is Fedora and the second 210 gig is for files backups and Norton ghost 2003
images. Which I never doing anything without a current image file it will save your butt.

Install Fedora Core 3 on the second hard drive and use the automatic partitioning tool but don't
put grub on your Master MBR put it on the first sector on your second drive. When you get to the
Boot Loader Configuration screen make sure you check the Configure advanced boot loader
options. The next screen will give the option where to put Grub Boot Loader. It should say like
hda or hdb. Hda is usually your XP Drive. From their finish loading. Put it on hdb.

Now duel booting using XP boot manager (My Preference. I don't like third party boot managers.)

Use your rescue CD to boot to Fedora.
Hit enter at the boot prompt.
Hit enter for English
Hit enter for us
Setup network select no
At the rescue screen select continue
At the next rescue screen hit enter
Now you have a prompt sh-3.00#
At the prompt type in chroot /mnt/sysimage
If hdb2 is Not your boot partition, change it as appropriate. Type: df then determine which hda#
Run the command dd if=/dev/hdb2 of=boot.lnx bs=512 count=1
You should see
1+0 records in
1+0 records out
Type ls and you should see a file named boot.lnx
Put a blank floppy disk in your a: drive
Type mcopy boot.lnx a:
It should have copied the file to your a: drive

Now reboot to Windows

Copy boot.lnx to your root directory
Right click on your boot.ini file select properties and uncheck read only click ok
Double click your boot.ini file and add one line at the end it should read
C:\boot.lnx="Fedora Core 3". Then save it. When you reboot your XP boot
manager will come up and you can chose Fedora it jumps to the Grub Boot manager on your
second drive.

My file looks like this

[boot loader]
[operating systems]
multi(0)disk(0)rdisk(0)partition(0)(1)\windows="Microsoft Windows XP Pro SP2"
/fastdetect /NoExecute=OptIn
c:\boot.lnx="RedHat Fedora Core 3 Project"

You call it anything you want
Old 05-08-2005, 01:07 PM   #4
Senior Member
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,407

Rep: Reputation: 55
Boot Linux from WindowsXP !!! That's an insult toa true blue Linux hacker.



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 C3 boot problem ksmj Fedora 7 01-06-2005 06:09 PM
Boot Cd and Fedora Install Problem Detriamus Linux - Newbie 2 07-21-2004 04:12 PM
Fedora Core 1 Boot Problem~! skate Linux - Newbie 4 06-08-2004 06:48 AM
Fedora Core 1 Boot problem :-\ Tekk Fedora - Installation 1 04-12-2004 09:48 PM
Fedora Boot Problem landholl Linux - Networking 5 02-10-2004 04:52 PM

All times are GMT -5. The time now is 08:46 PM.

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