Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-02-2004, 10:06 PM   #1
Registered: Feb 2004
Distribution: Red Hat Linux 9
Posts: 61

Rep: Reputation: 15
Talking reinstalled XP now no grub?

as the subject says, due a grub error, i reinstalled windows XP (i needed the formatt anyways), but now to boots directly into windows, how do i get grub working again? i rember reading somthing about how you install linux first because windows writes over some file?
any help would be grand =]
Old 03-02-2004, 10:30 PM   #2
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Rep: Reputation: 30
You probably had Grub installed in the Master Boot Record, and XP probably overwrote it. You'll probably have to setup Grub again. I use LILO, so I can't tell you how to do it manually. Your distribution should have a tool to set it up.
Old 03-02-2004, 11:47 PM   #3
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
boot into rescue mode
chroot /mnt/sysimage
grub-install /dev/hda (or whereever your mbr is)
Old 03-06-2004, 12:27 AM   #4
Registered: Jan 2004
Location: Miami FL
Distribution: Mac OS X 10.4.11 Ubuntu 12.04 LTS
Posts: 429

Rep: Reputation: 30
XP - like all windows - takes the hard drive first possible MBR. Who knows why so one way to avoid that is to let Doz have the first partition (and MBR). Then Grub on the second and that should help.

Last edited by witeshark; 03-06-2004 at 12:29 AM.


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
Reinstalled XP and can't get into Windows Superganja23 Mandriva 9 05-23-2006 07:09 AM
Reinstalled Slackware 9.1 no SBLive Shr00mBoXx Slackware 3 06-20-2004 11:46 PM
Reinstalled OS--Can't get to user acct. mooreted Linux - Software 2 01-30-2004 09:55 AM
Reinstalled Mandrake 9.2 Johnny2003 Linux - Networking 1 01-25-2004 12:13 PM
Reinstalled Mozilla to 1.3! orange400 Member Success Stories 0 03-20-2003 02:47 AM

All times are GMT -5. The time now is 03:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration