Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
|
 |
|
07-17-2007, 02:24 PM
|
#76
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
07-17-2007, 02:25 PM
|
#77
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
07-17-2007, 02:26 PM
|
#78
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
07-17-2007, 02:29 PM
|
#79
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
07-17-2007, 02:30 PM
|
#80
|
Member
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137
Original Poster
Rep:
|
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!

|
|
|
07-17-2007, 02:34 PM
|
#81
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
So now windows starts?
I don't know why you would want to reload everything; we can get linux just about immediately.
|
|
|
07-17-2007, 02:38 PM
|
#82
|
Member
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137
Original Poster
Rep:
|
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)?
|
|
|
07-17-2007, 02:40 PM
|
#83
|
Member
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137
Original Poster
Rep:
|
... and it mounted automatically! I didn't even click anything after doing the changes to the hex information!
|
|
|
07-17-2007, 02:48 PM
|
#84
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
07-17-2007, 02:49 PM
|
#85
|
Member
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137
Original Poster
Rep:
|
XP doesn't boot. The same error.
So what should I do now, then?
|
|
|
07-17-2007, 02:51 PM
|
#86
|
Member
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137
Original Poster
Rep:
|
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...
|
|
|
07-17-2007, 02:58 PM
|
#87
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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?
|
|
|
07-17-2007, 03:00 PM
|
#88
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
07-17-2007, 03:02 PM
|
#89
|
Member
Registered: Jul 2007
Distribution: Ubuntu
Posts: 137
Original Poster
Rep:
|
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. 
|
|
|
07-17-2007, 03:07 PM
|
#90
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
Have at it. Just make sure you install XP first and put it in a primary partition, preferably hda1.
|
|
|
All times are GMT -5. The time now is 11:00 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
|
|