LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-14-2004, 12:34 AM   #1
carrlane
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat 9.0
Posts: 3

Rep: Reputation: 0
Win XP Install Overwrites MBR and Linux Rescue Fails to Recognize Linux Partitions


Hello and thanks in advance...

I did the purely stupid and upgraded to Win XP from Win 2K without doing my homework. Shame on me...

I have RH 9.0 installed in an extended partition and now of course can't access my linux parititions. I have tried linux rescue from the CD1 of the RH 9.0 disks and it says that it cannot locate any linux partitions. I have used linux rescue before with great success, but this time it doesn't see my linux partitions. When booted into XP, Disk Management shows the Linux partitions still in tact as it usually does as 'healthy' partitions.
I further tried to reinstall linux hoping that disk druid might see the partitions and it gives two warnings as I reach Disk Druid.

"Unable to align partition properly. This probably means that another partitioning tool generated an incorrect partition table, because it didn't have the correct BIOS geometry. It is safe to ignore, but ignoring may cause (fixable) problems with some boot loaders" <ignore><cancel>

I choose <ignore>.

Then...

"The partition table on device hda was unreadable. To create new partitions it must be initialized, causing the loss of ALL DATA on this drive. This operation will override any previous installation choices about which drives to ignore. Would you like to initialize this drive, erasing ALL DATA?"
<yes><no>

I choose <no> and exit the installation.

So, I'd still like to recover these partitions even though I am backed up, out of principle and to learn something about the MBR, partition tables, and techniques for winning under Linux.

Thanks so much.
 
Old 01-14-2004, 12:45 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I understand that you'd like to fix your problem, rather than reinstall. Do you have a copy of Partition Magic? It will recognize the *nix partitions and fix the geometry problems.
 
Old 01-14-2004, 12:45 AM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
did you make a linux boot floppy? you could try booting into linux with that and then reinstall either grub or lilo. if you can't i think you're pretty much hosed and will have to reinstall linux by first going into windows and deleting those partitions from the disk manager thingymabob. then put in your linux install cds and reinstall linux creating/formatting new partitions.
 
Old 01-14-2004, 12:47 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by Chinaman
I understand that you'd like to fix your problem, rather than reinstall. Do you have a copy of Partition Magic? It will recognize the *nix partitions and fix the geometry problems.
highly doubtful. the most partition magic would ever do for me was to say that my linux partitions had errors. fixing them is beyond partition magic's capabilities.
 
Old 01-14-2004, 01:49 AM   #5
carrlane
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat 9.0
Posts: 3

Original Poster
Rep: Reputation: 0
I do have Partition Majic 7.0 (pre-XP) and will give it a try. I also have a boot disk but for some reason it gives:

"SYSLINUX 2.00 2002-10-25 Boot failed"

I think I'm having bad karma.

Does any one know what may have caused the situation in the original post and what actually happened to the partition table?

Any other suggestions on how to recover the partitions, even serious damage control data recovery methods?
 
Old 01-14-2004, 02:05 AM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by carrlane
I do have Partition Majic 7.0 (pre-XP) and will give it a try. I also have a boot disk
Does any one know what may have caused the situation in the original post and what actually happened to the partition table?
well i think it was upgrading to xp. but this is the first where i seen corrupted disk geometry stuff. if you used PM 7 to partition/format your linux partition and didn't reformat that partition when installin linux, then i guess it could be because PM doesn't support ext3 filesystem, which is a journaled filesystem and is more robust than ext2.
 
Old 01-14-2004, 03:55 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
This BIOS geometry problem is not going to be easy to fix. You should Google and read the many available threads concerning this type of issue. Start by searching this string ->
Unable to align partition properly
 
Old 01-14-2004, 04:29 AM   #8
carrlane
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat 9.0
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for all your help. I used Partition Magic. It found some partition overlaps that it was able to fix enough for me to boot into linux and make the 'backup,' exit, and start over.

All is well.
 
Old 01-14-2004, 07:49 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by carrlane
Thanks for all your help. I used Partition Magic. It found some partition overlaps that it was able to fix enough for me to boot into linux and make the 'backup,' exit, and start over.

All is well.
Great! Just in case someone else searches this thread, could you post what version of PM you used, and anything specific that you did that may be helpful to others? Or did you just let PM automatically fix what it stated when it loaded and gave you messages. Thanks.
 
  


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
Configuring boot to recognize other Linux partitions audiorevolution Linux - Newbie 1 05-23-2005 05:18 AM
[b]How do I get Linux to recognize a dos partitions?[/b] Sagar_Indurkhya Slackware 5 09-19-2004 08:06 PM
Help I can't open Win Partitions in Linux otacon 14112 Linux - General 2 04-07-2004 01:12 AM
Linux does not recognize partitions psybertron Linux - Newbie 2 11-28-2003 11:12 PM
Linux 7.2 install fails after setting partitions Michael Linux - Software 2 01-15-2002 08:42 AM


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

Main Menu
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