Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange GRUB booting problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cadex
n00b
n00b


Joined: 16 Mar 2005
Posts: 14

PostPosted: Thu Jun 11, 2009 7:30 pm    Post subject: Strange GRUB booting problem Reply with quote

Hello,
I'm currently having a really strange problem on one of my PCs. A few days ago I made a fresh Gentoo AMD64 install on that machine (using the ~amd64 keyword).
I was first using gentoo-sources-2.6.29-r?, but then I installed vanilla-sources-2.6.30-rc8 because 2.6.30 makes it possible to use accelerated 2D graphics on my graphics card.
Today I synced my portage tree and made the usual emerge --update --deep --newuse world, which (among KDE 4.2.4 and a few other packages) got me gentoo-sources-2.6.30. So I created a new kernel, using the 2.6.30-rc8 config file, running "make oldconfig", and then compiling and installing the kernel using "make && make modules_install && make install" - just like I did for years.

But for some reason GRUB does not boot my new kernel. It doesn't even print an error message or something, it just prints the data of the kernel image (something like "[Linux-bzImage, setup=0x2c00, size=0x2a20a0]") and then the PC hangs and I need to push the reset button.
First I thought it was a problem with the new kernel. But meanwhile I suppose the problem has to do with GRUB, my filesystem or something, because there is something strange I just don't understand:

I can still boot my system when I use the old 2.6.30-rc8 kernel image, for example by entering the following commands into the GRUB shell:
Code:
root (hd0,1)
kernel /boot/vmlinuz-2.6.30-rc8 root=/dev/sda2 ro
boot

But when I make a simple copy of that kernel image
Code:
cp /boot/vmlinuz-2.6.30-rc8 /boot/vmlinuz-2.6.30-test

I can not boot the copy! I even checked the MD5 hashes of both files, they're the same - but I can only boot the original kernel image file, not the copy.

I have no seperate boot-partition, and the filesystem is JFS, in case that's of any interest. I tried to copy my system over to another hard disk with seperate boot / swap / root-partitions (boot and root partition using JFS), but it didn't make any difference.
I also tried to re-emerge grub, install grub to the MBR again, but it didn't help.

Someone have any idea what the problem might be?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Jun 12, 2009 1:17 am    Post subject: Re: Strange GRUB booting problem Reply with quote

Cadex wrote:
But when I make a simple copy of that kernel image
Code:
cp /boot/vmlinuz-2.6.30-rc8 /boot/vmlinuz-2.6.30-test

I can not boot the copy! I even checked the MD5 hashes of both files, they're the same - but I can only boot the original kernel image file, not the copy.

This is really strange. It sounds to me like a filesystem problem.

Have you tried copying your kernel(s) to a partition that is not JFS, and then booting from there ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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