LinuxQuestions.org
Review your favorite Linux distribution.
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 05-14-2007, 08:41 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
2HDDs, 2 OS's (Grub Q)


OK, I have Debian on one hdd (master) and XP on another. XP takes up the whole HDD, and it boots fine (I installed it without my Debian HDD hooked up.) This is what my Grub file looks like:

Quote:
## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Windoze XP
root (hd1,0)
makeactive
chainloader +1

title Windoze XP
rootnoverify (hd1,0)
makeactive
chainloader +1

title Windoze XP
rootnoverify (hd1,0)
makeactive
chainloader +1

### END DEBIAN AUTOMAGIC KERNELS LIST
None of these make Windoze boot, any suggestions?
 
Old 05-14-2007, 10:00 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
You need only one entry for windows. Windows refuses to boot unless it's on the first partition of the primary drive. However, it's possible to tell it a little white lie, and it will boot happily.

Change this:
itle Windoze XP
root (hd1,0)
makeactive
chainloader +1

to this (with included white lie):
itle Windoze XP
root (hd1,0)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
makeactive
chainloader +1
 
Old 05-14-2007, 10:18 PM   #3
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Haha-I love the "little white lie". It seems Microsloth Windoze won't run without a lie here and there...I knew I only needed one option in Grub, I just copied and pasted various lines from previous posts to see if they worked.

Thanks!
 
  


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
Number of Bootable OS's Grub can handle trinkett42 Linux - Software 10 09-21-2005 04:00 PM
So exactly how many os's can Grub handle? mebrelith Fedora 2 03-16-2005 04:37 PM
three Os's on one PC DooFDooF_music_ Linux - General 20 10-11-2003 10:47 PM
2 harddrives, 2 os's, 1 grub? arg!! nickwu2000 Linux - Newbie 1 03-31-2003 11:23 AM
using grub to boot multiple linux os's Smerk Linux - Software 9 03-21-2003 12:07 AM

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

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