LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2006, 09:28 PM   #1
Christof999
Member
 
Registered: Jun 2006
Posts: 40

Rep: Reputation: 15
After Installing Suse Windows would not load in Grub.


Hello,

A little back ground on my situation.

I have three SATA drives in my computer. One 250 for linux, one 80 GB for Windows and one 250 for storage.

I had no linux system installed, just windows. I decided to dual boot and install a copy of mandriva 2007. Everything installed alright, and when I rebooted windows still worked in Grub. I decided I didnt like mandriva and Install Suse, which I am very happy with. However, when I went to load windows I simply got this message.

chainloader (hd2, 0) +1

And nothing happens.

I have tried reinstalling grub, but the same thing keeps happening.

Here are my config files.

device.map

(hd2) /dev/sda
(hd1) /dev/sdc
(hd0) /dev/sdb

(sda is the 80GB with windows, sdc is the 250 storage, and sdb is the 250 is the linux root and home disk)


menu.lst

# Modified by YaST2. Last modification on Sun Oct 22 22:35:39 EDT 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sdb2 vga=0x31a resume=/dev/sdb1 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd2,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sdb2 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd

grub.conf

root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,1) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
quit

Any ideas on how I can get my windows working again ? The disk is fine, but grub just wont load it.


Thanks
Christopher
 
Old 10-23-2006, 12:02 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Since windows isn't on the first partition of the first drive, it will refuse to boot unless you work a little trickery on it.

Something like this:

title Windows
root (hd2,0)
map (hd0,0) (hd2,0)
map (hd2,0) (hd0,0)
savedefault
makeactive
chainloader +1

You will have to tweak these setting to suit your partition numbers to make it work.

Last edited by bigrigdriver; 10-23-2006 at 12:05 AM.
 
Old 10-24-2006, 03:24 AM   #3
Christof999
Member
 
Registered: Jun 2006
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bigrigdriver
Since windows isn't on the first partition of the first drive, it will refuse to boot unless you work a little trickery on it.

Something like this:

title Windows
root (hd2,0)
map (hd0,0) (hd2,0)
map (hd2,0) (hd0,0)
savedefault
makeactive
chainloader +1

You will have to tweak these setting to suit your partition numbers to make it work.
Thanks that fixed it!

C.
 
  


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
GRUB doesn't load Windows XP Vladk1000 Linux - Newbie 4 09-17-2005 03:08 AM
GRUB won't load Windows Norab Linux - Hardware 1 08-19-2005 01:33 PM
Windows XP doesn't load with Grub (Suse 9.2) soldeace Linux - General 17 12-02-2004 10:04 PM
Unable to load Windows XP using GRUB TheDevo Fedora - Installation 11 11-04-2004 10:16 PM
Trouble using GRUB to load Windows NT SanjayPethe Linux - Newbie 1 05-08-2004 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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