LinuxQuestions.org
Review your favorite Linux distribution.
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-14-2008, 06:59 PM   #1
chiky_cin
LQ Newbie
 
Registered: Feb 2008
Location: Delhi
Distribution: SUSE 10.3
Posts: 4

Rep: Reputation: 0
Cannot boot windoze from GRUB (2 HDDs)


hey guys,
i installed suse 10.3 a week ago. but i cannot install windoze from grub.
i've got 2 hdd's.
linux and windoze installed on different hard disks.

please help me...

thanx!
 
Old 02-14-2008, 07:15 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Please excuse me if I seem thick-headed.

Do you mean that you have windows installed, but you can't boot windows using grub? Or, do you mean you have a disk you want to install windows on, but you don't know how to do it now that you have OpenSuse 10.3 installed.

Also, please post the output of 'fdisk -l', and possibly also /etc/fstab (just the part that refers to hard disk partitions and their mount points).
 
Old 02-14-2008, 10:11 PM   #3
premnarayan
LQ Newbie
 
Registered: Jan 2008
Location: noida
Distribution: archlinux, slackware
Posts: 21

Rep: Reputation: 15
I had the same problem.... my grub did not boot windows from other hard drive...Had to install grub on the drive having windows
 
Old 02-16-2008, 11:59 AM   #4
chiky_cin
LQ Newbie
 
Registered: Feb 2008
Location: Delhi
Distribution: SUSE 10.3
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bigrigdriver View Post
Please excuse me if I seem thick-headed.

Do you mean that you have windows installed, but you can't boot windows using grub? Or, do you mean you have a disk you want to install windows on, but you don't know how to do it now that you have OpenSuse 10.3 installed.

Also, please post the output of 'fdisk -l', and possibly also /etc/fstab (just the part that refers to hard disk partitions and their mount points).
sry 4 the late reply...

i've got windoze installed on the other hard disk. actually the i've the linuxz mbr on 1hdd and windows mbr on other.
so everytime i've to shift the bootable hard disk from the bios setup.
wenever i boot windows from grub, it says: disk read error.

and i've checked the path for windows boot, its fine.
the entry in the grub is "chainloader hd(0,1)+1".

and i dont know what "chainloader" command is for??

Quote:
I had the same problem.... my grub did not boot windows from other hard drive...Had to install grub on the drive having windows
i tried installing grub on the other hdd, but windows did nt boot.
 
Old 02-16-2008, 02:06 PM   #5
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
if you have linux on the first hdd and windoze on the second hdd you will have to map the drive so windoze thinks it is the c: drive ie

title windoze
root (hd0,1)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloaders +1

This may help

http://users.bigpond.net.au/hermanzone/p15.htm
 
Old 02-22-2008, 03:49 AM   #6
chiky_cin
LQ Newbie
 
Registered: Feb 2008
Location: Delhi
Distribution: SUSE 10.3
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by Duck2006 View Post
if you have linux on the first hdd and windoze on the second hdd you will have to map the drive so windoze thinks it is the c: drive ie

title windoze
root (hd0,1)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloaders +1

This may help

http://users.bigpond.net.au/hermanzone/p15.htm
thanx man! that worked...
now i can boot windowz on the second hdd from 1st.

PS: sry 4 da late reply...campus placements were going on. :P
 
Old 03-05-2008, 08:56 AM   #7
Basileus Romaion
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Angry

I have a similar problem, but that did not work!

In short: there was a PC with one hd, dual boot (Linux FC8, Win XP) with GRUB, a second hd was added (not by me) and... suprise:
the new disk was /dev/sda and the old one (with the operating systems) was seen as /dev/sdb by linux.
Grub was able to boot linux (even if linux should be now in (hd1,1) and no more in (hd0,1) but no more Windows (honestly not a major problem for me, but for the other users who need Windows).

I modified the /boot/grub/grub.conf (the file where menu.lst actually points):

title WinXP
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1

but did not work (I got an error like "unrecognizable syntax")
and then in sequence:

title WinXP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

title WinXP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
chainloader +1

title WinXP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

with the same result. In the end I switched the cables so that the old disk with the systems is now (hd0). Effectively linux sees it now again as /dev/sda. Then I reverted to the original grub.conf syntax:

title WinXP
rootnoverify (hd0,0)
chainloader +1

and it freezes: when I select windows I get:

booting WinXP
rootnoverify (hd0,0)
chainloader +1

GRUB


and does not go further (it does not write "GRUB>", only "GRUB")

Do you have any idea on how to fix it?


PS: I used "chainloader" not "chainloaders". Is it an error of mine?

Last edited by Basileus Romaion; 03-05-2008 at 09:01 AM.
 
  


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
dual boot from 2 HDDs drr_te Linux - Newbie 5 12-29-2005 12:44 PM
xp dual boot (2 HDDs) ntgaston98 Linux - General 17 11-18-2005 10:48 PM
Dual boot over 2 HDDs Pierce Slackware 16 10-29-2003 05:07 PM
Dual Boot off Two HDDs Shak Linux - General 21 06-28-2002 07:02 PM
2 Hdds and duel boot Oraee Linux - Software 5 04-19-2002 05:54 PM

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

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