Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-18-2008, 04:18 AM   #1
Registered: Oct 2007
Posts: 162

Rep: Reputation: 30
Linux Boot Problem

Hai all,

I have Oracle Enterprise Linux 5 with Windows XP and windows 2003 installed.. Normally when it boots, I use to get 2 menus. one to enter linux and other to select XO or 2003..but now, it Linux stopped loading other OS and directly booting Linux.. I didnt get the option to select XP and win 2003.. here is my configuration ?

[root@localhost ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,5)
# kernel /vmlinuz-version ro root=/dev/VolGroup01/LogVol00
# initrd /initrd-version.img
title Enterprise Linux (2.6.18-8.el5)
root (hd1,5)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
title Other
rootnoverify (hd2,5)
chainloader +1

[root@localhost ~]# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 38913 312464250 8e Linux LVM

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sdb2 12749 30400 141789690 f W95 Ext'd (LBA)
/dev/sdb5 12749 24221 92156841 7 HPFS/NTFS
/dev/sdb6 24222 24233 96358+ 83 Linux
/dev/sdb7 24234 30400 49536396 8e Linux LVM

I have 2 hard disks in this machine..

Please guide

Old 07-18-2008, 07:25 AM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
title Other
rootnoverify (hd2,5)
chainloader +1
This part isn't correct at all. You haven't got any hd2 to begin with, only and hd0 and an hd1. Also the 5 points to the sixth partition, which appears to be Linux, not a windows system. And you'll probably need to map the drives too.

Did you remove any drive? I cannot really believe that it worked before with this sort configuration.
Old 07-18-2008, 09:50 AM   #3
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,074

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
Your fdisk output shows sdb1 as the active windows partition and since it is on the 2nd drive, your entry should be:

title Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

That should work with your current setup.


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
linux boot problem on dual boot mac mini dla-nor Linux - General 2 06-13-2007 07:02 AM
Linux boot problem ricmitch Linux - Newbie 10 08-20-2005 06:31 AM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM
Linux Boot problem ! shaahul Linux - General 2 09-14-2003 07:53 AM
Linux Boot problem maxmike83 Linux - Newbie 2 06-20-2002 11:32 PM > Forums > Linux Forums > Linux - Newbie

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