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 02-16-2007, 08:11 PM   #1
gruelius
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
Grub Cant boot windows on 2nd Disk


Hi everyone,
For some reason grub wont boot my XP hdd. The HDD boots fine on its own however if i run

rootnoverify (hd1,0)
makeactive
chainloader +1
boot

All it does is it shows me that with a flashing cursor under it.

I might try to run fixmbr/fixboot on the 2nd disk. Is that a good idea?


*edit*
ok it isnt a good idea -.-. When i run my Windows HDD on its own XP boots but when i run the tux disk primary windows secondary it just says "Error Loading operating System".

Is there a way to repair the MBR or reinstall grub or whatever it is i need to do?

Thanks
Julius

Last edited by gruelius; 02-16-2007 at 08:25 PM.
 
Old 02-16-2007, 08:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Quote:
Originally Posted by gruelius
For some reason grub wont boot my XP hdd.
Wrong !!! XP won't boot your XP hdd. M$oft in their infinite stupidity require it to be the first (boot) disk.
Amend as below
Code:
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
boot
 
Old 02-16-2007, 08:44 PM   #3
gruelius
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 30

Original Poster
Rep: Reputation: 15
Ok i fixed it so i can get back into linux however windows still wont work.

The way i have the disks set up is:
Master HDD (120GB) HDA
hda1 boot
hda2 swap
hda3 /
hda4 home

Secondary HDD (200GB) HDB
hda1 Windows
80gb or so free space.

When i did fixmbr on the windows install i remember it said something like \Disk0\Partition0. Could fixmbr be making windows go to the primary disk after its chainloaded or would that show up a visible error?

Thanks
Julius

Last edited by gruelius; 02-16-2007 at 08:51 PM.
 
Old 02-16-2007, 08:50 PM   #4
gruelius
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 30

Original Poster
Rep: Reputation: 15
Fixed

Thanks heaps

Last edited by gruelius; 02-16-2007 at 08:56 PM.
 
Old 02-16-2007, 08:54 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Ignore XP for now, it'll be fine.
Did you do the change I suggested ???. (in /boot/grub/menu.lst - forgot to mention that).
 
Old 02-16-2007, 09:10 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Try (hd1,1) in case there is a (hidden) vendor recovery disk there.
 
Old 02-16-2007, 09:31 PM   #7
gruelius
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 30

Original Poster
Rep: Reputation: 15
lol i forgot to type in one of your lines to get it to work, fixed it

Now onto sound card / mouse :P
 
  


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 wants to do a check disk if i boot to winXP from grub BFGeier Linux - Newbie 2 01-11-2006 03:20 AM
Using Grub to boot Win from 2nd harddrive Steve2001 Linux - Software 5 02-07-2005 12:56 AM
grub problem with 2 hard disk with boot loaders. (linux & windows 2000) vbsoftware General 3 01-04-2005 09:01 PM
grub Not seeing Windows on 2nd Drive. piagetblix Linux - Newbie 3 09-30-2004 12:05 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 10:16 AM

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

All times are GMT -5. The time now is 04:45 PM.

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