LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-11-2005, 10:13 AM   #1
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Poá - São Paulo
Distribution: Debian Etch
Posts: 110

Rep: Reputation: 15
I can't remove GRUB... Why?


Hi All

I'm using Debian Sarge 3.1 (kernel 2.4). I want to remove
the GRUB to install the LInux LOader, to remove the GRUB
I am running this command:

apt-get remove --purge grub

There is no problem in remove it, and to install the LILO:

apt-get install lilo

then /sbin/lilo

The problem is:

When I reboot the computer the grub is installed yet...

What's happenned???
What I have to do to remove grub and install LILO??

Thanks
 
Old 12-11-2005, 10:58 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
GRUB is installed in the MBR of your bot disk. All you did was remove the grub support programs.

Use your new LiLO to change the MBR to LiLO.
 
Old 12-11-2005, 06:18 PM   #3
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Poá - São Paulo
Distribution: Debian Etch
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PTrenholme
GRUB is installed in the MBR of your bot disk. All you did was remove the grub support programs.

Use your new LiLO to change the MBR to LiLO.
I am pleased your help PTrenholme, but how can I remove GRUB from the MBR?

Thanks very much!!
 
Old 12-11-2005, 07:42 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to make sure that lilo is installed to your MBR. You can do this by editing your /etc/lilo.conf and making sure that its installed to somewhere like /dev/hda (your first hard drive) and then run /sbin/lilo. Lilo will then overwrite grub.
 
Old 12-11-2005, 08:00 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
The command is

lilo -b /dev/hda

-b is to the boot sector and hda is for the who disk hence the MBR.

Grub or Lilo resides in the MBR. You overwrite one with another.
 
Old 12-11-2005, 08:51 PM   #6
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Poá - São Paulo
Distribution: Debian Etch
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
You need to make sure that lilo is installed to your MBR. You can do this by editing your /etc/lilo.conf and making sure that its installed to somewhere like /dev/hda (your first hard drive) and then run /sbin/lilo. Lilo will then overwrite grub.
Hi reddazz and saikee

Very, very good your answeres. I could understand the two ways to
install the Linux Loader in the MBR consequently I could solve my
problem.

Thanks... Thanks very much!!
 
  


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
how to remove grub from the grub prompt haroon110 Fedora - Installation 7 12-22-2005 11:57 AM
how to remove GRUB? tygernoot Linux - Software 3 12-19-2004 04:21 PM
how to remove grub? tsitras Debian 6 07-07-2004 08:06 PM
How to remove grub? SoulPioneer Linux - Newbie 7 06-21-2004 08:04 AM
How do I remove Grub kmay Linux - Newbie 2 11-25-2002 03:49 PM

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

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