LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-02-2006, 12:30 PM   #1
Dave Lohran
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Rep: Reputation: 0
GRUB Error 5


I have my partitions set up like so:
hda:
hda1: Windows XP
hdb:
hdb1: NTFS
hdb2: Linux
hdb3: Swap

When I installed Ubuntu on hdb2, it installed Grub, and Grub will not boot. It says GRUB error 5.
I've had a similar problem with LILO on Slack with the same partition setup before, but I don't remember how I fixed it
Thanks
 
Old 05-02-2006, 12:36 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
5 : "Disk geometry error"

This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).

Post your menu.lst and maybe someone can help you. Or browse through Just Booting Tips and you may be able to salvage it yourself (the guy who wrote this boots 100+ OS's with grub...)
 
Old 05-02-2006, 01:38 PM   #3
Dave Lohran
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Not sure about that booting tips thing. Should I note that the second drive is 200gb and the first is 60gb?
I'm thinking maybe I just need to repair the XP bootloader, copy my stuff off and then reinstall. I could reorganize the partitions more effectively anyway.
I can't post the menu.lst, cause it's upstairs and the ubuntu doesn't have internet access yet.
 
Old 05-02-2006, 01:44 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You should be able to fix this. Do you have a Live CD like Knoppix? If so, I would try Task G on the just booting tips. It should help you find the kernel image name and initrd to get it to boot directly.
 
Old 05-02-2006, 02:05 PM   #5
Dave Lohran
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Okay, now I have a problem. I launched my XP cd, did the fixboot, fixmbr thing, and now XP will not pick up my second harddrive. HELP!
Also, is it worth noting that GRUB has been installed on the second hdd too? How can I remove that?

Last edited by Dave Lohran; 05-02-2006 at 02:08 PM.
 
Old 05-02-2006, 08:24 PM   #6
Dave Lohran
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I recovered my partition table. No prob.
 
  


Reply



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
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 06:34 PM
GRUB Section2 load error, partition error. Ryle Linux - General 1 06-27-2004 02:55 PM
GRUB error? DriveReady SeekComplete DataRequest Error sth Linux - Hardware 3 02-26-2003 05:10 PM

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

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