LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-30-2004, 12:35 PM   #1
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Does Debian use GRUB or GNU GRUB?


It is soon going to be time to start messing with my boot information at home, since I don't want two boot screens everytime I want to start Windows. (The Windows boot screen loads with its options after the GRUB screen.) All that I know is that the Debian install loads GRUB, but upon searching for the GRUB documentation, I found http://www.gnu.org/software/grub/ and now I don't know whether Debian uses GNU GRUB or the GRand Unified Bootloader.

Typing info grub doesn't seem completely unveil things. I found on the Debian site that "GRUB is a new boot manager from the GNU Hurd project," so I am assuming that it is the GNU GRUB that Debian is using. Is this correct? If so, I can download the documentation from the above-linked site.

Thanks in advance.
 
Old 09-30-2004, 12:49 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,017

Rep: Reputation: 52
Assuming you got both on the same hd:

Edit /boot/grub/menu.lst, and at the end of the file add lines similar to the following:

title Windows on /dev/hda1
rootnoverify (hd0,0)
makeactive
chainloader +1

Modify the title and rootnoverify lines to match the location of your Windows partition.
 
Old 09-30-2004, 12:54 PM   #3
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Original Poster
Rep: Reputation: 39
Thanks, but that's not the problem. FWIW, Windows 2000 and XP are on hda, and SuSE and Debian are on hdb. I had no choice but to install GRUB into the MBR upon installation, because it wouldn't write to the floppy drive during installation. (I even tried reinstalling because I didn't want to touch the MBR.)

GRUB is doing a bang-up job, and I can select NTFS. If I do this, it leads to the second boot screen, which is from Windows.

All I wanted to do is make sure I am reading the correct documentation, because I will need to learn about GRUB if I am going to start fooling around with it. I assume I will be able to write the boot sector to the root partition as with SUSE and restore the Windows boot manager to the MBR. I will also need to know how to write a boot floppy. All of this should be in the documentation (aside from the bit about restoring the Windows boot manager to the MBR).
 
Old 09-30-2004, 04:38 PM   #4
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
GRUB is GNU software. GNU GRUB and GRUB are one in the same, although no one ever refers to GRUB as GNU GRUB. the link to the documentation above is what you need if you have any issues with the bootloader. good luck.

your windows bootloader appears to be set up to display os's also. if you want to disable it, start up windows, go into control panel -> system -> advanced -> settings -> startup and recovery settings -> settings and uncheck "time to list operating systems..." or edit out redundant and useless boot options with the "edit" button

Last edited by zero79; 09-30-2004 at 04:52 PM.
 
Old 10-01-2004, 03:49 AM   #5
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Original Poster
Rep: Reputation: 39
After reading "History of GRUB" in the GNU GRUB doc, I figured it out.

What I plan to do is to continue to use GRUB instead of using Windows, but to alter the GRUB configuration. I can tell GRUB to have separate options for Windows 2000 and for Windows XP, then I can remove/disable the Windows boot loader with its options.

The reason I wanted to keep Windows as the boot manager in the MBR is because it is so picky, and also has a trigger finger with rewriting the MBR. (Bye-bye GRUB.) I don't like to rely on floppies for such occasions. But since I learned I can write a bootable rescue CD with GRUB (once I get the CD-R operating), I don't see why I shouldn't stick with the superior boot loader in the MBR.

Thanks,
Mike
 
  


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
Gnu Grub Issue with Windows XP Phil57 Linux - Newbie 3 06-05-2005 10:39 AM
gnu grub 0.95 issue musserplayer Linux - Newbie 7 05-16-2005 05:44 AM
gnu grub 0.95 twoflower Linux - Newbie 1 04-26-2005 02:45 AM
How do I set default in GNU GRUB? akilhoffer Linux - Newbie 11 09-01-2004 07:17 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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