LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how to remove grub? (https://www.linuxquestions.org/questions/debian-26/how-to-remove-grub-201637/)

tsitras 07-06-2004 04:13 AM

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.

R00ts 07-06-2004 04:23 AM

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...:rolleyes:

XavierP 07-06-2004 04:33 AM

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.

R00ts 07-06-2004 04:50 AM

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 :D

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 :)

macondo 07-06-2004 09:34 AM

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

R00ts 07-07-2004 05:34 PM

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? :confused:

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! :cry: 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!!! :jawa:

macondo 07-07-2004 08:06 PM

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


All times are GMT -5. The time now is 05:02 AM.