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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-11-2005, 10:13 AM
|
#1
|
Member
Registered: Nov 2005
Location: Brazil, Poá - São Paulo
Distribution: Debian Etch
Posts: 110
Rep:
|
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
|
|
|
12-11-2005, 10:58 AM
|
#2
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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.
|
|
|
12-11-2005, 06:18 PM
|
#3
|
Member
Registered: Nov 2005
Location: Brazil, Poá - São Paulo
Distribution: Debian Etch
Posts: 110
Original Poster
Rep:
|
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!!
|
|
|
12-11-2005, 07:42 PM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
12-11-2005, 08:00 PM
|
#5
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
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.
|
|
|
12-11-2005, 08:51 PM
|
#6
|
Member
Registered: Nov 2005
Location: Brazil, Poá - São Paulo
Distribution: Debian Etch
Posts: 110
Original Poster
Rep:
|
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!!
|
|
|
All times are GMT -5. The time now is 05:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|