LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2003, 09:15 AM   #1
v2lk
Member
 
Registered: May 2003
Location: Estonia
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
grub.conf


hi!
i have a problemo.
i have a grub.conf like this:
Code:
default=0
timeout=10
splashimage=(hd0,3)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
        root (hd0,3)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
now, i add an HDD with a regular winXP installation & wanna make grub to boot it. but, if i write smth like that:
Code:
title NT 5
        root (hd1,0)
        makeactive
it does not work. how should i do this? let's say linux is on primary master and XP on primary slave.

thnx.
 
Old 08-25-2003, 09:35 AM   #2
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
Try adding the following to /boot/grub/grub.conf
title Windows XP
rootnoverify (hd0,0)
chainloader +1
Make sure to replace (hd0,0) with the actual partition where winxp
resides. And of the course the title can be whatever you want.
 
Old 08-25-2003, 09:38 AM   #3
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
also replace default with Red Hat Linux (fill this) or the other title.also you can add 'makeactive' to
title Windows XP
rootnoverify (hd0,0)
chainloader +1
 
Old 08-25-2003, 11:46 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
...........and for the background.

http://www.gnu.org/manual/grub/html_mono/grub.html
 
Old 08-25-2003, 12:00 PM   #5
v2lk
Member
 
Registered: May 2003
Location: Estonia
Distribution: Slackware 9.1
Posts: 61

Original Poster
Rep: Reputation: 15
bad bad bad, my XP disk is missing today, say, what are the differences if i wanna give it a try with win98?

and, to be mentioned, if i had the time to read manuals about every thing i need to get over with, i would not even visit this or any other forum.

Last edited by v2lk; 08-25-2003 at 12:02 PM.
 
Old 08-25-2003, 12:31 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
let's say linux is on primary master and XP on primary slave.
You will need to re-map your drives.
Code:
title windows
    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1,0)
    chainloader +1
If you need more information on your partitions, use the fdisk command.
Code:
fdisk -l
 
  


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
nano -w /boot/grub/grub.conf Tbagz Linux - Newbie 2 10-31-2005 07:42 PM
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 05:40 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 05:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


All times are GMT -5. The time now is 06:47 PM.

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