LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-05-2006, 04:19 AM   #1
cheema
Member
 
Registered: Oct 2003
Distribution: Debian Sarge
Posts: 50

Rep: Reputation: 15
boot fails when grub installed on MBR


Hi,
I've just installed debian for first time and its sarge r1. I've also installed Windows 2003 on the same harddisk. During installation the installer correctly detects a Windows systems and advises me to install grub on MBR. But when I do so, after rebooting the grub refuses to load any OS. So after 2 or 3 tries I installed grub on the root partition and used "bootpart" to configure ntldr to boot debian through ntldr. Any ideas why grub is failing? Grub installed on MBR used to work fine with Mandrake 10.1 or the previous suse 9.1.
 
Old 01-05-2006, 05:00 AM   #2
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 32
Quote:
Originally Posted by cheema
Hi,
I've just installed debian for first time and its sarge r1. I've also installed Windows 2003 on the same harddisk. During installation the installer correctly detects a Windows systems and advises me to install grub on MBR. But when I do so, after rebooting the grub refuses to load any OS. So after 2 or 3 tries I installed grub on the root partition and used "bootpart" to configure ntldr to boot debian through ntldr. Any ideas why grub is failing? Grub installed on MBR used to work fine with Mandrake 10.1 or the previous suse 9.1.
Do you have more than one hard drive? In my experience, both Debian and Ubuntu have problems installing Grub on multi-drive systems. What message are you receiving?
 
Old 01-05-2006, 05:51 AM   #3
cheema
Member
 
Registered: Oct 2003
Distribution: Debian Sarge
Posts: 50

Original Poster
Rep: Reputation: 15
Yes, I've got two harddisks on my comp. But both Windows and Debian have been installed on primary harddisk. So it shouldn't really matter!
 
Old 01-05-2006, 06:23 AM   #4
openfun
Member
 
Registered: Nov 2004
Location: Netherlands
Distribution: Mandrake, Red Hat, Debian
Posts: 34

Rep: Reputation: 15
Quote:
Originally Posted by cheema
Yes, I've got two harddisks on my comp. But both Windows and Debian have been installed on primary harddisk. So it shouldn't really matter!
Can you specify the MBR on which harddisk that you installed your grub?
You may also check it out in your machine's bios, which harddisk is set to be the booting one.
If so, you can add the following in your menu.list file:

map (hd0) (hd1)
map (hd1) (hd0)

Just give it a try. :-) Success!
 
Old 01-05-2006, 10:39 AM   #5
cheema
Member
 
Registered: Oct 2003
Distribution: Debian Sarge
Posts: 50

Original Poster
Rep: Reputation: 15
I did not get your first question. What do you mean by specifying the MBR?
Since I get the grub screen where I can choose the OS, so I believe the grub is installed on the boot harddisk.
Anyhow I'll try ur suggestion. Cheers.
 
  


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
Grub in MBR no Linux installed can't access hard drive bookmonger Linux - Software 13 02-14-2006 07:06 AM
Installed GRUB on MBR or First Sector of boot zillah Fedora 6 06-16-2005 11:46 AM
How to get GRUB from MBR boot the kernel in CD? DrRider Linux - Software 5 03-01-2005 10:19 PM
GRUB installed on hde MBR booting XP on hda2 r_jensen11 Slackware 3 06-03-2004 03:34 PM
Help with Grub in MBR and /boot partition! zLinuxz Linux - General 11 11-17-2003 11:42 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration