LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-18-2005, 08:54 PM   #1
Registered: Nov 2004
Posts: 242

Rep: Reputation: 30
Trying to add os to grub

Okay, here goes...

I have 2 hard drives set out like this -
hda1 Linux
hda2 Windows XP
hda3 Backups

hdb1 Windows XP
hdb2 backups

I have been using grub to dual boot between linux on hda1 and Windows on hdb1, the Windows on hda2 was not used.

I've now decided I want to use that Windows on hda2 for experimental purposes but I'm having a little trouble booting it from grub.

If I select the option from the grub menu I get an invalid system disk error - press any key. When I press any key it does boot as normal but I'm just wondering if anyone can tell me how to get around the error.
I can also boot into it by editing the boot.ini on the hdb1 windows but I would rather boot straight into it from grub.

Now, the fact that it is getting past grub and getting to the system disk error suggests to me that it isn't a problem with grub but I'm not sure. Just in case, here is my menu.lst -
default		0
timeout		10

title		Windows XP (hdb1)
root		(hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader	+1

title		Ubuntu
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.10-5-386 root=/dev/hda1 ro quiet splash vga=792 
initrd		/boot/initrd.img-2.6.10-5-386

title           Windows XP (hda2)
root            (hd0,1)
chainloader	+1
Can anyone shed any light?
Old 07-18-2005, 09:27 PM   #2
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
try changing it from

title Windows XP (hda2)
root (hd0,1)
chainloader +1

to this

title Windows XP (hda2)
rootnoverify (hd0,1)
chainloader +1


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
How do I add a Shell option to grub DiSGuiZ Linux - Newbie 4 04-15-2005 04:28 PM
How to add GRUB ? wlaw Linux - Newbie 1 07-20-2004 10:44 AM
Add something to grub Pauli Fedora 6 03-24-2004 06:07 PM
How do i add slack to GRUB? Tyir Slackware 8 11-27-2003 11:24 PM
how to add floppy option in grub? JIV Linux - Software 3 05-03-2003 09:51 PM

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration