View previous topic :: View next topic |
Author |
Message |
Cadex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Mar 2005 Posts: 14
|
Posted: Thu Jun 11, 2009 7:30 pm Post subject: Strange GRUB booting problem |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Jun 12, 2009 1:17 am Post subject: Re: Strange GRUB booting problem |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|