Help answer threads with 0 replies.
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 09-02-2007, 08:53 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Another Linux-Windows - GRUB Boot problem


So I will say that my name is Jeremy, and I am new to Linux, and excited to learn lot's of new things. My friend is a Linux developer, who writes in like 21 different languages or something, and uses nothing but Linux, so it was him that kinda got me started on this stuff.


I have 3 partitions, 1 drive, and I will start in the order of my partitions here:

1. Linux Swap - Primary
2. Linux ReiserFS (SuSE 10.0) - Primary
3. Windows XP Professional - Logical

When I installed Linux, it did not add a boot entry for my Windows partition for some reason, which it usually does. I have looked at several different forum threads, and nothing seems to be working here. Having taken some information from a few other threads, and experimenting with the command myself, I've come to understand that fdisk -l is somewhat very important in determining problems on this issue, and resolving them. This is what I have:


Disk /dev/hda: 80.0 GB, 80060424192 bytes
223 heads, 52 sectors/track, 13484 cylinders
Units = cylinders of 11596 * 512 = 5937152 bytes

Device Boot Start End Blocks Id System
/dev/hda1 5245 13484 47775520 f W95 Ext'd (LBA)
/dev/hda2 * 362 5244 28311608 83 Linux
/dev/hda3 1 361 2093052 82 Linux swap / Solaris
/dev/hda5 5245 13484 47775494 7 HPFS/NTFS

Partition table entries are not in disk order


Having quite an advanced knowledge with Windows OS's and servers, this somewhat makes sense but ... YaST2 adds this entry to the menu.lst file pertaining to GRUB when using the auto-add entry:

title Windows XP Professional
chainloader (hd0,4)+1

When attempting to boot, it will display exactly this, and do NOTHING ! ::

chainloader (hd0,4)+1

..That's it.
Any ideas would be greatly appreciated,
and I look forward to learning lot's about you're operating system, and what it has to offer -- I kinda like it alot already.

Bye guys,
~ Jer-Bear
Old 09-02-2007, 09:21 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I am not sure if Windows can be on an extended partition. Also, if it is not on the FIRST partition, you may need the GRUB "map" command. I have always been fuzzy on this---the GRUB manual (here) only talks about mapping drives, not partitions.
Old 09-02-2007, 09:29 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
OK--I cleared my head and checked some references. You do need to use map to make Windows think it is on the 1st partition.

rootnoverify (hd0,4)
map (hd0,4) (hd0,0)
map (hd0,0) (hd0,4)
chainloader +1

But there still may be an issue with Windows on the logical partition
Old 09-02-2007, 01:37 PM   #4
LQ Newbie
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Okay, thanks for the help guys, I've got everything working good now.

I think it was because my Windows partition was set up as a logical partition, and in converting it back, I screwed everything up, and ended up having to reformat. So everything is reinstalled now, and we're good to go with booting both XP and Suse ...

bye for now


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 problem(windows, grub) saje Linux - General 4 06-18-2007 04:45 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 06:26 AM
fc4 grub windows boot problem einstien Fedora 19 07-06-2005 07:31 PM
grub problem with 2 hard disk with boot loaders. (linux & windows 2000) vbsoftware General 3 01-04-2005 09:01 PM
GRUB using /boot partition for multiple Linux/Windows boot? cpv204 Linux - Newbie 7 04-01-2003 04:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:21 AM.

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