View previous topic :: View next topic |
Author |
Message |
deepspace9 Apprentice


Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Jan 24, 2006 9:12 pm Post subject: Grub error 15 after new kernel install |
|
|
I just installed a new kernel with genkernel, and after a reboot grub reports: Error 15. I don't even get to choose a kernel, it just stalls immediately after startup. I use dmraid on a Sata mirror and this had always worked out perfectly... _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55459 Location: 56N 3W
|
Posted: Tue Jan 24, 2006 9:19 pm Post subject: |
|
|
deepspace9,
Error 15 means that grub is looking for a file and can't find it.
Since you don't even get the menu, its probably in the splashimage line in grub.conf
Has nano wrapped it because you omitted the -w option ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
deepspace9 Apprentice


Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Jan 24, 2006 9:40 pm Post subject: |
|
|
hmm, I did actually add a splashimage with the last genkernel, so it could be...
And don't curse... I use vi to edit my files
I'll check, but I don't think there is a splashimage line in my grub.conf...
Even if so, i think it's a bad thing that a missing spashimage would be able to crash grub...
edit: nope, no splashimage line to be found anywhere... _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55459 Location: 56N 3W
|
Posted: Tue Jan 24, 2006 9:45 pm Post subject: |
|
|
deepspace9,
Post your grub.conf and the output of please _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
deepspace9 Apprentice


Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Jan 24, 2006 9:49 pm Post subject: |
|
|
Code: |
total 10066
-rw-r--r-- 1 root root 1254811 Dec 21 19:59 System.map-genkernel-x86_64-2.6.14-gentoo-r2
-rw-r--r-- 1 root root 1280225 Jan 24 21:10 System.map-genkernel-x86_64-2.6.15-gentoo-r1
drwxr-xr-x 2 root root 1024 Jan 24 23:46 grub
-rw-r--r-- 1 root root 1091694 Dec 21 19:59 initramfs-genkernel-x86_64-2.6.14-gentoo-r2
-rw-r--r-- 1 root root 1096782 Jan 24 21:12 initrd-genkernel-x86_64-2.6.15-gentoo-r1
-rw-r--r-- 1 root root 2827935 Dec 21 19:59 kernel-genkernel-x86_64-2.6.14-gentoo-r2
-rw-r--r-- 1 root root 2688545 Jan 24 21:10 kernel-genkernel-x86_64-2.6.15-gentoo-r1
drwx------ 2 root root 12288 Nov 21 21:45 lost+found
drwxr-xr-x 2 root root 1024 Dec 20 22:00 memtest86plus
|
Code: |
default 0
timeout 10
title=Gentoo Linux (2.6.15-gentoo-r1)
root(hd0,2)
kernel /boot/kernel-genkernel-x86_64-2.6.15-gentoo-r1 root=/dev/ram0 init=/linuxrx ramdisk=8192 real_root=/dev/mapper/nvidia_jjadibec3 card=2 udev dodmraid
initrd /boot/initrd-genkernel-x86_64-2.6.15-gentoo-r1
title=Gentoo x86_64 2.6.14-gentoo-r2
root(hd0,2)
kernel /boot/kernel-genkernel-x86_64-2.6.14-gentoo-r2 root=/dev/ram0 init=/linuxrx ramdisk=8192 real_root=/dev/mapper/nvidia_jjadibec3 card=2 udev dodmraid
initrd /boot/initramfs-genkernel-x86_64-2.6.14-gentoo-r2
title=memtest86plus
root(hd0,2)
kernel /boot/memtest86plus/memtest.bin
|
Edit:
fidsk as well:
Code: |
Disk /dev/mapper/nvidia_jjadibec: 250.0 GB, 250059348992 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/nvidia_jjadibec1 * 1 50 401593+ 83 Linux
/dev/mapper/nvidia_jjadibec2 51 2048 16048935 82 Linux swap / Solaris
/dev/mapper/nvidia_jjadibec3 2049 30401 227745472+ 83 Linux
|
_________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
 |
deepspace9 Apprentice


Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Jan 24, 2006 9:59 pm Post subject: |
|
|
Well, now i'm so far that I get the menu again, but grub can't find any of the files  _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55459 Location: 56N 3W
|
Posted: Tue Jan 24, 2006 10:04 pm Post subject: |
|
|
deepspace9,
Since you have a real /boot partition, to use /boot in the kernel and initrd path names you need the symbolic link
Code: | lrwxrwxrwx 1 root root 1 Dec 14 2004 boot -> . | which is missing from your listing.
The root(hd0,2) statement already points to /boot, so you are saying the kernel is at
/boot/boot/<filename>
That symlink makes the same wording in grub.conf work regardless of /boot being a directory or a real partition.
I trust your kernel lines are only wrapped in the post ?
They need to be one long line. You can drop the udev now too. devfs was removed in 2.6.13.
========edit
Why root(hd0,2) ? thats the 3rd partition _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Last edited by NeddySeagoon on Tue Jan 24, 2006 10:08 pm; edited 1 time in total |
|
Back to top |
|
 |
deepspace9 Apprentice


Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Jan 24, 2006 10:07 pm Post subject: |
|
|
Well, got it working again, by substituting /boot/ with (hd0,0)..
No it only leaves me with a new kernel that will not mount the root fs ... I guess I'll manage that on my own
Well, thanks for all the help!
Yes, they kernel lines are one large line
Edit:
why root(hd0,2).. I realy have no clue It worked before.. so I guess I left it this way... This grub stuff isn't really very clearly explained anywhere you know... Al you find is bits and peases, but never the whole cake. _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence )
Last edited by deepspace9 on Tue Jan 24, 2006 10:15 pm; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55459 Location: 56N 3W
|
Posted: Tue Jan 24, 2006 10:12 pm Post subject: |
|
|
deepspace9,
Ah - you are confused by the two different meanings of the term root as found in grub.conf.
When its used in root (hdX,Y) it points to the partition where grub will find your kernel.
Used on the kernel command line in root= or real_root= it tells the kernel where to find its root filesystem.
They are two very different things. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
deepspace9 Apprentice


Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Jan 24, 2006 10:31 pm Post subject: |
|
|
Yes, grub always confuses me
Oh well, it's working again no, I guess I'll open a thread for the new kernel that fails to boot.... More strange stuff
Thanks for the help though! _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
 |
|