LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 05-05-2012, 12:44 AM   #1
mmtt22
Member
 
Registered: Oct 2011
Posts: 55

Rep: Reputation: Disabled
Exclamation 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!
 
Old 05-05-2012, 06:50 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 05-05-2012, 06:58 PM   #3
mmtt22
Member
 
Registered: Oct 2011
Posts: 55

Original Poster
Rep: Reputation: Disabled
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!
 
Old 05-05-2012, 08:34 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,934

Rep: Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300
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/
 
Old 05-05-2012, 08:39 PM   #5
mmtt22
Member
 
Registered: Oct 2011
Posts: 55

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-06-2012, 10:13 AM   #6
mmtt22
Member
 
Registered: Oct 2011
Posts: 55

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-06-2012, 01:03 PM   #7
mmtt22
Member
 
Registered: Oct 2011
Posts: 55

Original Poster
Rep: Reputation: Disabled
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.
Attached Files
File Type: txt RESULTS.txt (2.8 KB, 13 views)

Last edited by mmtt22; 05-06-2012 at 01:05 PM.
 
Old 05-06-2012, 01:44 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,934

Rep: Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300Reputation: 2300
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.
 
Old 05-06-2012, 01:58 PM   #9
mmtt22
Member
 
Registered: Oct 2011
Posts: 55

Original Poster
Rep: Reputation: Disabled
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.
Attached Files
File Type: txt RESULTS2.txt (9.8 KB, 13 views)
 
Old 05-18-2012, 02:23 PM   #10
BJEagle67
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
XP multiboot on single disc multipartitioned

Don't think XP supports this - you need separate physical disc's
 
Old 05-18-2012, 11:51 PM   #11
mmtt22
Member
 
Registered: Oct 2011
Posts: 55

Original Poster
Rep: Reputation: Disabled
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.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After installation I get, Error 25: Disk read error, Press any key to continue ... mataitsane Linux - Newbie 5 06-06-2012 10:45 AM
Disk Read Error with Dual Boot Sled 10 & XP highroller_100 Linux - Newbie 6 10-04-2006 05:08 PM
crazy boot troubles "disk read error" dave_blob Linux - Software 6 06-28-2004 03:28 PM
GRUB read error with dual boot with XP gatekeepa Linux - Newbie 1 06-14-2003 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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