LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-24-2006, 05:28 PM   #1
nadavvin
Member
 
Registered: May 2006
Distribution: ubuntu
Posts: 109

Rep: Reputation: 21
I accidentally install the grub on the Windows partition, Can I reconstruct???


I accidentally install the grub on the Windows partition, Can I recover???


I have important thing on this partition.

Last edited by nadavvin; 10-24-2006 at 05:30 PM.
 
Old 10-24-2006, 06:11 PM   #2
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Rep: Reputation: 30
This may help.
http://josephhall.org/grub_install_hda1.html
 
Old 10-25-2006, 01:07 AM   #3
nadavvin
Member
 
Registered: May 2006
Distribution: ubuntu
Posts: 109

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Baix
Thanks very much
 
Old 10-25-2006, 02:26 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
That's pretty old - and a little "flakey".
If you have a Windows install CD (win2k or later), try getting into recovery console and run fixboot.
You may be lucky - some are.
Else a re-install may be in order.
 
Old 10-25-2006, 03:00 AM   #5
nadavvin
Member
 
Registered: May 2006
Distribution: ubuntu
Posts: 109

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by syg00
That's pretty old - and a little "flakey".
If you have a Windows install CD (win2k or later), try getting into recovery console and run fixboot.
You may be lucky - some are.
Else a re-install may be in order.

yes that what I do since there no command sys in the recovery console in the XP disc.
 
Old 10-25-2006, 07:16 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
This is confusing:
OP says grub installed on Windows Partition---fixmbr will not fix that.

So where WAS GRUB installed? mbr or the boot sector of the Windows partition? (For the OP: How did you install GRUB?)

Last edited by pixellany; 10-25-2006 at 07:17 AM.
 
Old 10-25-2006, 07:27 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Nobody mentioned fixmbr - prior to you anyway.
 
Old 10-25-2006, 11:02 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by syg00
Nobody mentioned fixmbr - prior to you anyway.
OOPS!!!
I saw "fixboot" and thought it was "fixmbr".

How are they different??
 
Old 10-25-2006, 04:04 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Fixmbr does the MBR. Seems to do some basic checking; insists a primary partition is marked bootable and has ntldr in it.
Fixboot rebuilds the boot sector record within the partition itself. Seems to be less robust - sometimes it solves the problem of an overlay, sometimes (mostly ??) not.
I'd guess the success or otherwise is related to how many sectors actually got overlaid, but I've not done any testing to verify this.
 
Old 10-25-2006, 04:46 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I love it when I come to LQ and wind up learning more about Windows....
 
Old 10-25-2006, 07:30 PM   #11
littledrop
Member
 
Registered: Aug 2006
Posts: 97

Rep: Reputation: 15
or

fdisk /mbr by booting with 9x/ME bootable disk.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB won't load windows partition - root (hd0,0), Filesystem type unknown partition.. cillm527 Linux - Software 4 04-27-2008 06:44 AM
Fresh install of SUSE, windows partition is mounted but no GRUB entry irunfast1000 Linux - General 1 10-12-2006 03:49 PM
Accidentally deleted GRUB oryhara Linux - General 3 06-09-2006 05:23 PM
Help: Accidentally installed GRUB to my WindowsXP NTFS partition Hasbro35 Ubuntu 1 08-05-2005 12:56 PM
grub to see windows partition? skylinewrx Linux - Software 5 05-07-2004 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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