Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
|
 |
05-05-2012, 12:44 AM
|
#1
|
Member
Registered: Oct 2011
Posts: 55
Rep: 
|
Dual Boot Disk Read Error
So I have done many ubuntu installs in the past successfully, but today I installed it and had a problem. Here is the scenario:
Had a 500gb Windows XP partition that I shrunk by 52gb. I then made a 50gb ext4 partition and a 2gb swap partition, and installed ubuntu. installing went well and ubuntu works perfect. But the problem is when I try to boot into windows XP I get the following:
Quote:
Disk read error
Press CTRL ALT DEL to restart
|
Now I believe the shrinking of the partition had something to do with this problem. I can still access all of the files on the Windows partition from Ubuntu. I have tried booting the Windows XP recovery environment and running CHKDSK /P /R, FIXBOOT, and FIXMBR in attempt to get windows to boot (fix ubuntu bootloader later), but it didnt work. I then deleted the ext4 and swap partitions and resized windows to original size and ran CHKDSK /P /R, FIXBOOT, and FIXMBR (to fix bootloader), But I still get the Disk Read Error.
Any help is greatly appreciated as this is somebody else's computer and the rest of the users want to use windows.
Thanks in advance!
|
|
|
05-05-2012, 06:50 PM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
When you shrunk the windows partition, was it from the front end or the back end of the partition. If it was the front end, then the windows partition number has changed, and your grub config file is incorrect. Try running update-grub from ubuntu, which will run a script called os-prober to detect OSs and rewrite the grub config file, with the changed partition number for windows. Then try booting windows again.
|
|
|
05-05-2012, 06:58 PM
|
#3
|
Member
Registered: Oct 2011
Posts: 55
Original Poster
Rep: 
|
Thanks for the suggestion! I shrunk the partition from the back, but I tried sudo update-grub. Still the same error. I don't think it's grub because it wont boot even with grub gone and windows bootloader back (well soposedly).
Hope you have some other ideas though!
|
|
|
05-05-2012, 08:34 PM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,432
|
Quote:
But the problem is when I try to boot into windows XP I get the following:
|
Does this happen after you select windows from the Grub boot menu?
In your first post, you indicate you deleted the Ubuntu partition. Did you reinstall it or were you running update-grub from the CD. If so, that won't do anything. If you are using the CD or have reinstalled Ubuntu, go to the site below and download and run the bootinfoscript and post the results.txt file here as it will show detailed information on your boot files and hard drive(s).
http://sourceforge.net/projects/bootinfoscript/
|
|
|
05-05-2012, 08:39 PM
|
#5
|
Member
Registered: Oct 2011
Posts: 55
Original Poster
Rep: 
|
Edit: the error occurs after selecting the entry in grub and also when grub is gone, so it is something o do with windows.
I had actually run sudo update-grub before deleting the partition. I just didn't mention it at first cause I didn't think it was important. I will try running the script as soon as I get the chance and post back.
Last edited by mmtt22; 05-05-2012 at 08:42 PM.
|
|
|
05-06-2012, 10:13 AM
|
#6
|
Member
Registered: Oct 2011
Posts: 55
Original Poster
Rep: 
|
Edit: even more embarrassing. The person I was trying to help didn't know what the front or back was and told me it was front, when we DID shrink it from the back. You can ignore what I said below.
Ok... Well this is a bit embarrassing. According to the person I have been assisting, the partition was actually drunk from the front (instead of the back like what was sopposed to happen). I was telling him what to do over VOIP so that detail got missed. So sorry for the confusion. Hope this makes it easier to solve!
Last edited by mmtt22; 05-06-2012 at 10:32 AM.
Reason: False information
|
|
|
05-06-2012, 01:03 PM
|
#7
|
Member
Registered: Oct 2011
Posts: 55
Original Poster
Rep: 
|
So I have the results for the boot info script and attached the file. Hope it helps!
Edit: to clear some things up that may be confusing, the computer had a WUBI install of ubuntu that wasnt removed before the full install.
Last edited by mmtt22; 05-06-2012 at 01:05 PM.
|
|
|
05-06-2012, 01:44 PM
|
#8
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,432
|
Are you doing this yourself or having your friend do it and report to you? The information you are posting in regard to the problem does not coincide with the information in the bootinfoscript which shows windows in the master boot record and only one partition, windows with a wubi install in the same partition. Note the last line in the bootinfoscript. Also, the results.txt file you posted only contains about 10% of the information normally seen in the output. Try running it again.
|
|
|
05-06-2012, 01:58 PM
|
#9
|
Member
Registered: Oct 2011
Posts: 55
Original Poster
Rep: 
|
I am having my friend do it and report back to me. Keep in mind that the Ubuntu and swap partitions have been removed in attempt to fix windows first, we are aiming for a full install but the previously installed WUBI is still there. We ran the script again and you were right, there is a lot more information now.
|
|
|
05-18-2012, 02:23 PM
|
#10
|
LQ Newbie
Registered: Nov 2011
Posts: 2
Rep: 
|
XP multiboot on single disc multipartitioned
Don't think XP supports this - you need separate physical disc's
|
|
|
05-18-2012, 11:51 PM
|
#11
|
Member
Registered: Oct 2011
Posts: 55
Original Poster
Rep: 
|
Sure does. I've done it many times before. Since this thread was given up on, we copied files off and formatted to reinstall. Works perfect now.
|
|
|
All times are GMT -5. The time now is 09:46 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
|
|