LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-15-2006, 03:22 AM   #1
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
How to boot dual operating systems from grub


Hi, Dears

I am having a problem with my grub boot loader. the problem is that I want to boot Linux+Windows.

Linux boots very well but windows doesn't boot and gives me a errot when I try from the grub menu to start windows. I have installed windows on the first partition of hard drive. and also the /boot partition and my root partition etc.

I have the error

Booting ,other'
rootnoverify (hd3,0)
chainloader +1

I have my fdisk out put file which is

Disk /dev/sda: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 1912 15358108+ 7 HPFS/NTFS
/dev/sda2 * 1913 1937 200812+ 83 Linux
/dev/sda3 1938 2198 2096482+ 82 Linux swap
/dev/sda4 3838 8924 40861327+ 5 Extended
/dev/sda5 3838 6387 20482843+ 83 Linux
/dev/sda6 6388 7662 10241406 83 Linux

Disk /dev/sdb: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 8924 71681998+ b W95 FAT32

Disk /dev/sdc: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 8924 71681998+ 83 Linux

Disk /dev/sdd: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 8924 71681998+ 83 Linux

Disk /dev/sde: 255 MB, 255327744 bytes
129 heads, 4 sectors/track, 966 cylinders
Units = cylinders of 516 * 512 = 264192 bytes

Device Boot Start End Blocks Id System
/dev/sde1 * 1 967 249341+ 6 FAT16
Partition 1 has different physical/logical endings:
phys=(972, 128, 4) logical=(966, 57, 3)



and also my grub.conf file which is

# 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 (hd3,1)
# kernel /vmlinuz-version ro root=/dev/sda5
# initrd /initrd-version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd3,1)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$9GdY77Fk$J5MAfR4myx/ryAkegKUu81
title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp)
root (hd3,1)
kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-22.EL)
root (hd3,1)
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.EL.img

title ,other’
rootnoverify (hd3,0)
chainloaer +1

Hay gusy this a bit urgent because I have to finish with it as soon as possible and get to my next project. I will be really thank full in advance if some one helps me out.

thanks
shahz
 
Old 09-15-2006, 03:37 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
what exactly is the error message you encounter when you select "other" an try to boot it?
As you probably know grub counts in another way then the fdisk does.
So sda1 would be (hd0,1) and I am wondering why your grub says
Booting ,other'
rootnoverify (hd3,0)
chainloader +1

But your output of fdisk says:
/dev/sda1 1 1912 15358108+ 7 HPFS/NTFS

so it must be (hd0,1)

But as I asked already what is the error output?
 
Old 09-15-2006, 05:42 AM   #3
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Original Poster
Rep: Reputation: 29
I have the same error

I have the same error which I have writen. I have ofcourse my windows on sda1 partition. other is the title for my windows.
 
Old 09-15-2006, 11:34 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
sorry I think you didn't understand what I asked you. and of course I know that other stands for Windows. So My question was what is the error message when you try to boot windows? does it jump back or does it stand still and gives you an error message?
And indeed i know that you have windows installed on /dev/sda1 and I try to tell you that I am wondering that grub says in your case... so your output shows...
(hd3,0) what would be sdd1... but your fdisk say /dev/sda1 so it must be in grub
(hd0,1). Change it in your /boot/grub/grub.conf and test what I have suggested.

I hope that you know understand what I am trying to tell you. Like I did already before.
 
Old 09-18-2006, 03:34 AM   #5
newbuyer17
Member
 
Registered: Sep 2006
Posts: 38

Rep: Reputation: 15
I have the same problem with certain distros, but others work OK.
My advice would be to temporerily install Ubuntu, and take a copy of grub.conf and then use this entry for Windows on whatever O/S is installed afterwards.
I haven't got access to check what it is, but an extra line gets added which makes it work OK.
 
Old 09-19-2006, 02:42 PM   #6
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Original Poster
Rep: Reputation: 29
finlly it works

HI, Dears

Finally my Dual boot operating system works. what did i do is that I just went through all the process from begining and this time I have installed first windows but the partition type I kept the fat32 after that installed the Red hat linux. and works without any configuration or so.

any way guys thanks for giving your prescious time for my problems.

 
  


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 and Multiple operating systems jughead Linux - Software 2 11-21-2005 03:36 PM
Quick question: Adding operating systems to Grub. Fenster Linux - Newbie 5 08-21-2004 05:42 PM
How would I boot 3 Operating Systems? inline.skater Linux - Newbie 10 06-13-2004 08:11 PM
Internet Connection with dual operating systems. Sherlock Linux - Hardware 4 03-14-2004 09:05 PM
Dual operating systems Orienthal Linux - Networking 3 06-07-2001 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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