LinuxQuestions.org
Help answer threads with 0 replies.
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 03-30-2008, 05:44 PM   #1
ashman512
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Rep: Reputation: 0
Problems dual-booting


Hey, i'm trying to dual boot Debian and Windows ME(for games), and i can't get Grub to display it as a boot option when I restart my computer. I installed Windows ME first using about half the hard drive, then installed Debian using the other half. I configured Grub so that it shows 3 default entries, and set the timeout to 25, but when I restart my computer it only shows two options for booting(regular linux kernal, and a single-user one).
Help would be much appreciated. Thanks
 
Old 03-30-2008, 05:54 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
You can edit /boot/grub/menu.lst and add an entry for Windows.

If you edit /boot/grub/menu.lst and discover that the Windows entry is already there then you need to do a grub-install to the MBR. Assuming that you are booting device /dev/sda then the grub-install command would be:

grub-install /dev/sda

-----------------
Steve Stites
 
Old 03-30-2008, 06:06 PM   #3
John-in-France
Member
 
Registered: Jun 2006
Posts: 65

Rep: Reputation: 15
Dual Booting - Grub Menu

This sounds like although Grub itself is correctly installed, there's either no menu entry for Windows or some sort of snafu in the syntax. That's easy to fix from within Linux.

You need to know where Windows is installed. It's almost certainly in its usual place (hd1,0). The other thing you need to know is what your Grub configuration file is called. In Fedora it's "grub.conf" but it might be "menu.lst" Whatever it's called it lives in /boot/grub.

Within Linux - swap to "root" (i.e open a terminal and enter "su", then type in Root's password.) Careful - you are now all powerful! Use your favorite text editor (I love gedit but each to his own), open the grub menu file (grub.conf or menu.lst) and add the following three lines to the end of the file: (or make sure the Windows entry reads like it) Change the hd1,0 if that's not where ME lives (but I'll be surprised)

title Windows ME
rootnoverify (hd1,0)
chainloader +1

Good luck

John
 
Old 03-30-2008, 07:46 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by John-in-France View Post
Change the hd1,0 if that's not where ME lives (but I'll be surprised)
Normally Windows will install in the first primary partition of the first drive set to boot in the bios, and because grub counts from 0, it normally would be hd0,0.
 
Old 03-30-2008, 11:03 PM   #5
ashman512
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Alright, thanks a bunch. It actually was hda0, 0, instead of hda1, 0.
 
  


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
Dual booting problems Jboogaloo Linux - Newbie 2 02-13-2008 04:44 PM
Dual-Booting Problems JD14538 Linux - Software 5 12-09-2005 05:14 PM
Dual booting problems graemekeatley Linux - Newbie 4 08-01-2005 05:09 PM
Problems dual booting ironliver Linux - General 2 03-04-2005 10:19 AM
Problems Dual Booting XP and RH 9.0 habitue Linux - Newbie 6 10-13-2003 02:02 PM

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

All times are GMT -5. The time now is 12:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration