LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2002, 11:25 AM   #1
walid97
LQ Newbie
 
Registered: Oct 2002
Posts: 3

Rep: Reputation: 0
editing GRUB question


Hi..

I want to edit my GRUB file in order to start RH and Windoze (both 98 and XP hat boot with NTLDR).

-Should I add this text in order to have a choice between RH and NTLDR in GRUB :


title Windows NT / Windows 95 boot menu

root (hd0,0)

makeactive

chainloader +1

---------------------------------------------------
or this one?

rootnoverify (hd0,0)
makeactive
chainloader +1

-----------------------------------------------------
-Where should I add the text in the GRUB file? (beginning, end..?)


thanks!
 
Old 10-04-2002, 01:23 PM   #2
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
you can put it at the end, or beginning, that doesn't matter.
This is my Grub.conf, so you get an idea.

title WinBLOWS!
rootnoverify (hd0,0)
chainloader +1

This is all I have in my grub in regard to Windows. It is at the end of the file as well....
Now...what is exactly the device adress for your hardrive and Windows partitions. /dev/hd?
 
Old 10-04-2002, 01:23 PM   #3
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
I believe that:

title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
chainloader +1

is correct and the "makeactive" statement should not be required. As for placement, you can make this stanza the last one and have a "default=n" statement that points to whichever statement you want as default. The "n" will be any number from "0" on up, with "0" being the first listed stanza. So if you have two stanzas with the first listing Linux boot parameters and the second listing the Windoze stuff, then default=1 would be appropriate.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Editing hoe Linux - General 2 11-07-2004 06:45 PM
Editing Grub onelung02 SUSE / openSUSE 3 10-27-2004 03:45 AM
need help editing grub orionpc84 Linux - Newbie 5 09-11-2004 11:50 PM
editing grub pcmatt Linux - General 7 11-21-2002 10:49 PM
Grub: Editing Kryptow Linux - Newbie 4 09-05-2002 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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