View previous topic :: View next topic |
Author |
Message |
seaninseattle n00b
Joined: 24 Aug 2007 Posts: 4 Location: Seattle, WA
|
Posted: Sun Aug 26, 2007 8:20 pm Post subject: Help w/ grub errors.. (22 & 13) |
|
|
So, I've got an actual error msg now: 13 on the WinXP Pro boot attempt, and then error # 22 when at.
I have dual SATA 120gb drives in my laptop. I have a HP Pavillion dv9428nr laptop.
Here's the fdisk -l sd*
Table for /dev/SDA
/dev/sda1 - Bootable - 1..40 - 321268+ Blocks - ID 83 - Linux
/dev/sda2 - not bootable - 40..500 - 3694950 Blocks - ID 82 - Linux Swap / Solaris
/dev/sda3 - not bootable - 500..14593 - 113202022 Blocks - ID 83 - Linux
Table for /dev/SDB
/dev/sdb1 - not bootable - 1..14592 - 117210208+ Blocks - ID 7 - NTFS
Here's my Grub.conf file:
timeout 10
default 0
fallback 1
title=Gentoo
kernel (hd0,0)/boot/kernel-2.6.19-gentoo-r5
root (hd0,3)
title=Windows XP Pro
rootnoverify (hd1,0)
chainloader +1
------------------
So, the windows boot attempt is giving an error # 13 saying invalid or unsupported executable format. The linux boot attempt reported error # 22 saying no such partition.
I'm not sure what I should do. Any help would be appreciated. _________________ -- so |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Sun Aug 26, 2007 8:37 pm Post subject: |
|
|
Your windows probably needs to be a bootable partition, and your linux setup is wrong. You're getting confused between what grub sets as a root device and what the kernel sets as a root device. The root device for grub is where it expects to start looking for its files - hd0,0 in your case. The kernel root device needs to be passed in as a parameter using the standard linux format, so /dev/sda3. Try:
Code: |
timeout 10
default 0
fallback 1
title=Gentoo
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.6.19-gentoo-r5 root=/dev/sda3
title=Windows XP Pro
rootnoverify (hd1,0)
chainloader +1
makeactive
|
|
|
Back to top |
|
|
seaninseattle n00b
Joined: 24 Aug 2007 Posts: 4 Location: Seattle, WA
|
Posted: Sun Aug 26, 2007 8:50 pm Post subject: |
|
|
So, I switched the windows partition to bootable, and made the edits to the grub.conf file... and got an Error 11: unrecognized device string. The windows partition is still giving an error 13, unrecognized executable format. _________________ -- so |
|
Back to top |
|
|
ptero Apprentice
Joined: 02 Mar 2007 Posts: 164
|
Posted: Sun Aug 26, 2007 9:51 pm Post subject: |
|
|
err... you don't need the (hd0,0) after kernel. try to remove it and look what will happen.
as for windows... i always saw (and put) makeactive before chainloader +1. i don't know if it matters (probably not), but you can try to do it that way. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|