Question

XP + Linux Dual-Booting Problem... Error in MBR AND Overlapping Drives

Asked by: bloodrazor

I was helping a friend try out Linux for the first time... (I have only being using Linux on-off for 2 months).

He has a Compaq PC (with a recovery partition), running Windows XP Home SP2.
I installed Mandrake Linux 10.0 on it:-
1) Installed Norton PartitionMagic 8, used it to resize his ~250GB HD to ~240GB. (Leaving 10GB free for Linux).
2) Installed Mandrake Linux. (8.5GB as /, 1.5GB Swap, as he has 1GB RAM)
3) Problem with Linux, bottom and top line (taskbars?) are missing, top can be made visible by the cursor being ran over it (and stays visible after this). Glitches on desktop. (Wrong colour, corrects on being 'ran over' by cursor, and messes up again). Unusable. (After log off, log back on, after resolution change, any known problems here?)...
4) Being a long-term Windows user, i decided to format it (literally), using Acronis PartionExpert (PartitionMagic brought up loads of error messages, finally deciding it couldn't find the drive letters, and refused to open), but the Lilo bootloader with all the options remained (to a now non-existant Linux partition...)

He would like me to reinstall Linux, however, Mandrake Setup cannot find any free space (despite the 10GB formatted in step 4, at end of drive), the setup is also finding problems with the MBR and threatening to delete all data on all partitions. (It also claims the recovery partition, and the Windows partition to be overlapping)
I have read about using FIXMBR, but my friend does not want to lose his recovery partition (It automatically installs Windows and all drivers related to his hardware). I am not certain on how the Compaq recovery partitions work...
I CAN boot into Windows still...

Thank you for your time.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-04-01 at 14:24:32ID21373553
Tags

partionexpert

Topics

Operating Systems Miscellaneous

,

Linux Distributions

Participating Experts
2
Points
175
Comments
4

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Mandrake Installation
    I just downloaded mandrake linux off the web. It's in .iso format and I burned it to a CD. How do I start the installation? Thanks.
  2. partition unseen by mandrake install
    I boot from my second 4gib slave drive There is currently a 2gib partition for win2k (installed ) and an extended for the rest The Mandrake Installation sees my first disk partitions but complians he cannot figure the second disk (and maps it as empty) How do I make the inst...
  3. MBR and Partition on HDD changed
    I left my computer for a few hours, came back and Norton said my MBR had been changed, asked if I wanted to fix it. I said yes. Windows (98) freaked out a bit (3-4 blue screens). So I told it to shut down. When it came back up, my 80gig maxtor was now a 20gig drive. Prev...
  4. Convert MBR to GPT partition/resize GPT partition
    Hi, I'm looking for a way to a) Convert a 2 TB NTFS MBR partition to a GPT partition without having to empty the partition first (as I understand, Windows can only perform the conversion if the partition is empty) b) Resize a 2 TB GPT partition to 3 or 4 TB All this on the...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ridPosted on 2005-04-01 at 22:15:08ID: 13686721

The problem may be the use of third party drive tools.

Normally, a Linux installation (Fedora Core, SuSE) will offer to resize the existing windows partition at install time and those tools run very well, AFAIK. The Linux install will include a boot loader (usually GRUB) that handles the dual-boot situation.

You'll have to defrag the hard drive in windows before doing this, I think, to leave some useable empty space for the Linux partition(s).

I think you should be able to restore windows by using tools like "fixmbr" and/or "fixboot" if you can't boot windows.

If you can boot to windows, do a defrag and then try to load Linux, using whatever tools for disk management comes with the distro. I can recommend the SuSE personal 9.1 distro for just getting a taste of Linux, if that is what this is about.

Doing some kind of backup of important data is a matter of course in these cases. I wouldn't ever try anything like this without having a fresh backup lying around.
/RID

 

by: GinEricPosted on 2005-04-02 at 23:15:48ID: 13690807

First, get to XP and Disk Manager via Administrative Tools | Computer Management | Disk management.

If the 10g partition is really there and formatted properly, it will show up as an unknown partition.  If XP can see this partition as any other type, Windows has complete control of it.

Third Party tools don't really know enough about both Operating Systems to do their jobs seamlessly.

What you should have done was to format it with Disk Manager in Windows, after creating it somehow, as FAT and then simply deleted it.

Thereafter, you let Linux install take care of the Linux Partition.  By the way, didn't you also need a small swap partition?

Compaq has a special key to find out the recovery partition, I forget which one, but it's in Compaq docs and at Compaq site.  The Compaq backup partition is sacred, unless you really know what you're doing and have all of the required Compaq install and fix disks, now in CD form.

Mandrake can't find the space because it is a Windows space.  Windows should never ever be able to seen any Linux partition, with the one exception perhaps of ZipSlack.  Windows will try to write to a partition that it has no knowledge of and thus corrupt it.  Which is basically why while you can maybe repartition with magic and others, you can't then define the partition type as Linux.  You need to take the extra steps of of deleting the partition, reformatting FAT, then deleting it from Windows Disk Manager.

You should also be able to boot with the boot disk for Mandrake, if you have one, and if the partition is dead meat, it will tell you so.  If it can boot to it, it will probably have to fsck, but the next boot to Windows will just corrupt it again.

Lilo is apparently now in your MBR instead of NT [yes, XP is just NT with a new name and version].

However, Windows keeps copies of its original MBR and partitioning tables at mid volume and end of drive.   It can also check on these for restores, etc.. That may be why it thinks the partitions are overlapping, and, fixmbr will change everything.

You need to really get down to backing up the files he needs first, however you can do that.  I don't suggest using standard backup, but try instead to copy the files as files to another computer hopefully on a home network.  Then get them to a CDR or DVDR.

You will need the Compaq Install disks, etc., if you run into problems, and will most likely need the XP install CD's.

Compaq initializes the pcmcia type modem and ethernet card slots.  You may lose them if you don't have the Compaq install and/or repair disks.

Tell us what Disk Manager says about your disk:  how many partitions, types, any unknown partition spaces, where they are on the disk, beginning, middle, end, and what does Windows say the complete disk size is?

 

by: bloodrazorPosted on 2005-04-03 at 10:33:17ID: 13692308

Thank you for your replies.

The situation has since been resolved, by the following method:
Compaq recovery was used to put the system back to it's factory condition. (No important files were present, so it was an easy decision to make, this time...)
Acronis PartionExpert was used (It doesn't throw wobblies, unlike Norton's product), to resize Windows from 250GB (not actual space, but the supposéd capacity of the drive), to 200GB.
Mandrake was setup, to use all the space availible, and a (overly large) swap partition was created. (AKA: Successful install).

And my friend did all this, by himself, without any more of my 'help'! (Which although usually technically sound, has terrible luck).

And yes GinEric, we were using swap space, i quote myself, '8.5GB as /, 1.5GB Swap'.

One more thing, if anyone cares to answer, through the countless reinstalls of Mandrake, he would sometimes find that he could get onto the internet, and sometimes, not, despite setting it up the same each time. Can anyone shed any light on this? (LAN connected via SpeedTouch 510)

 

by: GinEricPosted on 2005-04-03 at 11:14:04ID: 13692447

Well, thanks bloodrazor

The thing I almost said was "I hope he makes humane, sane, and reasonable partition sizes."  Often, people just leave one giant glob partition somewhere, usually the OS partition.  I cannot figure out why any computer expert would think this is a sane approach.  Linux usually tells you to make a partition for Linux, whatever - 10 even 20 gig on a full install which is about 5 gig for all the Linux goodies, and perhaps a 1 gig swap, depending on RAM size.  Thereafter, what is the point of a 200 gig partition?  This is what makes no real sense, even two 100 gig partitions make more "common sense."  If you think about it, you have a place where you can copy system critical stuff.  I have four Linux partitions and four Windows partitions on the same machine.  Because I have exact copies of certain Operating Systems, which, in the event of complete collapse, allows me to simply copy the structure and boot right back to the Operating System that wouldn't boot.  There actually is no faster recovery method.

About Mandrake not finding the Internet: there could be hundreds of reasons, most likely it is because he has a dynamic IP that is not getting re-leased [as in 're' and 'leased' a new IP].

By the way, if he has a complete Linux install, 5 gig, he's going to run out of space, yes, even in Linux.  It might take a few months, but Linux is so good at some things, like serving, that most people start downloading and mirroring web site download directories and before you know it, boing!

As an example, one Microsoft Symbol debugging program takes up 1 gig.  Linux itself is about a 5 gig ftp site.  While Linux can be made quite small, services change all of that.  You can, of course, put all of those on your own mirror drive off the main Linux Operating System partition, but that would mean you need another Linux partition from the start.

See why planning is pertinent?  Most gurus even use on big fat partition, this is just not common sense, one severe crash and all 250 gig is gone.

Multiple partitions from the start.  More than a few big corporations thought that was very good advice.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...