LinuxQuestions.org
Visit Jeremy's Blog.
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 12-18-2005, 03:24 PM   #1
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Dualbooting WinXP and Suse 10.0 using GRUB


Okay, my problem at the moment is this.
-I have installed Windows XP on a master drive and it's using NTFS.
-I added a another hd to pc and made it master disk and the previous xp hd was put to slave.
-I installed SuSE 10.0 on the new master hard drive
-GRUB is installed on a boot partition of the current master disk(50mb).


After a while I tried to boot my system back to windows but the automatic option for booting into windows didn't work. It just printed out this "chainloader (hd1,0) +1".

After little browsing in the net I found few hints what to do but I havenīt found any help for my problem yet. My /boot/grub/menu.lst has this kind of line in the WinXP section:
title Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1
boot

According to mount command my windows C drive is /dev/hdb1/ which is hd1,0 in GRUB, right?
I'm not sure about that boot line, it was used some exampel in the net so I tried it and it didn't work. I have no other OS than XP and SuSE on the machine so I thought I don't need to put map (hd1) (hd0) lines in menu.lst?

At the above lines the GRUB just prints those lines into screen and nothing happens after that. One of the error messages I got was "Error 18: Selected cylinder exceeds maximum supported by BIOS"

Does anyone have a solid solution to this. The GRUB has worked in the past when it was installed on the same MBR as WinXP, overwriting the XP:s version. It broke down and I have now tried to install these loaders better to avoid reinstalling whole operating systems for few mistakes
 
Old 12-18-2005, 06:28 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Windows is jealous of its position in the scheme of things. It wants to be first (read primary or master). You now have it on the slave drive. So, to fix this, convince it that is really master.

Between 'title windows' and 'rootnoverify' add these two lines:
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)

That will remap the drives to windows satisfaction.

Note: I could be wrong about where in the config to put those lines. If they don't work there, move them down one line (after rootnoverigy) then try again.

Last edited by bigrigdriver; 12-18-2005 at 06:30 PM.
 
Old 12-19-2005, 12:31 AM   #3
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
Okay, I thought I didn't need those lines but I'll try that. Thanks.

Edit: Okay, Thanks. My GRUB is now working as it should.

Last edited by Zmyrgel; 12-19-2005 at 01:07 AM.
 
Old 01-27-2006, 02:39 PM   #4
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
Lifting this thread as I have a new problem.

I canīt boot to Windows straight from Grub as itīs missing few lines from itīs command like "rootnoverify (hd1,0). If I boot to SuSE 10.0 (works perfectly) and modify /boot/grub/menu.lst and save the changes, at the next boot-up it has lost the changes. I have also tried to use yast but same results. Any idea whatīs causing this?
 
Old 01-27-2006, 02:49 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Make sure you are editing menu.lst as root. After editing with a text ediotr, you should find both old and new versions in /boot/grub---the old version with have "~" appended
 
Old 01-27-2006, 02:58 PM   #6
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
I tried as a root but Iīll try again later on. Iīm now at XP so I canīt test that now. Logically thinking that shoud work. If I remember correctly it added the lines I edited into it but for some reason deleted the "rootnoverify" line... I added the makeactive and chainloader lines. ... Weird.
 
  


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
dualbooting gentoo 2004.2 and winXP on laptop gauntalus Linux - Laptop and Netbook 1 12-22-2004 11:37 PM
dualbooting gentoo 2004.2 and winXP on a laptop gauntalus Linux - Software 3 12-22-2004 11:10 PM
GRUB & Dualbooting mrizos Linux - Newbie 1 11-18-2004 02:25 PM
Problems w/Grub (WinXP, WinXP & SUSE) worldofaaron Linux - Newbie 12 01-24-2004 06:26 PM
Dualbooting WinXP/Linux and Lilo Comreak Slackware 18 06-29-2003 11:30 PM

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

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