Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-14-2005, 10:01 PM   #1
LQ Newbie
Registered: Apr 2005
Posts: 6

Rep: Reputation: 0
Trying to install Fedora Core 3 with XP to dual boot - XP doesnt work anymore

Im hoping someone can help me with an installation issue! I was running windows xp pro with sp2 and tried to install Fedora Core 3 so i could dual boot them. I have a IDE Ultra ATA 120GB harddrive which is where xp and all my data is, and i recently bought a SATA 160GB hard drive so i didnt have to partition and i could have more space. I went through the installation and tried to put Fedora onto the second hard drive and i put grub onto the main drive with xp. I set xp to stay as the default os. I thought it was all sweet coz fedora starts up fine (i think - i dont know much about it but it looks ok), BUT xp doesnt boot up anymore. It says it has failed to boot up and gives me the options of:

Safe Mode
Safe Mode with Networking
Safe Mode with Command Promt
Last known Good Configuration of Windows
Start Windows Normally

Everytime i try to boot xp this comes up and when i try to load them, everyone just restarts the computer before anything loads up!
Does anyone have any suggestions on how to get XP to boot properly without having to reinstall it completely?? I dont want to have to reinstall xp and fedora because it seems im so close to having them both work!
Any help at all out be very appreciated
Old 04-14-2005, 10:47 PM   #2
LQ Newbie
Registered: Apr 2005
Posts: 6

Original Poster
Rep: Reputation: 0
back up drive

or perhaps someone can tell me how is the easiest way (for a windows user) to access my windows hard drive from linux and back that up on my linux hard drive?? That way i might be able to just reinstall xp. Please help! Anyone!
Old 04-14-2005, 10:53 PM   #3
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Are you sure you installed Linux to the second drive and not over top of Xp on the first drive?
Please post your bootloader config file. If lilo, it's /etc/lilo.conf if grub it's /boot/grub/menu.lst

Also wouldn't hurt to post your /etc/fstab
Old 04-14-2005, 11:00 PM   #4
LQ Newbie
Registered: Apr 2005
Posts: 6

Original Poster
Rep: Reputation: 0
ok ill go home and try to find that and post it(gotta go to the library to try use the computers coz i also dont know how to get my dial up modem working on linux yet ). Id just look in the "my computer" type of thing to find it yeah? Sorry i have no idea
ill have a look
Old 04-15-2005, 06:02 AM   #5
LQ Newbie
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0
I also encountered with the same problem. I had winXp and Linux together, which were booted seperately. Lately, I installed Grub so that I can dual-boot. I am able to boot into Linux with Grub now. But, XP completely stopped working for me. I tried with a recovery console in XP, which didn't help either.

My machine configuration:

AMD 2000XP, 128MB RAM, 40GB HDD.

I also would greatly appreciate getting a solution for this issue.

Old 04-15-2005, 06:15 AM   #6
Registered: Jan 2005
Location: India
Distribution: Fedora Core 2
Posts: 83

Rep: Reputation: 15
Maybe this link might help.
Old 04-15-2005, 07:04 AM   #7
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 15
Maybe you could try to install lilo instead of grub as a boot loader. I had this kind of problem once with grub. Presently, I have a dual boot system with Linux and XP SP2.

But first you could try to repair grub. Here is a link on how to repair it on FC. Sometimes, it is just because the MBR got corrupted.
Old 04-15-2005, 07:17 AM   #8
LQ Newbie
Registered: Jul 2004
Distribution: SuSE 9.1 Professional
Posts: 10

Rep: Reputation: 0
I had the same problem with SuSE and GRUB i thought. SuSE was booting fine via GRUB, no XP. Running SuSE from version 7.0 i had already mounted my windows partitions, so i could see that everything was still there. Made a copy of the entire Documents and Settings folder, and than followed a post at SuSE's portal that suggested to either change the hardrive BIOS setting to LBA or from LBA if already set. Everything's working fine since then.
I used this lousy solution on several machines, various distributions always wiht xp. Lousy, because i never found a proper explanation.

Hope this works for you too
Old 04-15-2005, 07:28 AM   #9
LQ Newbie
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0
Initiallly, Anaconda had screwed up the Grub installation due to some reason. Later, I re-installed Grub on MBR, after which Linux booting started working. But, WinXP had gone for a toss.

I tried fixmbr in windows rescue mode. But it screwed up windows booting. (There was a warning at the end of fixmbr output, saying that it works only on X86 based machines. Any way to get this to work for an AMD?).

So, the Grub is installed in MBR now. And Linux is booting fine. Any way to fix windows installation without losing the data?
Old 04-15-2005, 09:04 AM   #10
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
Look, none of you have posted a copy of your GRUB configuration file. FYI, here's mine:
$ sudo cat /boot/grub/grub.conf | grep ^[^#]
title Fedora Core (2.6.11-1.14_FC3smp)
        root (hd1,1)
        kernel /vmlinuz-2.6.11-1.14_FC3smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.11-1.14_FC3smp.img
title Fedora Core (2.6.11-1.14_FC3smp) no rhgb, run level 3
        root (hd1,1)
        kernel /vmlinuz-2.6.11-1.14_FC3smp ro 3 root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.11-1.14_FC3smp.img
title Fedora Core (2.6.10-1.770_FC3smp)
        root (hd1,1)
        kernel /vmlinuz-2.6.10-1.770_FC3smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.10-1.770_FC3smp.img
title Windows
        rootnoverify (hd0,0)
        chainloader +1
Note the last three lines. Those let me boot to the XP/NT boot.ini menu, where I can boot to any of the Windows systems on my drives (except W98, which requires a boot from my BIOS, since it's not on /dev/hd0).
Old 04-15-2005, 09:08 AM   #11
LQ Newbie
Registered: Nov 2004
Location: Mexico
Distribution: FC, Gentoo
Posts: 3

Rep: Reputation: 0
Thumbs up Fix dual boot

I can tell you of an ugly hack if you want to solve your dual boot problem quickly. It is almost sure you'll get it right in no time, although if you want to learn how and why this is done, it can take a whole more lot of time.

In essence, it's a two-step process:

a.- kill current boot settings and restore windows boot settings
b.- restore linux boot settings which will include the new windows boot settings

There is an, as far as i know, undocumented feature in the win98 system boot disk. It doesn't matter whether or not you have winxp or other flavour installed. Just boot up with the said boot disk in the drive and wait for the command prompt. Once you're there, type: fdisk /mbr

That will detect windoze boot settings and will fix them so that, if as has been said before, your xp install is not damaged, you will be able to boot it again. Just remove the disk from the drive and type ctl+alt+sup. Your machine will restart and you will recover your windows automatically.

Of course, that will destroy the lilo or grub settings. You will have then to restore grub to your machine, but that's easy.
I understand you have been directed where to look to restore your grub/lilo settings. That is easy with your Linux installation CDs.

I believe, you'll be back in no time with a dual boot machine.

Old 04-15-2005, 09:10 AM   #12
LQ Newbie
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0
Ok. Here is the full list of checks that I had run.

Command : fdisk -l
Disk /dev/hda: 40GB, 40020664320 bytes
255 heads, 63 sector/track, 4865 cylinders

Units = Cylinders of 16065 * 512 = 8225280 bytes

Device          Boot    Start   End             Blocks          Id              System

/dev/hda1         *             1               1275    10241406        c               Win95 FAT32 (LBA)
/dev/hda2                       1276    4864    28828642+       f               Win95 Ext'd (LBA)
/dev/hda5                       1276    3825    20482843+       7               HPFS / NTFS
/dev/hda6                       3826    4798    7815591         83              Linux
/dev/hda7                       4799    4863    522081          82              Linux swap

FileName : /boot/grub/grub.conf
default = 0
timeout = 10
splashimage = (hd0,5)/boot/grub/splash.xpm.gz

title   Linux RH9.0
                root (hd0,5)
                kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hda6 rhgb
                initrd /boot/initrd-2.4.20-8.img

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

Results of GRUB installation on to MBR
grub> setup (hd0)

Checking if "/boot/grub/stage1" exists....... yes
Checking if "/boot/grub/stage2" exists....... yes
Checking if "/boot/grub/e2fs_stage1_5" exists....... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"....... 16 sectors are embedded
Running "install /boot/grub/stage1 (hd0) (hd0) 1+16 p (hd0,2)/boot/grub/stage2 /boot/grub/grub.conf....... succeded
Hope this one will give some pointer.
Old 04-15-2005, 09:43 AM   #13
Registered: Jan 2005
Location: Ann Arbor MI
Distribution: Mandriva 2006
Posts: 99

Rep: Reputation: 15

I had a problems a little bit like yours w/ win xp and mandrake, I could get into winxp maybe once out 12 boot up or so, then I defreged my windows drive and all was better, but youd hafta get into windows once I doubt this info will help...just an idea though, I'm not sure if there a defrag utility out there somewhere that would run off of some sort of bootable disk.
Old 04-15-2005, 11:55 AM   #14
LQ Newbie
Registered: Jan 2005
Distribution: Debian, testing
Posts: 19

Rep: Reputation: 1
rootnoverify (hd0,0)
Shouldn't that be the folowing?
rootnoverify (hd0,1)
Old 04-16-2005, 06:15 AM   #15
LQ Newbie
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0

But, my windows installation is in hda1, which is nothing but (hd0,0). Anyway, I had tried whatever you have suggested also. :-)


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
dual boot fedora core 1 JEZABEL Fedora 1 04-23-2005 01:09 AM
Fresh FC3 Install - Dual Boot Fedora Core 3 Workstation/Server Possible ? testguyct Fedora 1 03-15-2005 05:10 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
dual boot xp fedora core 2 linuxlikeworms Linux - Newbie 2 01-04-2005 07:03 AM
Fedora Core 2 install in pre-dual boot (XPPro/W2K3 Server) aalavic Linux - Newbie 2 10-27-2004 04:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:07 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
Open Source Consulting | Domain Registration