Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub error 13 (Soleved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
srilliet
n00b
n00b


Joined: 20 Apr 2006
Posts: 40
Location: Calgary

PostPosted: Wed Nov 12, 2008 2:02 am    Post subject: grub error 13 (Soleved) Reply with quote

hay trying to load windows on sdb1.
does any one see anything wrong (besides installing windows ;-) )

here is my fdisk -l
windows is installed on sdb1

my grub config ai as follows

title Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1
-----------------------------------------------------
Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7c8b7c8

Device Boot Start End Blocks Id System
/dev/sda1 1 63 506016 fd Linux raid autodetect
/dev/sda2 64 186 987997+ fd Linux raid autodetect
/dev/sda3 187 2619 19543072+ fd Linux raid autodetect
/dev/sda4 2620 60801 467346915 5 Extended
/dev/sda5 2620 8699 48837568+ fd Linux raid autodetect
/dev/sda6 8700 60801 418509283+ fd Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8c9bb6d

Device Boot Start End Blocks Id System
/dev/sdb1 1 12159 97667136 7 HPFS/NTFS
/dev/sdb2 12160 60801 390716865 83 Linux

Disk /dev/sdc: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x98714747

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 63 506016 fd Linux raid autodetect
/dev/sdc2 64 186 987997+ fd Linux raid autodetect
/dev/sdc3 187 2619 19543072+ fd Linux raid autodetect
/dev/sdc4 2620 60801 467346915 5 Extended
/dev/sdc5 2620 8699 48837568+ fd Linux raid autodetect
/dev/sdc6 8700 60801 418509283+ fd Linux raid autodetect


Last edited by srilliet on Tue Nov 18, 2008 2:17 am; edited 1 time in total
Back to top
View user's profile Send private message
tberer
n00b
n00b


Joined: 17 Feb 2008
Posts: 9

PostPosted: Wed Nov 12, 2008 3:28 am    Post subject: Reply with quote

I am not absolutely sure but I think Windows XP expects to be booted from the first disk. Have a look into the map command: http://www.gnu.org/software/grub/manual/grub.html#DOS_002fWindows
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Wed Nov 12, 2008 3:27 pm    Post subject: Reply with quote

You have the strangest grub.conf that I've ever seen. Grub error 13 means that the type of kernel you are trying to boot is not recognized by grub.
Back to top
View user's profile Send private message
srilliet
n00b
n00b


Joined: 20 Apr 2006
Posts: 40
Location: Calgary

PostPosted: Sun Nov 16, 2008 3:38 am    Post subject: grub Reply with quote

well i moved my linux drives to sdb and sdc and installed windows to sda1 i'm getting the same problem i never had this problem before

here is my full grub listing

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 10
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo (2.6.24.3)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24.3 root=/dev/md3
#sda5

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

and yes i know that root is on hd0,0 and windows is on hd0,0 . my bios is set to load sdb first if i put root on hd1,0 it fails to load gentoo

here is my new fdisk -l listing
Device Boot Start End Blocks Id System
/dev/sda1 * 1 12159 97667136 7 HPFS/NTFS
/dev/sda2 12160 60801 390716865 83 Linux

Disk /dev/sdb: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7c8b7c8

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 63 506016 fd Linux raid autodetect
/dev/sdb2 64 186 987997+ fd Linux raid autodetect
/dev/sdb3 187 2619 19543072+ fd Linux raid autodetect
/dev/sdb4 2620 60801 467346915 5 Extended
/dev/sdb5 2620 8699 48837568+ fd Linux raid autodetect
/dev/sdb6 8700 60801 418509283+ fd Linux raid autodetect

Disk /dev/sdc: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x98714747

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 63 506016 fd Linux raid autodetect
/dev/sdc2 64 186 987997+ fd Linux raid autodetect
/dev/sdc3 187 2619 19543072+ fd Linux raid autodetect
/dev/sdc4 2620 60801 467346915 5 Extended
/dev/sdc5 2620 8699 48837568+ fd Linux raid autodetect
/dev/sdc6 8700 60801 418509283+ fd Linux raid autodetect

the only way i can load windows is to change my boot up in the bios.

should i install grub on mbr of sda ?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Nov 16, 2008 5:37 am    Post subject: Reply with quote

Use this:

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 10
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo (2.6.24.3)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24.3 root=/dev/md3
#sda5

title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1

Windows insists on being (at least in part) on first partition of first drive, map commands above fool it.
Back to top
View user's profile Send private message
srilliet
n00b
n00b


Joined: 20 Apr 2006
Posts: 40
Location: Calgary

PostPosted: Tue Nov 18, 2008 12:17 am    Post subject: grub error 13 (solved) Reply with quote

thanks every one ;-)

its sad i only installed windows to play games that don't run in wine. its funny how bill can program a nitendo and call it windows and make billions on something thats only good for games.

thanks again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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