LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-06-2004, 05:13 AM   #1
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Rep: Reputation: 30
how to remove grub?


i installed debian's unstable, but it installs by default the grub boot loader, which i am not familiar at all. so it can not see the windows partition. my question is how can i remove grub and install lilo? i do not have an internet connection. all from the cd.
 
Old 07-06-2004, 05:23 AM   #2
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
I would also like to know how to install lilo and remove grub. There's nothing currently wrong with my grub bootloader, but I just like lilo better I guess. Is it relatively safe to switch bootloaders without totally screwing something up and losing all your data? Hmm, maybe I shouldn't ignore the "If it ain't broke, don't fix it" saying...
 
Old 07-06-2004, 05:33 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
apt-get uninstall grub
apt-get install lilo
I would have thought. Since I don't use Debian, I would wait for a more definitive answer from a Debian user - the above could possibly screw up your install.
 
Old 07-06-2004, 05:50 AM   #4
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
I know that when/if you re-compile your kernel you have to manually edit the grub or lilo configuration files to point to the right kernel. You might need to do this if you switch boot loaders too, but I'm not sure. I'll find out soon enough I guess

EDIT: I take that back. My debian kernel compilation guide said you had to, but when I installed the kernel it automatically updated my grub configuration files for me. How nice of it to do so

Last edited by R00ts; 07-06-2004 at 06:49 AM.
 
Old 07-06-2004, 10:34 AM   #5
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 51
As root:

apt-get remove --purge grub
apt-get clean

apt-get update
apt-get install lilo

a dialog box comes up gives you instructions to setup lilo

and lastly:

#/sbin/lilo

Last edited by macondo; 07-06-2004 at 10:41 AM.
 
Old 07-07-2004, 06:34 PM   #6
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
Grub is one persistant bastard

Hey macondo, I did everything you said to do and grub still exists AND is booting over lilo. WTF, I thought I uninstalled it?

The only thing that went bad with running /sbin/lilo is that I didn't have the debian.bmp bit-map file in my boot directory. However I had a sarge.bmp in my boot directory, so I edited my lilo.conf file to load that instead of the debian bmp and after I ran /sbin/lilo again it worked fine.

BUT GRUB IS STILL BOOTING MY SYSTEM! Seriously, what else do I need to do to get lilo to boot instead of grub? I even looked at a grub uninstallation guide and it told me to just run /sbin/lilo and that would do it. Damn you evil bootloader!!!
 
Old 07-07-2004, 09:06 PM   #7
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 51
Strange...

apt-get install debfoster

invoke it

it will ask you 'if you want to keep <name of package>'

keep them all for now (say yes to all, unless you know you want to get rid of something, be careful with debfoster, if you don't know a lib, let it be), except grub

apt-get -y remove --purge lilo
apt-get clean

start from scratch and install lilo and this time don't get cute with images, believe me, eye candy sucks and slows you down; keep it lean and mean.

reboot

Last edited by macondo; 07-07-2004 at 09:11 PM.
 
  


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
how to remove grub from the grub prompt haroon110 Fedora - Installation 7 12-22-2005 12:57 PM
Remove GRUB netjack Linux - General 5 09-28-2005 05:21 PM
how to remove GRUB? tygernoot Linux - Software 3 12-19-2004 05:21 PM
How to remove grub? SoulPioneer Linux - Newbie 7 06-21-2004 09:04 AM
How do I remove Grub kmay Linux - Newbie 2 11-25-2002 04:49 PM


All times are GMT -5. The time now is 02:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration