Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-01-2004, 12:27 PM   #1
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
reinstalling grub on the mbr

lets say a person is dual booting linux and windows. Then they reinstall windows, which writes over the MBR. Could they fix grub by rerunning grub from a live version of linux like knoppix, without chrooting there / partition. Since knoppix already has grub installed couldn't they just specifiy their installed boot partition.

grub> root (your boot partition)
grub> setup (hd0,0)
grub> exit

Is it at all nessesary to run grub from their chrooted partiton, it does not seem to be?

Last edited by shanenin; 12-01-2004 at 12:30 PM.
Old 12-01-2004, 01:00 PM   #2
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
I just tested it using knoppix. There is no need to chroot your / partition. It worked fine.


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
MBR deleted - I need to reinstall LILO without reinstalling Debian chaca1983 Linux - Software 12 03-26-2005 11:06 AM
reinstall GRUB to MBR w/o reinstalling Linux?? timsch75 Linux - Software 3 06-24-2004 07:36 PM
how i fixed lilo & my mbr without reinstalling bandofmercy Member Success Stories 1 06-07-2004 05:03 PM
[SOLVED] reinstalling grub or reconfiguring it to be put back on the mbr pintooo15 Red Hat 7 06-06-2004 11:49 AM
SuSE 9.0 Pro: Reinstalling the bootloader on MBR ihsus Linux - Newbie 10 03-25-2004 10:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:31 PM.

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