GRUB Reinstalation after Windows install

After reinstalling Windows on my laptop I have lost possibility to get into Linux(CentOS). It was only matter of reinstalling GRUB as a default boot manager. I done it like that:

From the page i downloaded iso image of that linux distro. Then I burned that iso into CD, and started it.

In the command line i wroted

# grub

Next thing was to locate the partition where grub is

grub> find /boot/grub/stage1

I got answer like hdX,Y – the partition where GRUB is. Now I have to do:

grub> root (hdX,Y)
grub> setup (hdX)

after that I had the GRUB setup complete. Now I have to quit grub

grub> quit

and restart my laptop. Works fine 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

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

This website stores some user agent data. These data are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to opt-out of any future tracking, a cookie will be set up in your browser to remember this choice for one year. I Agree, Deny