A tiny little note that can help you out of a pinch

If you have a problem that caused your grub to be deleted, and if you have a liveCD or the kind,

open a console window and

sudo apt-get install lilo
sudo lilo -M /dev/sda mbr

In my case, I was trying to format my partition and install a version of linux mint. My usb disk had a faulty part, so, it gave an error halfway and I needed to restart in order to create another bootable usb disk. I couldn’t… Because now I didn’t have the bootloader to select OS.

I reopened my faulty usb disk’s on-the-fly OS, opened a console window and run these commands.

I’ve got an error in the install part, though… but it didn’t matter at the end, since I could run second command successfully.

With lots of love.

Have a nice weekend.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s