LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-26-2003, 05:29 PM   #1
Tgrasshopper
LQ Newbie
 
Registered: Oct 2003
Distribution: red hat 7.2
Posts: 13

Rep: Reputation: 0
grup need help!


Ok i have 1 hard drive 2 partition.
first win xp
second red hat 7.2

I don't see win xp on my grup loader.
here is my /boot/grup.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 (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,1)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hdb3
initrd /initrd-2.4.7-10.img

(I try to had)

title windows xp
rootnoverify (hd0,3)
makeactive
chainloader+1

result i saw win xp on my grup but nothing hapend went i chose win xp


I'm rooki
hoter question what is the syntax to display per page
ls -(?)
dir-(?)



thx for help
 
Old 10-26-2003, 06:39 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
not a programming question - moved to a suitable forum.
 
Old 10-26-2003, 06:44 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Can you boot into Red Hat? - if so - become Root user with

su -

(su dash)

Root password


then type

fdisk -l

(l = small L)

post the output
 
Old 10-26-2003, 06:56 PM   #4
Tgrasshopper
LQ Newbie
 
Registered: Oct 2003
Distribution: red hat 7.2
Posts: 13

Original Poster
Rep: Reputation: 0
Devise boot id system
/dev/hdb1 7 hpfs/ntfs
/dev/hdb2 83 linux
/dev/hdb3 * 83 linux
/dev/hdb4 f win95 Ext'd(lba)
/dev/hdb5 82 linux swap




Cool i was'nt know this comant
don't thinkl you need
start----------end-----blocks

Next what shoul a i do next ?

thanks
 
Old 10-26-2003, 07:24 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
You'll have to map the drives - add this to the config file

title windows_XP
rootnoverify (hd1,0)
makeactive
chainloader+1
map (hd0) (hd1)
map (hd1) (hd0)
 
Old 10-26-2003, 07:38 PM   #6
Tgrasshopper
LQ Newbie
 
Registered: Oct 2003
Distribution: red hat 7.2
Posts: 13

Original Poster
Rep: Reputation: 0
ok here is what it's give me when i try
booting 'window_xp'
rootnoverify (hd1,0)
makeactive
ERROR 21: selected disk does not exist

press any key to continue


could you explaine me what is the sintax of what you give me laste post
i think it's juste a bad selection of disk and drive

I have only 1 drive
1 partition for win_xp
reste linux

thanks
 
Old 10-26-2003, 07:47 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Is there a reason that the drive is on your primary slave channel?

If youve definately only got one drive then you won't need to map the drives - try this

title windows_xp
rootnoverify (hd0,0)
makeactive
chainloader+1

get rid of the mapping section



Last edited by Skyline; 10-26-2003 at 07:55 PM.
 
Old 10-26-2003, 08:19 PM   #8
Tgrasshopper
LQ Newbie
 
Registered: Oct 2003
Distribution: red hat 7.2
Posts: 13

Original Poster
Rep: Reputation: 0
k i have try what you said and i can see win_xp on my grup but nothing hapend when i chose it.

# 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 (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,1)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hdb3
initrd /initrd-2.4.7-10.img

title windows_xp
rootnoverify (hd0,0)
makeactive
chainloader+1
--------------------------------------------------------------------------------------------------------------------------------------------
on this line hd0 mean what the drive? and the ,0 is't the partition?
rootnoverify (hd0,0)
I had try rootnoverify (hd0,1)
rootnoverify (hd0,2)
no one working


Thank
 
Old 10-27-2003, 05:40 PM   #9
Tgrasshopper
LQ Newbie
 
Registered: Oct 2003
Distribution: red hat 7.2
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks :Skiline

I finily get it!!!


# 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 (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=1000
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,1)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hdb3
initrd /initrd-2.4.7-10.img
title win_xp
rootnoverify (hd0,0)
chainloader +1
 
  


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
lilo then grup winxshadi76 Red Hat 2 12-13-2004 09:22 AM
Grup ......Xp ~linux ziox Linux - General 2 10-12-2004 01:33 PM
Does Grup have anything do to with IRQ's? danslinuxbox Linux - Hardware 1 03-03-2004 08:53 AM
Grup mhd_Ahmed Linux - Newbie 1 05-21-2003 01:40 PM
grup doesn't show windows NT javax Linux - General 2 11-13-2002 06:49 AM


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