LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-18-2005, 07:54 PM   #1
fannymites
Member
 
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 -
Code:
default		0
timeout		10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title		Windows XP (hdb1)
root		(hd1,0)
savedefault
makeactive
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
savedefault
boot

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

Rep: Reputation: 54
try changing it from
this:

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

to this

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


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

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

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