How to replace Lilo with Grub


I have been having some ‘issues’ with Lilo recently on a Debian LXDE system and thought it was about time I replaced it with Grub instead.  This is how you do it.

Open up a terminal and type:

sudo apt-get install grub

Now type:

sudo grub-install /dev/sdb

Replace /dev/sdb with the hard disk you want to install the bootloader on.

We then need to create the file menu.1st which holds all the Grub boot information so type:

sudo update-grub

All that is left to do is uninstall Lilo and we do that by typing:

sudo apt-get remove lilo

Hopefully that will install grub in the MBR.

About the Author

Hi I am Chris Wakefield the owner of ComTech IT Support. I provide Windows and Linux based IT Support, laptop repairs and computer repairs to both business and personal clients in and around Stirling.

For a list of what I can offer you why not visit my website www.comtech247.net where you will find a list of my services, testimonials, blog and much more.

 

 

 

 

This entry was posted in Blog and tagged computer repair, debian, grub, IT Support, laptop repairs, lilo, replace, stirling. Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current month ye@r day *