LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-04-2006, 04:28 PM   #1
Dark_Master
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
Question GRUB Error 26: Disk Read Error (using grub4dos and ubuntu)


Hey there everyone, in short, my problem is the following, I have XP installed on a partition (c and ubuntu installed on another partition (it was installed b4 XP) I tried using grub4dos and initiating it from the boot.ini, the GRUB worked fine but the when it tries loading ubuntu it gives me an error message -> Error 26: Disk Read Error
So what should I do?
 
Old 11-05-2006, 09:08 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
consider using a linux bootloader that comes with your distro

lilo or grub should be there....read my signature if you prefer grub
 
Old 11-06-2006, 04:35 PM   #3
Dark_Master
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I dun think it would work either (its grub BTW), coz I could access it with the ubuntu recovery mode and still got the same error when I tried loading with it!
 
Old 11-07-2006, 07:20 AM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
ok try the troubleshooter....or post what partitions you have for linux.

now might be a good time to download a live cd such as knoppix ?
 
Old 11-18-2006, 11:21 PM   #5
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
Quote:
Originally Posted by Dark_Master
Hey there everyone, in short, my problem is the following, I have XP installed on a partition (c and ubuntu installed on another partition (it was installed b4 XP) I tried using grub4dos and initiating it from the boot.ini, the GRUB worked fine but the when it tries loading ubuntu it gives me an error message -> Error 26: Disk Read Error
So what should I do?
Google is leading me to this page. Thanks for using grub4dos.

Disk Read Error: Possible cause: the file you are trying to access is located after 1024 cylinder of the disk, and the BIOS does not support EBIOS functions (sometimes called LBA), or, you encountered a real disk I/O error.

Copy the file to another place that BIOS can access, and try again.
 
Old 02-22-2007, 07:24 AM   #6
frosh
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by tinybit
Google is leading me to this page. Thanks for using grub4dos.

Disk Read Error: Possible cause: the file you are trying to access is located after 1024 cylinder of the disk, and the BIOS does not support EBIOS functions (sometimes called LBA), or, you encountered a real disk I/O error.

Copy the file to another place that BIOS can access, and try again.

try removing the line "savedefault" from bootconfig,
or delete the line manually while in boot menu
(push "e"; worked for me)

I guess, writing back the default boot configuration fails.

frosh
 
Old 02-23-2007, 04:29 PM   #7
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
frosh.....has grub worked b4....its not likely to be a bios issue...grub supports LBA and cylinders beyond 1024 for long time.
cheers

2) But now that I read the op again it struck me that linux was on it then xp installed and therefore the xp bootloader NTLDR and that leads to more questions
a) Could the op say if xp put into the first partition that may have been the /boot partition for linux?
b) has the op read my tutorial on how to use partition swapping on how to use grub to boot a non-first partition microsoft ?
c) or the link to use image of the grub - stage 1 file which is the bootini technique similar to the grub4dos way I suspect?
d) did the op use any partition tool including MS to resize b4 installing ms?

3) the reasoning is I am now thinking that either ms overwrote the booting files or the partition table was altered
 
Old 02-24-2007, 06:04 AM   #8
frosh
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by aus9
frosh.....has grub worked b4....its not likely to be a bios issue...grub supports LBA and cylinders beyond 1024 for long time.
cheers

2) But now that I read the op again it struck me that linux was on it then xp installed and therefore the xp bootloader NTLDR and that leads to more questions
a) Could the op say if xp put into the first partition that may have been the /boot partition for linux?
b) has the op read my tutorial on how to use partition swapping on how to use grub to boot a non-first partition microsoft ?
c) or the link to use image of the grub - stage 1 file which is the bootini technique similar to the grub4dos way I suspect?
d) did the op use any partition tool including MS to resize b4 installing ms?

3) the reasoning is I am now thinking that either ms overwrote the booting files or the partition table was altered
Yep, ubuntu 6.06LT worked b4, until I did the recent update. Here is my partition and boot scheme:
sda1 (80GB) winxp
sda5 (20GB) reiser
I have installed
NTLDR - mbr
(XP - XP safe - wingrub)
and
GRUB - bootsect 5
(ubuntu - ubuntu safe - NTLDR)

basically I can boot from NTLDR to GRUB and back by menu, before OS comes up
wingrub just boots up bootsector 5 with GRUB via chainloader and vice versa.
I stumbled across a comment in the menu.lst, not to use "savdefault", there's some trouble with reiser
hope thet helps,

frosh

Last edited by frosh; 02-24-2007 at 06:14 AM.
 
Old 02-24-2007, 06:35 AM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I think the problem here is what the author of Grub4Dos (tinybit) has stated.

The OP used NTLDR to boot.

It boots up, as an alternative to XP, Grub4Dos which is a Dos embedded with Grub. That embedded Grub has a limitation with 1024 cylinders because it is inside a Dos. The normal GNU/Grub on the other hand has no such limitation. The OP was hoping to use Grub4Dos to launch Ubuntu.

The cures I see are

(a) Restore Ubuntu's Grub back to the MBR. Edit its Grub's menu.lst to dual boot XP.

(b) Restore Ubuntu's Grub in its root partition. Copy its Grub's first 512 bytes (of the root partition) into the XP's "C" drive. Edit NTLRD's boot.ini to dual-boot Ubuntu.

(c) May be wingrub can overcome the problem experienced by Grub4Dos.

Both ways should wok fine.

For route (a) check the Task B4 of the last link in my signature.

For route (b) Check the Task D2 and Task E4 of the same link.

For route (c) check Grub4Dos web site to download WinGrub.

Last edited by saikee; 02-24-2007 at 06:37 AM.
 
Old 02-24-2007, 08:12 PM   #10
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
I agree with all of saikee's wise words but would spruik that nornal grub is a better option due to its abililty to be used in command mode if its stage 1 file is in the mbr as per my troubleshooter link or saikee's excellent posts.

Naturally the op is free to choose whatever they like...good luck
 
Old 02-25-2007, 04:53 AM   #11
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I don't think my words are wise and I do make mistakes from time to time.

What I try to do in many occasions, as in here, is to make connection between various posters' contributions to highlight the simiarilarities and differences, in a hope that we can all understand the problem better and focus on finding the solution.
 
Old 02-25-2007, 07:42 AM   #12
stevod333
Member
 
Registered: Mar 2006
Location: Australia
Distribution: SUSE 10.2
Posts: 47

Rep: Reputation: 15
Installed Linux Before Windows.....

As a previous reply suggested, it's quite likely that Windows overwrote some part of GRUB, as it typically does. NOTE: Always install Windows before Linux.

I don't know anything about this GRUB4DOS, but have had ALOT of troubleshooting experience with regular GRUB - my main problem was running two seperate drives.

My suggestion would be to reinstall Ubuntu in a repair or upgrade mode if it has it (I don't use Ubuntu - hate it... GO SUSE!).

Reinstalling or repairing the bootloader from the Ubuntu installer should give you a nice clean GRUB install that Windows hasn't messed with, and if it is smart enough, should automatically give you Windows as a boot option.

Best of luck.
 
  


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
Disk read error RFoy30 Linux - Newbie 7 01-17-2006 12:42 PM
Disk read error joeslomp Slackware 3 02-02-2005 02:15 PM
GRUB Error 25: Disk Read Error haertig Linux - Software 6 01-08-2005 01:22 PM
Grub - Error 25: Disk read error torham Linux - Software 6 12-13-2004 10:29 PM
Disk read error? hbbtstar Linux - Newbie 0 10-18-2004 12:12 PM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration