LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-17-2007, 02:24 PM   #76
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116

Quote:
Originally Posted by 512upload
I did not try any fdisk /mbr command: just the fixmbr as told before.

About:

"Again, did this configuration ever successfully boot into XP? In other words, should we assume that hda1 is indeed an extended partition and the system is on hda5?"

I believe so, regarding the fact that I was able to mount the xp partition when it was as hda5 while using the live cd just as I am doing now...
In this case, make the change I just posted and see if it boots.

While you are making that change, here is another one to change (no reason for that linux partition to be hidden):

change
Code:
ff ff 93 fe ff ff 7f 17 60 09 7f 56 21 09 00 fe
to

Code:
ff ff 83 fe ff ff 7f 17 60 09 7f 56 21 09 00 fe
This will un-hide the linux partition. This line is the next one down from the line you'll be changing to make hda1 extended.
 
Old 07-17-2007, 02:25 PM   #77
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by 512upload
You must have forgot something, because the two lines of code you just wrote down are exactly equal.
I caught that and fixed it, but evidently you and I cross-posted. The correction is in that post.
 
Old 07-17-2007, 02:26 PM   #78
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
One further change. When hda1 is changed to extended, it can't be bootable.

So in that line where you changed 00 to 80, change it back to 00.
 
Old 07-17-2007, 02:29 PM   #79
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
I think I know what happened.

The hda1 partition identifier was an illegal 0x15, rather than a legal 0x05. When you hide a partition, the tool you were using adds 0x10 to the value of the partition identifier to specify it as hidden. So you hid the extended partition (which is a no-no) and the result was as we've seen.
 
Old 07-17-2007, 02:30 PM   #80
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
OMG YOU SAVED ME THANK YOU VERY VERY VERY MUCH
I CAN NOW MOUNT THE WINDOWS PARTITION!

omg I'm so happy!

I believe it's easier for me to just copy the files from the partition and reinstall both Windows XP and Ubuntu from that order with new fresh partitions so I no longer get these kind of problems... But if you have a better idea, please shoot it!

 
Old 07-17-2007, 02:34 PM   #81
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
So now windows starts?

I don't know why you would want to reload everything; we can get linux just about immediately.
 
Old 07-17-2007, 02:38 PM   #82
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jiml8
So now windows starts?

I don't know why you would want to reload everything; we can get linux just about immediately.
What do I have to do now?

Should I try to boot both systems (I haven't tried any new boot after I was so happy that my Windows partition could be mounted)?
 
Old 07-17-2007, 02:40 PM   #83
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
... and it mounted automatically! I didn't even click anything after doing the changes to the hex information!
 
Old 07-17-2007, 02:48 PM   #84
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by 512upload
What do I have to do now?

Should I try to boot both systems (I haven't tried any new boot after I was so happy that my Windows partition could be mounted)?
Linux won't boot. If Xp is happy with being in an extended partition, it should boot.

If XP boots OK, then let's get Linux going. Even if XP won't boot, I can show you how to fix it, but you'll need enough hard drive space to store an image of the entire XP partition.
 
Old 07-17-2007, 02:49 PM   #85
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
XP doesn't boot. The same error.
So what should I do now, then?
 
Old 07-17-2007, 02:51 PM   #86
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
If your solution is about saving the windows xp partition, then maybe I should just copy the files to my external device and reinstall both Windows XP and Ubuntu from scratch, because I have no free 75GB space...
 
Old 07-17-2007, 02:58 PM   #87
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
I was going to show you how to save the WinXP installation, but if you don't have the HD space then you can't do it.

In that case, just reinstall everything - so long as you don't mind losing all your settings.

The alternative is to go buy the HD space you need. How big is your external drive?
 
Old 07-17-2007, 03:00 PM   #88
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Actually, having an extended partition at the front of the partition table is a bad idea anyway. Reloading the system with XP in a primary partition and the extended partition as hda4 (not hda1) is a vastly superior choice for a lot of reasons. I was going to show you how to save the XP installation AND convert hda1 to a primary partition, but the procedure is a bit complicated and will take a lot of time since imaging a 75 gig partition takes awhile.
 
Old 07-17-2007, 03:02 PM   #89
512upload
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 16
80GB, but many of them occupied. And the other computer with 80GB has only 5GB free... Don't matter. I will copy the windows xp files to my external device and then reinstall everything.

Thank you very, very much for your help.
If you have anything else to say, then please do it. I will do all this tomorrow, because I have other things to do now. But I will post here something after I do this so as to tell you if everything got fine or what.
 
Old 07-17-2007, 03:07 PM   #90
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Have at it. Just make sure you install XP first and put it in a primary partition, preferably hda1.
 
  


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
Dual Boot w/ WinXP Pro, Windows wont boot. bobbyj99 Linux - General 2 04-20-2006 02:27 PM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 02:29 PM
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-09-2005 12:59 AM
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 04:00 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:00 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