GRUB problem when Dual Booting Win XP and Fedora core 4

Hi Im new to this forum and new to linux (dont cringe yet k?). Well anyway I have tried a few times to install fedora core 4 to a system with win XP previously put on the same hard drive but both end up with the same problem.

Everything Linux 1798 This topic was started by ,



data/avatar/default/avatar09.webp

7 Posts
Location -
Joined 2005-07-24
Hi
Im new to this forum and new to linux (dont cringe yet k?). Well anyway I have tried a few times to install fedora core 4 to a system with win XP previously put on the same hard drive but both end up with the same problem. What the problem is, is that when I start the PC up everything seems fine then its says GRUB with a flashing _ like its loading but then nothing happens and I cant access any OS's. So I went to my windows CD and fixed the MBR and now windows boots. So I tryed again later I removed the linux partitions and let fedora set it up automatically by this time I thought that Id maybe left something crucial out before and by this way it would work but alas the same problem. I still have linux sat on my hard drive not doing anything. Id really like to join the world of linux and would appreciate any help I could get.
 
Thanx for your time
Tom
 
p.s Ive looked at http://www.overclockersclub.com/guides/dual_boot_fedora_xp_4.php and I think that I followed pretty much all the instructions on here.

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic



data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Welcome!
 
Let's start out with a few bits of information first. This may help us determine what might be happening.
 
The directions that you linked to are for systems with 2 hard drives, using the second hard drive as the Fedora drive. That in mind;
 
1. What system do you have? Is this by chance a Dell or Gateway computer? Some system specs. would help. Amount of memory and how large is the hard drive that you are using?
 
2. What are you using to change your partitions, just the Fedora partitioning utility, or another partition manager?
 
--It sounds like you told Fedora to overwrite the MBR, but the directions also note that they make a "boot" partition. Did you also make a boot partition? This may actually be a problem.
 
3. Since you are installing on the same hard drive as Windows, did you defrag the Windows partition before installing Fedora? This prevents any problem with data residing near the end of your Windows partition that could mess up things when Fedora (or whatever partitioning utility that you are using) attempts
to make the Linux partitions.
 
4. When you go through the installation, what are you picking as the OS to boot first? Windows or Fedora?
 


data/avatar/default/avatar09.webp

7 Posts
Location -
Joined 2005-07-24
OP
hey thanx for replying I was kinda left without a pot to piss in because no one I know uses linux they're all the "theres another OS that isnt windows!?!? type
 
1. Proccesor: AMD Duron, 803MHz
RAM: 256mbs
Motherboard Model: Micro-star MS-6330
chippset: VIA VT8363a KT133A
Monitor: tatung
Graphics card: Radeon 8500 series
Sound card: VIA AC'97 Audio
Drives: liton dvdrw, creative cd
Hard drive: 150GB
 
This is not a dell PC this is a PC that I built myself (As you can see I have rather limited funds ).
 
I have succesfully burnt and run a live distro of kubunto with this pc which worked perfectly.
 
2. Yeah I just used the fedora core 4 partitioning utility im pretty sure that when i let it set up the partitions automatically it set a boot partition. But ive just gone to check recently and im dont think I can find one called \boot but im pretty sure there was one originally maybe when I fixed the MBR using windows recovery cd it got rid of it.
 
3. I didnt defrag the windows partition so that may be the problem.
 
4. I Picked Fedora to boot first
[Edited by Glorioso on 2005-07-24 06:21:40]
 


data/avatar/default/avatar07.webp

3 Posts
Location -
Joined 2005-07-24
Hi there!
 
Exactly the same story over here. I (a newby to Linux as well) installed Fedora on a second harddrive (hdb) in my Gateway PC, having XP on the first (hda). Installation process indicated the creation of a boot partition on hda, but when I boot my machine, XP comes up and no sign of GRUB whatsoever.
 
Only difference is I choose XP to be the default OS, but I guess that shouldn't matter. I also didn't defrag my XP drive before installing Fedora.
 
Thanks for any help!
 


data/avatar/default/avatar09.webp

7 Posts
Location -
Joined 2005-07-24
OP
Well mine doesnt show no sign of grub it says grub in plain text then a space then flashing _ like its loading then nothing happens. Mrapp whats your msn ?


data/avatar/default/avatar07.webp

3 Posts
Location -
Joined 2005-07-24
I'm on not on MSN, but on Yahoo! Same account name as I'm using here...


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Glorioso, try this;
 
Boot the Fedora cd disk #1 (installation disk).
 
At the installation menu, type in linux rescue (hit the enter key)
 
Once the system loads, at the terminal prompt, Type in chroot /mnt/sysimage
 
then;
 
grub-install --recheck/dev/hda
 
This may take a minute or so and should just return a command prompt with no errors. Once it does, type in reboot and see if grub comes up normally.
 
 
 
 
 


data/avatar/default/avatar07.webp

3 Posts
Location -
Joined 2005-07-24
Worked perfectly for me! Thanks.
 
Hope it does the trick for you as well, Glorioso...!


data/avatar/default/avatar09.webp

7 Posts
Location -
Joined 2005-07-24
OP
Well its actually loading GRUB but now it says
"GRUB loading Stage 1.5
GRUB loading, please wait...
internal error : the second sector of Stage 2 is unknown"


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Glorioso, then try this;
 
Boot the Fedora cd disk #1 (installation disk).
 
At the installation menu, type in linux rescue (hit the enter key)
 
Once the system loads, at the terminal prompt, Type in chroot /mnt/sysimage
 
then;
 
grub-install /dev/hda
 
We eliminate the recheck code, as grub apparently was on another boot partition.
 
Note if you get any error messages, or if you get some output with no errors.
 
Then type in the command;
 
reboot
 
See if the grub menu comes up and you can choose your os, either Windows, or Linux.


data/avatar/default/avatar09.webp

7 Posts
Location -
Joined 2005-07-24
OP
Yeah I tried that already.
 
It said something like your device are
fdo
hdo or something along those lines.
 
just to note I dont have it on cds I have it on 1 dvd
 


data/avatar/default/avatar09.webp

7 Posts
Location -
Joined 2005-07-24
OP
Well I did all the things above and it didnt work but then I decided to reinstall and I added a extra option to the bootloader and now for some reason it works. Thanks for all you help guys im on FC4 now .


data/avatar/default/avatar10.webp

1 Posts
Location -
Joined 2005-08-02
what extra option did you add to the bootloader? i am having similar problems with the dualboot install and had no success with the suggestions listed in this thread.
 
thanks.


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
I was a little interested to see what Glorioso used as an "extra option" to get it to work. I did not use grub from Fedora to install to the mbr, as I already had another distro's grub on my system.
 
Did you tell Fedora to install grub to the mbr or a boot partition?
 
Did you pick Fedora as the default boot option during the installation?
 
Do you have Windows (version) on your system also or another Linux distro?
 
Hopefully, Glorioso sees this post and responds.


data/avatar/default/avatar15.webp

0 Posts
Location -
Joined 2005-08-15
Why not use the most powerful GRUB FOR DOS?
 
http://freshmeat.net/projects/grub4dos/
 
This is the summary:
 
GRUB for DOS is a build of the GNU GRUB boot manager for DOS, and can be run under real mode DOS. It also has many new features. For example, it can be booted through BOOT.INI of Windows (grldr) and kexec of Linux (grub4lin). The disk emulation feature is another enhancement over GNU GRUB, and can be used to run legacy DOS/Windows9x systems with floppy or hard disk images.


data/avatar/default/avatar22.webp

5 Posts
Location -
Joined 2005-08-21
I have a problem similar to glorioso'a.
I am trying to dual boot WinXP on one drive, fedoraCore4 on another.
 
Details:
Dell Dimension 8250
came with
Pentium 4 2.40 GHz
512 Mb ram
Maxtor 45Gb HD
 
I've added an 80 Gb Western HD: WD800JB-00CRA1
 
 
I initally had installed FC3 on half of the Maxtor, and that worked fine. Started runing out of space, so I added the WD, which I formated for Linux and migrated my /home directory over there.
 
Lately my daughter complained about the windows side being crowded, so I figured I would give the Maxtor back to WINXP completely. That worked OK, and I installed FC4 on the Western, but am not able to boot to it.
I told the FC installer to load grub on /dev/hda (Maxtor), but got a text message :
GRUB
and nothing more.
 
Used Knoppix Hacks to remove the grub, take it back to windows with
install-mbr /dev/hda
 
Now windows boots again, and of course, no Linux.
 
As suggested by bb2222, I tried grub4dos with the menu.lst file attached below after a row of hashes.
 
This boots windows fine, but I get
 
error 23: selected disk does not exist when I try to boot FC4
 
What else should I report?
I put this line in c:\config.sys:
 
install=c:\grub.exe --config-file=(hd0,1)/menu.lst
 
That points to the WinXP system, maybe I'll see if it will work with a pointer to the FC4 menu.lst (I know it's also a grub.conf) file.
 
I also followed this instruction from the grub4dos README:
'Copy GRLDR to the root directory of drive C: of Windows NT/2000/XP and append to C:\BOOT.INI this line:
 
C:\GRLDR="Start GRUB"
'
 
Thanks for any help.
boatbldr
 
Here is the menu.lst file:
################################################################
# This is a sample menu.lst file. You should make some changes to it.
# Added items for installing GRUB [ which is on your DOS drive C: ] to MBR
 
color black/cyan yellow/cyan
timeout 10
default 1
 
title WinXP
chainloader (hd0,1)+1
rootnoverify (hd0)
 
title Fedora 4
kernel (hd1,0)/boot/vmlinuz root=/dev/hdb1
 


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Where is the Western Digital drive located and jumpered for?
 
Master slave
Secondary master
Secondary slave?


data/avatar/default/avatar22.webp

5 Posts
Location -
Joined 2005-08-21
The Western Digital drive is connected to the middle of the ribbon cable and jumpered 3-to-4 (of 10 pins), which Western says is Dual(Slave).
The Maxtor is on the end of the cable, jumpered 5-to-6, (of 9 pins, style which looks like is cable-select according to
http://www.maxtor.com/en/documentation/installation_guides/ata_installation_guide.pdf
Hmm, I'll try switching that to 7-to-8 to make it master.
 
The WD sits in a bay above the Maxtor -- is that what you mean about location?


data/avatar/default/avatar22.webp

5 Posts
Location -
Joined 2005-08-21
Still not working.
I switched the jumper on the Maxtor to 7-to-8 to force it to be master, but no luck, the Western is still not recognized.
I also tried building a floppy drive to go right into grub.
When I type
root (hd1,0)
grub gives the error 23 again -- cannot find the drive.
What puzzles me is that the drive shows up fine in the FC4 installer, and in Knoppix.
How can they see it, but grub cannot?
 


data/avatar/default/avatar30.webp

1 Posts
Location -
Joined 2005-08-23
boatbldr:
Have you tried the 'grub-install' tricks with the FC4 DVDs mentioned above?
 
if that doesn't work, boot the FC4 cd1 (or DVD) with 'linux rescue' and past the results of 'fdisk -l' here. What I'm most interested is the partition numbers and types on your two drives.
 


data/avatar/default/avatar22.webp

5 Posts
Location -
Joined 2005-08-21
Thanks for your ideas.
Yes, I did try the grub-install tricks.
When I do that, I get error 21 and grub does not fully load.
 
[tt]tt
fdisk -l
Disk /dev/hda: 30.7 GB
255 heads, 63 sectors/track, 3738 cyl
units = cyl of 16065 8 512 = 8225280 bytes
 
Device Boot Start End Id System
/dev/hda1 1 4 de Dell Utility
/dev/hda2 * 5 3738 7 HPFS/NTFS
 
Disk /dev/hdb: 80.0GB,
255 heads, 63 sectors/track, 9729 cylinders
 
Device Boot Start End Id System
/dev/hdb1 * 1 7649 83 Linux
/dev/hdb2 7650 7776 82 Linux swap / Solaris
/dev/hdb3 7777 9729 83 Linux
[/tt]
I hope that makes sense. I see nothing unexpected.
 
Next I'm going to disconnect the Maxtor, set Western to master, and see if it boots to FC4. I'm wondering if I can get that to work, then use the Maxtor as a slave.