LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-01-2005, 12:32 PM   #1
Poet
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandriva, Slackware, Suse, Fedora Core, Ubuntu
Posts: 13

Rep: Reputation: 0
Harddisk problem (MBR?)


I haven't used this site in ages, and I can't believe I remembered my old username and password.. anyway, I have a new problem that occured yesterday when trying to install Fedora on my hdb drive..

So basically I have 2 hds..

hda is NTFS partition with WinXP
hdb was a formatted NTFS drive.

I began installing Fedora and got to the part where you need to make some partitions.. so I set it up manually making hdb an ext3 and partitioned a section for swap on there as well.

The installation seemed to fail after a while saying something about not formatting the drive properly and that I had to restart. (or something about invalid partition table.. or both..)
After I restarted the system and the Fedora installation began to start again it gave me an error saying that there was an error with hdb.. I can't quote the error, that was yesterday and my memory slips me.

In short, it said that hdb had a huge problem, and on the partition screen that followed, only my hda drive was listed. Not a good thing. I cancelled the installation and tried to boot into my NTFS windows, but it wouldn't let me. It didn't give me any problems, just a blank black screen. (Almost as if the MBR had a problem)
So I took an old XP cd and tried to get into the recovery console to fix the MBR, however after the boot cd "detected hardware configuration" it dropped me to a blank screen again.

Ok.. so I'll go through the process and install a boot manager on hda.. that should fix the MBR problem.. so I booted into Fedora again, and instead of moving forward, it froze at a blank screen again shortly after the GUI was about to load.

I quickly disconnected the hdb drive and tried booting with just the hda in there. Still the same problem.

I took out the hda and backed up the data on another computer (all the data was there and in tact). I ran recovery console on THAT computer and selected the slave drive as the default windows and used the FIXMBR and FIXBOOT tools on the drive. Usually this fixes most MBR problems for me. Formatted the drive to NTFS again (not the quick way) and popped it into the other box. I hoped to see an error about no OS or something about having nothing to boot from, but instead the same problem happened again.

When I get home, I'll probably try making the hdb drive master and the hda slave.. if I can at least get into the linux or windows boot cd, I MIGHT be able to install windows onto the hda drive.

If someone's experienced this before or knows what I'm talking about.. and how to fix this.. please give me a hint.

It does sound like an MBR problem, so maybe someone can recommend a good MBR editing utility and how it can benefit me in this situation?

Thanks for the help

Last edited by Poet; 09-01-2005 at 12:53 PM.
 
Old 09-01-2005, 01:13 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Use rescue disk. Slax or Knoppix. Try low level formatting . Use cfdisk for that and remove all partitions altogether from drive with damaged MBR. Don't forget to write the partition table at the end
 
Old 09-01-2005, 05:35 PM   #3
Poet
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandriva, Slackware, Suse, Fedora Core, Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Tried that, but I still have the same problem. Formatting went well, and it's partitioned correctly.. still the same problem though.

I'll try a few more things, but I'm quickly running out of ideas.

EDIT: Alright.. problem fixed, but not quite fixed the way I imagined it to be..

The MBR on the hda is scrap.. No matter how many times I write a new one, it still says that it's invalid.

What I did, was take the hdb drive and made it the master.. the hda drive became the slave. Popped in a boot disk and it loaded great! So it WAS the MBR on the hda that was messing it up. Still don't know why it's not working.

So I tried a new install, and selected the hda (now hdb) as the primary installation drive.... and it seemed to work great. Formatted correctly and installed the files correctly. As soon as I reset the system to complete the installation same problem. Thusly, the MBR wasn't fixed for some reason.

I went back again and installed on the new hda (old hdb drive) and it works great. The other drive works nicely as a slave with no OS on it, but as soon as you try to boot to it, no luck.

I'm still looking for a nice way to edit that MBR if possible to figure out what's wrong or to reset it so that I can go back to using my 200GB as the primary instead of the 80GB I'm using now.

Last edited by Poet; 09-01-2005 at 07:12 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read only Harddisk problem novkhan Linux - Hardware 2 11-05-2005 09:57 PM
harddisk and mouse problem sadun SUSE / openSUSE 1 07-16-2005 05:34 AM
Problem in partitioning harddisk penguinDigital Linux - Software 4 05-09-2004 11:29 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM
format harddisk problem andihp Linux - General 1 07-09-2003 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:51 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
Open Source Consulting | Domain Registration