LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-31-2005, 03:35 AM   #1
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 129

Rep: Reputation: 18
Not your regular GRUB question - just a short question for a fried MBR!!


Ok, my hard drive's WinXP partition got killed Luckily, I had 'ghosted' the entire drive with Norton Ghost in WinXP onto a modular HD. But, I try to boot off it (both in the main drive and as modular) and instead of the GRUB boot loader, it just hangs there. I can explore the disk in Explorer and in Linux when it's modular and I boot with another HD, and all my files are there, intact. Is there any way I can fix the MBR on this modular drive? I am worried that mesing around with the MBR will kill the parittions (at least that's wha someone told me, not sure if that's on the mark). In any case, I have the Fedora 3 CD here, can I safely, and should I, try to reinstall the GRUB boot loader through that?

Also, this is a modular drive, but I can set BIOS to let me boot off of that. Should I instead move it to the main HD bay - does it really matter?

Thanks!

Last edited by ziphem; 01-31-2005 at 03:54 AM.
 
Old 01-31-2005, 10:12 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
If you can boot linux from another HD, and read all your files, why don't you just copy them all back from the "Modular" drive (whatever that is)?

These threads/links may help you:

http://p-two.net/hard-drive/hard-drive.html
http://www.linuxquestions.org/questi...hreadid=224324
 
Old 01-31-2005, 11:29 AM   #3
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 13.1,12.1,12.2; Debian Sqeeze; Centos 5,6
Posts: 256

Rep: Reputation: 34
Prior to doing anything, may a boot floppy to enable you to boot linux. May sure you verify it before you do anything. Use it to reboot your computer. Once you are sure it works follow these suggestions.
If you boot the original Windows XP disk, there is an option to restore the MBR. I think it is one of the advanced options if you choose to use the disk to restore the operating. You have the ability to only restore the MBR. This will unfortunately delete grub. You will then use the linux boot floppy to get you into linux. You will then have to restore grub. Do a man on grub. I am at work otherwise I'd help you.)

Good luck
 
Old 01-31-2005, 02:51 PM   #4
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 129

Original Poster
Rep: Reputation: 18
Hi, thanks for the responses. Here's some more detail on this: I had a dualboot, WinXP and Fedora Core 3. I decided I wanted to resize the XP NTFs partition. Bad idea. The computer gave me an error half way through, and now when I try to boot XP, I get a blue screen. Linux, however, still works. I've tried disk doctors and everything, but it's not even reading the Windows partition.

I ghosted the HD a few weeks before this event to my "backup" modular drive. I try to boot it now, but it hangs - I get "GRUB" in the upper left hand corner of a blackened screen, and some ASCII characters in the lower right hand side. So, it doesn't boot. However, I have a third hard drive lying around, that I formatted and put on WinXP. I put in my ghosted drive into the modular slot, and booted this spare 3d HD. Sure enough, I can see all my files etc. on the ghosted modular drive. So I assume it was just the MBR that didn't ghost properly.

So my problem now is getting this to work. I have a hard time with creating boot disks, because the modular "ghosted" drive takes the place of my floppy drive. I could try to move it to the internal drive, but that take a lot of work and eventually I know I'm going to drop the drive or something.

My question was specifically about restoring that MBR, since I assume that's the only thing that's wrong. If I use the Fedora installation CD, can I write over that MBR, and if that fails, will it somehow kill the parition? Is there any chance of that hapenning?

I'd like to just copy over the old Windows partition, but it's NTFS so I can't do it in Linux. I can't boot it, so I can't do it in Windows either.

Oh, when I get the grub menu on the "broken" hd, I try to boot the modular drive (I change (hd0,0) to (hd1,0) but nothing like that works...)

Let me also say that, although I'd like to keep Linux, it's not the end of the world if I don't - I already have a backup of it working 100% on the "broken" HD. Once I get my Windows working again, I can just reinstall it, then ghost it over to take the place of the newly reinstalled one.

Thanks!!

Last edited by ziphem; 01-31-2005 at 02:52 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Short question about wine fatum112 Linux - Software 1 11-23-2005 10:50 AM
Short MySQL Question The_Messiah Linux - Networking 2 03-28-2005 04:30 AM
short modules question anadyr Slackware 1 01-02-2005 06:03 PM
A short question about compiling again Al Bundy Linux - Newbie 3 06-12-2003 07:48 AM
Very short PERL question. Stingreen Programming 4 03-15-2002 10:59 AM


All times are GMT -5. The time now is 12:28 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration