LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-02-2007, 07:53 AM   #1
pop69er69
LQ Newbie
 
Registered: Sep 2007
Posts: 2

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


Hey!

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.

Anyhow,

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, 08:21 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 08:29 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.

eg:
rootnoverify (hd0,4)
map (hd0,4) (hd0,0)
map (hd0,0) (hd0,4)
makeactive
chainloader +1
boot

But there still may be an issue with Windows on the logical partition
 
Old 09-02-2007, 12:37 PM   #4
pop69er69
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
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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