LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-25-2006, 10:55 PM   #1
llamaofdeath
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
grub/NTFS/MBR death


Not sure whether this should be in hardware/software forums, but here it goes... I'm running Fedora Core 5

Alright, having my MBR completely mowed over numberous times and after many HD switches, I had a large, NTFS partition as my boot/OS hard drive. My linux partition is on another drive. I had grub-install install itself onto my MBR; a mistake, onto my NTFS drive. I have (had) windows XP on that partition. Of course, I cannot boot into it... having the grub bootloader boot into (hd0,0) boots itself back into the grub loader... I think I just made a 40GB MBR

Anyway, windows recovery console can't find it, and I tried fixmbr from the line to no avail. So, fdisk still shows my disk as being NTFS, howeaver, trying to mount it won't work... apparently 'ntfs' isn't a recognized FS. I have another NTFS, which is withen an extended partition, and I can't mount that either...

Anyway, point is; Would there be any way to at least ACCESS my drive, just to back data up off it? I have several other fat32 partitions on other disks that can be written to from FC5, so if I could just access the partition...

Any help would be GREAT!

Thank you!
 
Old 08-25-2006, 11:09 PM   #2
llamaofdeath
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
dmesg | tail returns...

NTFS driver 2.1.27 [Flags: R/W MODULE].
NTFS-fs warning (device hda1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda1): ntfs_fill_super(): Not an NTFS volume.


Anyone know any programs that can attempt to recover a messy boot sector/partition?

Or am I going to have to contact the NSA for help...

 
Old 08-25-2006, 11:49 PM   #3
llamaofdeath
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Ahk sorry case closed, after about 20 minutes of trudging through windows recovery console and linux fdisk... time to back everything up incase this happens again...
 
Old 08-25-2006, 11:58 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,792

Rep: Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575Reputation: 3575
Does that mean you got things to work again ???.
Sounds like you installed grub to the NTFS partition (boot sector). As well as the MBR I mean.
If you got out of that with fixmbr/fixboot you were very lucky.

Note: - installing to the MBR is safe. It is installing to /dev/hda1 (i.e. the partition) that eats things.

Hope all is o.k.
... and about those backups ...
 
  


Reply


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
GRUB on MBR ... dipenchaudhary Linux - General 12 02-16-2006 11:52 AM
grub to mbr rekaye1005 Linux - General 1 10-18-2005 07:20 PM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
LILO on NTFS mbr might be causing an issue mipia Slackware 5 08-13-2003 05:16 PM
Grub and MBR, need some help entm Linux - General 3 05-13-2002 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 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