LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-05-2005, 07:03 PM   #1
sagarp
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
grub error 17


i keep getting this error when i'm using grub. error 17. i always get errors when i try to boot to my linux. here is my hd partitioning:

hda:
hda0 - 80gb windows xp

hdb:
hdb1 - 1gb swap
hdb2 - 30gb linux
hdb3 - 130 storage

i've tried with slackware, gentoo, and debian. i always get errors when trying to boot to hdb2. even when i put hdb as my primary with grub or lilo on the MBR there. with grub i get error 17, with lilo i just get L 99 99 99 .... etc. i tried putting hdb into a friends computer and booting it, and it worked fine! i even tried flashing my BIOS and all sorts of things. none of them worked. what's going on here?? why wont it work? i tried removing my hard ware to just the bare minimum and booting and i still got the error. =/

by the way there doesnt ever appear to be anything wrong with my linux itself. i used slackware for about a year just fine, but i had to boot from the slack install disk every time because of these problems i described above.

-sagar pandya

Last edited by sagarp; 08-05-2005 at 09:20 PM.
 
Old 08-06-2005, 03:04 PM   #2
JediDB
Member
 
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131

Rep: Reputation: 16
Hi,

Just a few simple steps first and thats make sure that both your HD's are recognised in the BIOS.

Then, see if your current dist. has an option of re-installing the "grub" like Mepis does.

Hope that helps.

Last edited by JediDB; 08-06-2005 at 03:06 PM.
 
Old 08-06-2005, 03:42 PM   #3
sagarp
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
my hd's are fine. there is an option for reinstalling grub, but i've tried those. i've tried it for slackware, gentoo, and debian so far. here's a copy of my menu.lst:

Code:
default		0
timeout		5
color cyan/blue white/blue

title		Linux
root		(hd1,1)
kernel		/boot/vmlinuz-2.4.27-2-386 root=/dev/hdb2 ro 
initrd		/boot/initrd.img-2.4.27-2-386
savedefault
boot
when i looked at it at first it was saying "root (hd0,1)" and "root=/dev/hda2" but i changed those to teh values above and it still doesnt work right. =/
 
Old 08-07-2005, 02:59 AM   #4
bp12345
Member
 
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104

Rep: Reputation: 15
I think it is because the MBR doesn't point to where grub is. You will need to rebuild the MBR, and maybe grub, too. If Slackware/Gentoo (Debian doesn't) has a 'Repair MBR' option on the boot CD, use it. If not, use a live CD. I'd reccommend UBCD .
This is probably caused by you moving the boot partition, or changing it's number. If you can (from a live CD or Partition Magic) easily undo the partition operations, that might fix it, but you probably can't just move it back to where it was before.
 
Old 08-07-2005, 07:56 PM   #5
sagarp
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
i used the windows xp recovery console and "fixmbr" and "fixboot" on both my hard drives. is that the same as rebuilding my mbr? in any case, it never worked. after grub kept erroring, i tried lilo. it loaded fine without errors, but when i select Linux, it says "EBDA is big; kernel setup stack overlaps lilo second stage." when i select windows from the lilo list, however, it loads fine. somewhere along the line i had used a boot floppy to load linux. i used the slack boot disk to load debian and it loaded fine. the only problem was the kernel mismatch. =/

sagar
 
Old 08-07-2005, 10:38 PM   #6
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Rep: Reputation: 15
not sure if this would help or if you have done so already,
have you checked to make sure lilo and/or grub are pointing to correct kernel image? i'm pretty sure i got a similiar error when i misspelled something and had grub pointing to a kernel that didn't exist
 
  


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
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 - Hardware

All times are GMT -5. The time now is 01:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration