Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-15-2006, 12:48 PM   #1
Registered: Aug 2005
Posts: 75

Rep: Reputation: 15
reinstalling GRUB

how to reinstall grub if it's corrupted by a windows boot disk??
some of my frndz faced this problem?
Old 01-15-2006, 01:02 PM   #2
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You boot up a Linux Live CD, make a directory on /mnt, mount the unbootable Linux partition on it, change root to the unbootable Linux, do a Grub-install, exit and reboot.

As example if the root partition of your Linux is hda6, after boot up a Live CD (almost any one will do)
mkdir /mnt/temp
mount /dev/hda6 /mnt/temp
chroot /mnt/temp
grub-install /dev/hda
If you use a Sata the hda6 should be sda6 and hda should be sda.

hda without the partition number means the whole disk and that is the MBR.

Last edited by saikee; 01-15-2006 at 01:03 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstalling grub. greythorne Ubuntu 23 12-03-2005 02:51 AM
GRUB not reinstalling jboo Linux - Software 5 10-02-2005 11:55 AM
reinstalling GRUB 0perat0r Linux - Newbie 7 05-02-2005 03:30 PM
reinstalling grub ELconkestador Linux - Software 1 02-12-2005 11:22 PM
Reinstalling GRUB Petelow Linux - Newbie 1 05-24-2004 05:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration