LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Boot problem with Fedora and XP (https://www.linuxquestions.org/questions/fedora-35/boot-problem-with-fedora-and-xp-321281/)

grizos 05-08-2005 08:49 AM

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.
rootnoverify(hd1,0)
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
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
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
rootnoverify(hd1,0)
chainloader +1


can someone help me please?
Thanks in advance

mickeyboa 05-08-2005 09:12 AM

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.

Jim

harley51 05-08-2005 09:31 AM

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
backups.

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]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(0)(1)\windows
[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

mickeyboa 05-08-2005 12:07 PM

Boot Linux from WindowsXP !!! That's an insult toa true blue Linux hacker.

LOL
Jim


All times are GMT -5. The time now is 02:03 PM.