LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-27-2009, 09:56 AM   #1
rahmad
Member
 
Registered: Aug 2007
Location: Jordan
Distribution: RHEL, Centos, Debian
Posts: 65

Rep: Reputation: 15
Windows xp and grub


hello,

I have the following partitions, Windows on sda1:
Quote:
/dev/sda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/sda2 1276 9729 67906755 f W95 Ext'd (LBA)
/dev/sda5 1276 5099 30716248+ 7 HPFS/NTFS
/dev/sda6 5100 8286 25599546 b W95 FAT32
/dev/sda7 8287 8299 104391 83 Linux
/dev/sda8 8300 8554 2048256 82 Linux swap / Solaris
/dev/sda9 8555 9729 9438156 8e Linux LVM
I did the following in order to be able to boot linux and Windows. From the rescue mode I ran the following command:

grub-install /dev/sda1


the following is my grub.conf:

Quote:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.19-170.2.35.fc10.i686)
root (hd0,6)
kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.19-170.2.35.fc10.i686.img
#title Fedora (2.6.27.15-170.2.24.fc10.i686)
#root (hd0,6)
#kernel /vmlinuz-2.6.27.15-170.2.24.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
#initrd /initrd-2.6.27.15-170.2.24.fc10.i686.img
#title Fedora (2.6.27.5-117.fc10.i686)
# root (hd0,6)
# kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=92a569bc-61b0-4bef-9247-d7a376b96328 rhgb quiet
# initrd /initrd-2.6.27.5-117.fc10.i686.img
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
but the problem now is, when I select Windows from my bootloader menu I am redirected again to the bootloader counter, but if i selected Fedora link i can boot fine!!

please help!!
 
Old 03-27-2009, 10:01 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,761
Blog Entries: 14

Rep: Reputation: 267Reputation: 267Reputation: 267
It's because you put it on /dev/sda1. You should have put it on the MBR /dev/sda. Now when you select it, it selects itself. I'd suggest you repair your Windows install with the rescue CD, then reinstall grub on the MBR.
 
  


Reply


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
Windows in grub. RoxFox64 Linux - Software 10 01-16-2009 04:28 PM
Help of GRUB, How to Linux, Windows XP and Windows 200 ERBRMN Linux - General 4 04-25-2006 09:26 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 06:26 AM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 08:47 AM
Boot windows 98,windows XP and linux by GRUB Swift&Smart Linux - General 6 02-22-2003 10:11 AM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration