You are not logged in.

#1 2012-07-14 19:03:33

archie0
Member
Registered: 2012-02-26
Posts: 144

Reinstalled Windows, GRUB is gone.

So, I've reinstalled Windows, and obviously GRUB(Legacy) is gone.
How could I restore it? Would it work using an Arch live USB? By skipping all steps until I get to the GRUB installation.

Offline

#2 2012-07-14 19:08:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Reinstalled Windows, GRUB is gone.

yes


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2012-07-14 19:14:52

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: Reinstalled Windows, GRUB is gone.

I guess I'll do it. Thanks.

Offline

#4 2012-07-14 19:28:11

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Reinstalled Windows, GRUB is gone.

This will also work (from a LiveCD):

cd /mnt
mount /dev/sdaX .
for i in /proc /sys /dev; do mount -B $i .$i; done
chroot .
grub-install /dev/sda        #Don't use sdaX. You want to install to the MBR.

You should also set the boot flag on whatever partition GRUB is installed. Use either gparted or cfdisk, depending on whichever the LiveCD comes with.

And don't forget to mark it as solved.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB