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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-31-2005, 03:35 AM
|
#1
|
Member
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 31
Posts: 225
Rep:
|
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.
|
|
|
01-31-2005, 11:29 AM
|
#3
|
Member
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 477
Rep:
|
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
|
|
|
01-31-2005, 02:51 PM
|
#4
|
Member
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 31
Posts: 225
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|