LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-02-2004, 07:41 AM   #1
soldeace
LQ Newbie
 
Registered: Dec 2004
Location: Klendathu. Are you doing your part?
Distribution: SuSE 9.2
Posts: 12

Rep: Reputation: 0
Windows XP doesn't load with Grub (Suse 9.2)


I've recently installed SuSE 9.2 with a Windows XP already installed. Linux loads perfectly while Windows XP can't boot with Grub. They are both installed in different partitions. Linux even recognizes that the Windows partition is bootable, but when I try to do it, nothing happens (not even an error message). Here's how my HD is partitioned:

Disk geometry for /dev/hda: 0.000-39205.687 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 4816.362 primary reiserfs type=83
2 4816.362 5349.770 primary linux-swap type=82
3 5349.801 18237.854 primary ntfs boot, type=07
4 18237.854 39205.502 primary ntfs type=07


Here, the Windows is on hda3. The Windows entry on grub.conf is

title Windows XP
root (hd0,2)
chainloader +1
makeactive

It simply freezes and nothing happens - the Windows XP splash screen doesn't even show up nor any error screen. I've already tried to run the fixboot, bootcfg and fixmbr (applications included in the Windows Installation CD) and had no success. Please, can anybody help me?
 
Old 12-02-2004, 08:03 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I think the problem is that Windows bootloader wants/needs to be on the first primary partition. As you have it on hda3, this might cause problems.

Have a look here: http://portal.suse.com/sdb/en/2002/0...grub_win2.html
 
Old 12-02-2004, 08:07 AM   #3
theseer540
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo, Fedora Core 3, Suse Pro 9.1
Posts: 13

Rep: Reputation: 0
grub issues...

Are you sure that XP is (hd0,2)? Generally Windows is the first partition. (hd0,0) That might be your problem right there.
Windows (of all flavors) likes to be the first partition on the hardrive, and tends to act up when it isn't. If it is on hda3, you may have to use a boot floppy/cd. Microsoft has like a 6-floppy set used for booting XP off of floppies, and I assume if you burn them all to a cd (under linux, K3B) that it might work.

By the way, if you DID run "fixmbr", that tends to wipe out grub, period. The only reason you're booting into linux (unless after your BIOS flashes by you see "GRUB loading stage x") at all is because it is on hda1. You might need to reinstall grub from inside of Suse. Out of curiosity, what is on hda4? NTFS storage? Is THAT you're windows boot drive?

What kernel does Suse 9.1 use? You might want to post your whole grub.conf file, just to see what's going on.
 
Old 12-02-2004, 08:13 AM   #4
theseer540
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo, Fedora Core 3, Suse Pro 9.1
Posts: 13

Rep: Reputation: 0
what abisko00 said...

Try editing your menu.lst entry for windows to:


title Windows XP
hide (hd0,0)
unhide (hd0,2)
root (hd0,2)
chainloader +1
makeactive


or

title Windows XP
hide (hd0,0)
unhide (hd0,2)
rootnoverify (hd0,2)
chainloader +1
makeactive
 
Old 12-02-2004, 11:18 AM   #5
soldeace
LQ Newbie
 
Registered: Dec 2004
Location: Klendathu. Are you doing your part?
Distribution: SuSE 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks everyone, that makes a lot of sense!

This morning I tried to convert the partition where Windows was to FAT32. Just for kidding, once everything else I tried, in fact, failed. Well, at least now it boots the Windows partition but with the message that NTLDR is missing.

About the fixmbr, I was desperate and tried everything within my sight. I thought "well, now Windows might work and Linux not... but maybe Linux is easier to fix it out". Unsuccesful. I had to repair SuSE.

But one thing I still cannot understand... my Windows XP was never on primary partitions. In fact, it was yet in an logical one and always worked (alone). If I hide the other partitions while booting with Grub, will Windows work properly?
 
Old 12-02-2004, 11:34 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Someone has posted that it might be sufficient for windows to have a windows-formated partition as #1. It is going to use this as pagefile (like swap). But I don't know any details about this. On my system, XP is on the second primary partition. First primary is a small dell partition with a lot of dos files.

What was on your first primary before you replaced it with Linux?
 
Old 12-02-2004, 12:40 PM   #7
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Simply use only Linux!!!
Linux does all you need!!
XP survive 1 month in dual boot then died!!!
And now I live better with Linux!!
 
Old 12-02-2004, 12:46 PM   #8
AngryLlama
Member
 
Registered: Sep 2004
Location: /dev/urandom
Distribution: Gentoo
Posts: 171

Rep: Reputation: 31
Sounds like I'm having the same problem as you. You can check my post in this forum for more details, maybe you will find something our problems have in common. My XP partition is the first partition on my drive and it still doesn't work. Maybe I just need to reformat the drive as FAT32 - like you. In regards to walker's response: Unfortunatly, not everyone can install only Linux. I use Windows for audio and video editing. I also have to do .net development from time to time (and its awful) but I need VS.NET for that.


Llama
 
Old 12-02-2004, 12:57 PM   #9
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Just a suggestion!
Have you tried to reinstall linux without bootloader??
It's possible.
Than tried to start XP with is on boot loader and check out if XP bootloader recognize Linux installation??
XP isn't the old win98 and should boot more then itself.
 
Old 12-02-2004, 01:01 PM   #10
soldeace
LQ Newbie
 
Registered: Dec 2004
Location: Klendathu. Are you doing your part?
Distribution: SuSE 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
It's not simple as it seems, walker. There are a lot of programs that I couldn't find a similar on Linux that I need for the university and besides, most of games wouldn't run under Wine or VMware (that's the price you pay having a girlfriend who plays SimCity 4 and Day of Defeat everyday).

AngryLlama, I'll surely look for your thread. Thx =)

Abisko, the first partition was only for backup. That's because since I had this HD, I reinstalled Windows tons of times, over and over, in different places. So I was forced to use the remaining partitions as storage. The ancient mesopotamic civilization named this fact as "mess".

Ah, I forgot to add. I tried Lilo as well, and it didn't work. So I think the trouble isn't with Grub; it lies on Windows.
 
Old 12-02-2004, 01:03 PM   #11
AngryLlama
Member
 
Registered: Sep 2004
Location: /dev/urandom
Distribution: Gentoo
Posts: 171

Rep: Reputation: 31
Well, When I installed Windows I tried to boot it right after that (with the Windows loader installed in my MBR) that didn't work. So I booted into the recovery console and ran fixboot and fixmbr.. Windows still failed to load. I don't actually have Windows fully installed, since I can't get past the first installation reboot. So I reinstalled grub so that I can use Linux. More details here. If I could get the Windows bootloader to actually load, then I wouldn't mind using it to boot linux also.

Soldeace, yes I know the problem must be inside my partitioning scheme, or windows itself. I believe this because XP won't even boot with its own loader.

Llama

Last edited by AngryLlama; 12-02-2004 at 01:05 PM.
 
Old 12-02-2004, 01:04 PM   #12
soldeace
LQ Newbie
 
Registered: Dec 2004
Location: Klendathu. Are you doing your part?
Distribution: SuSE 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
Walker, I tried that too. Didn't work at all... but I've heard of methods to make the XP boot manager recognize the Linux installation. I'm still after this.
 
Old 12-02-2004, 01:31 PM   #13
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
When you boot linux can you see xp as alternative system to boot??
For example:
##########################
# grub xx.xx #
# #
# Linux #
# #
# WinXP #
# #
##########################
 
Old 12-02-2004, 01:58 PM   #14
AngryLlama
Member
 
Registered: Sep 2004
Location: /dev/urandom
Distribution: Gentoo
Posts: 171

Rep: Reputation: 31
If you are asking if Win XP is listed as an option from the Grub menu. Then yes. And attempting to boot Win XP from this menu fails. Grub clears the screen, displays the boot options. and sits there.. doesn't look like windows is touched at all. But, it could be, since Windows wont even boot up on its own. My grub.conf is in the other thread, which I referenced in my previous post.
 
Old 12-02-2004, 07:21 PM   #15
linus24
LQ Newbie
 
Registered: Apr 2003
Location: USA
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
XP + Linux + Grub

.
The same thing happened to me the other day.
Maybe it can help.

This is what I did: (To cause the problem and then fix it)

I had XP ans SuSe 9 working fine, using grub to boot them.
Then I decided that everything was working too well, so I upgraded the bios on my Tyan s2468.
This resulted in boot issues...

I was able to boot my linux installation with the help of a disk, but grub couldn't boot windows.
After a while I became angry, booted linux, accesses the partition where xp lived and grabbed my emails....then reloaded xp (this is not the answer, but it made me feel better.)

The XP setup kept rebooting and then would start in the same place.
So I smacked myself in the head and realized I had some more BIOS tinkering to do.
As soon as I disabled LBA for the primary master....she come up.

now you boot to XP and never see grub.

So I put in the SuSe cd and chose install --> boot installed system....reconfigured the bootloader from there.

[I think the following was the problem/solution]
While the setting for my primary master (hd0) was configured with LBA, grub would come to either a black screen after I chose XP, or would give an error.

On my system, both linux and xp are located on hd1 which is sda....windows likes to have that hda partition though.

so, what stupid thing messed yours up?
.

...oh yeah I forgot you have SuSe too.

fire up Yast and go to system-->boot loader and choose reset--->propose new, then exit and reboot.(if you dare) but it worked for me.


.

Last edited by linus24; 12-02-2004 at 07:26 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB doesn't load Windows XP Vladk1000 Linux - Newbie 4 09-17-2005 03:08 AM
GRUB won't load Windows Norab Linux - Hardware 1 08-19-2005 01:33 PM
Unable to load Windows XP using GRUB TheDevo Fedora - Installation 11 11-04-2004 10:16 PM
Trouble using GRUB to load Windows NT SanjayPethe Linux - Newbie 1 05-08-2004 07:33 PM
configuring GRUB to load windows merlin371 Linux - General 1 02-28-2004 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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