Amateur Geek

  • Home
  • Amateur Geek
  • IN short
  • Linux
  • Must Have
  • Sites
  • Software
  • Tips & Tricks
  • Web design

How to restore GRUB

No Comments

When you install Linux on your computer and then install Windows, the Grub will be deleted and you won’t be able to boot into Linux anymore.

Here is how to fix (restore) the GRUB after such a situation:

1. You will need a Live CD with any Linux distribution. Insert the live CD of Ubuntu for instance, and boot from the CD.

2. As soon as the computer boots and the Live OS starts, go to Applications > Accessories > Terminal.

3. Now you have to recover the Grub for which you need to write (or paste) the following commands into the terminal (only what’s bold, the text between the brackets is just the explanation of the command):

sudo grub

find /boot/grub/stage1 (This searches for the boot partition. It will give you a result which you’ll have to copy for the next command)

root (hd0,0) (Replace hd0, 0 with the value obtained in the previous command)

setup (hd0) (This will install the grub)

quit (to exit.)

The next time you reboot, you can access your Linux box again.

Related posts

  • Free Linux books (0)
  • All my apps (0)
Tags: Linux, reinstalling windows, restore grubAmateur Geek, Linux, Tips & Tricks

Leave a Reply

Click here to cancel reply.

(required)

(required)


All my apps

Fresh install of Operative System can be very tough job. That’s not only because of OS installation – all...

Mozy Home 2.0

Online backup tool Most interesting variant of Mozy service is that which is free. After really simple registration user...

Tweak Now RegClean

The Registry is the affection and body of any Windows system. It contains advice that controls how your arrangement...

PC FIXER

Often new and accidental computer users get absent with computer tweaking utilities. There are alien with the technology and...

Arduo ( Turbo ) CSS

Here is some nice, light weight and free CSS editor….. I don’t know, how I forget to put it...

News

All my apps

Fresh install of Operative System can be very tough job. That’s not only because of OS installation – all...

SunBurn Toys Internet Blogs Copyright by Amateur Geek - Guide to Become a Geek Internet blogs & blog posts Web Statistics
Blog WebMastered by All in One Webmaster.