Unix Technical Forum

Re: GRUB question

This is a discussion on Re: GRUB question within the Linux Operating System forums, part of the Unix Operating Systems category; --> [followups set to comp.os.linux.setup] On Wed, 03 Sep 2003 01:53:28 GMT, Ko Fei Pu wrote: > I have a ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 07:48 AM
Jules Dubois
 
Posts: n/a
Default Re: GRUB question

[followups set to comp.os.linux.setup]

On Wed, 03 Sep 2003 01:53:28 GMT, Ko Fei Pu wrote:

> I have a dual boot machine with W2K & RH 9, W2K is in my MBR, so when I
> boot the computer W2K boots first, during the Linux install, I made a
> mistake and installed GRUB,


I did the same thing a few months ago. I didn't like it for the first few
minutes, but now I'm glad I did.

(I used to boot kernel 2.0.33 from the WinNT boot menu, a serious pain in
the ... .)

> now every time I tried to go to Linux, the
> GRUB booter comes up, is there anyway that I can remove GRUB withou
> damaging my install?


What do you mean by "[try] to go to Linux?" Is GRUB installed in the MBR?

"/sbin/lilo" will write a LILO bootstrap to the MBR, if you configure it to
do so. MS Windows' "fdisk /mbr" will write a Windows bootstrap to the MBR.
I wouldn't do either, myself.

> If not how can I change the GRUB default entry
> (right now is pointing to W2K)?


default 0 # replace '0' with the "number" of your desired boot entry

> I'm a newbie so please bear with me, any comment or suggestion is much
> appreciated.


It's trivial to boot W2K from GRUB. Is that what you want to do?

The best suggestions are

man grub
info grub
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 07:48 AM
Ko Fei Pu
 
Posts: n/a
Default Re: GRUB question

Jules Dubois wrote:
> [followups set to comp.os.linux.setup]
>
> On Wed, 03 Sep 2003 01:53:28 GMT, Ko Fei Pu wrote:
>
>
>>I have a dual boot machine with W2K & RH 9, W2K is in my MBR, so when I
>>boot the computer W2K boots first, during the Linux install, I made a
>>mistake and installed GRUB,

>
>
> I did the same thing a few months ago. I didn't like it for the first few
> minutes, but now I'm glad I did.
>
> (I used to boot kernel 2.0.33 from the WinNT boot menu, a serious pain in
> the ... .)
>
>
>>now every time I tried to go to Linux, the
>>GRUB booter comes up, is there anyway that I can remove GRUB withou
>>damaging my install?

>
>
> What do you mean by "[try] to go to Linux?" Is GRUB installed in the MBR?
>
> "/sbin/lilo" will write a LILO bootstrap to the MBR, if you configure it to
> do so. MS Windows' "fdisk /mbr" will write a Windows bootstrap to the MBR.
> I wouldn't do either, myself.
>
>
>>If not how can I change the GRUB default entry
>>(right now is pointing to W2K)?

>
>
> default 0 # replace '0' with the "number" of your desired boot entry
>
>
>>I'm a newbie so please bear with me, any comment or suggestion is much
>>appreciated.

>
>
> It's trivial to boot W2K from GRUB. Is that what you want to do?
>
> The best suggestions are
>
> man grub
> info grub

Based on the posting, it seems better to have GRUB installed in MBR and
boot w2k or linux from it, right now I have w2k installed in MBR and
GRUB installed on /boot directory, so when I want to boot linux, I have
to select linux from w2k boot loader, then select linux again from GRUB
boot loader, and I would like to remove the GRUB loader if it's possible
and won't damage my current installation.

TIA

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 07:51 AM
Jules Dubois
 
Posts: n/a
Default Re: GRUB question

On Thu, 04 Sep 2003 05:39:27 GMT, in article <jeA5b.649$kW.235@edtnps84>,
Ko Fei Pu wrote:

>> The best suggestions are
>>
>> man grub
>> info grub
>>

> Based on the posting, it seems better to have GRUB installed in MBR and
> boot w2k or linux from it,


That's what I do, but what's better is what works better for you.

> right now I have w2k installed in MBR and
> GRUB installed on /boot directory,


I think you should reread the GRUB documentation. You have "GRUB files" in
your /boot directory, but

* the GRUB stage-1 boot loader is in the first sector (not a file) of
some partition; and
* if you're loading GRUB from W2K, there's a copy of that sector in
another file somewhere, and W2K's BOOT.INI specifies its location.

> so when I want to boot linux, I have
> to select linux from w2k boot loader,


To boot W2K, if you have GRUB in the MBR, you'll have to go through the W2K
boot menu. Unless you specify something like "timeout=0" in one or both
bootloaders, you'll have to navigate menus.

> I would like to remove the GRUB loader if it's possible
> and won't damage my current installation.


I'm only familiar with one way to boot Linux -- with a bootloader like LILO
or GRUB. There may be other ways, but LILO and GRUB have always worked for
me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com