public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Kernel Linux 2.6.25-r7 with gentoo patches fail to boot
@ 2008-08-09 14:03 Yoav Luft
  2008-08-09 14:14 ` [gentoo-user] " Nikos Chantziaras
  2008-08-09 14:20 ` Nikos Chantziaras
  0 siblings, 2 replies; 4+ messages in thread
From: Yoav Luft @ 2008-08-09 14:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

Good afternoon,
I have used my weekend to compile a new kernel, but to my dismay the new
kernel does not boot. All I get is a black screen, and nothing happens.
I compiled the kernel like this:
eselect kernel set (the new sources)
cd /usr/src/linux
make oldconfig
(answering various options about new features)
make menuconfig (haven't changed much, only made sure that all the modules I
new were necessary were included).
make && make modules_install
mount /boot
copied the kernel, reconfigurated grub, and rebooted.

So, probably, I have set something in kernel incredibly wrong, but I don't
know what, or how to find out. My last working kernel is 2.6.25-r7:
yoav@yoavhost ~ $ uname -a
Linux yoavhost 2.6.25-gentoo-r6 #1 SMP Sat Jul 5 22:33:03 IDT 2008 x86_64
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux

how can I find out what I did wrong?

[-- Attachment #2: Type: text/html, Size: 964 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: Kernel Linux 2.6.25-r7 with gentoo patches fail to boot
  2008-08-09 14:03 [gentoo-user] Kernel Linux 2.6.25-r7 with gentoo patches fail to boot Yoav Luft
@ 2008-08-09 14:14 ` Nikos Chantziaras
  2008-08-09 14:20 ` Nikos Chantziaras
  1 sibling, 0 replies; 4+ messages in thread
From: Nikos Chantziaras @ 2008-08-09 14:14 UTC (permalink / raw
  To: gentoo-user

Yoav Luft wrote:
> Good afternoon,
> I have used my weekend to compile a new kernel, but to my dismay the new 
> kernel does not boot. All I get is a black screen, and nothing happens.
> I compiled the kernel like this:
> eselect kernel set (the new sources)
> cd /usr/src/linux
> make oldconfig
> (answering various options about new features)

You forgot to copy your current configuration.  *Before* doing "make 
oldconfig" you to either do:

   zcat /proc/config.gz > .config

or:

   cp ../linux-yourpreviouskernel/.config .

and *then* run "make oldconfig"




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: Kernel Linux 2.6.25-r7 with gentoo patches fail to boot
  2008-08-09 14:03 [gentoo-user] Kernel Linux 2.6.25-r7 with gentoo patches fail to boot Yoav Luft
  2008-08-09 14:14 ` [gentoo-user] " Nikos Chantziaras
@ 2008-08-09 14:20 ` Nikos Chantziaras
  2008-08-10 15:43   ` Yoav Luft
  1 sibling, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2008-08-09 14:20 UTC (permalink / raw
  To: gentoo-user

Yoav Luft wrote:
> mount /boot
> copied the kernel, reconfigurated grub, and rebooted.

You can also emerge debianutils (I think it's installed by default, but 
check first) which will enable you to do a "make install" instead of 
copying the files by hand to /boot.  It will name the files correctly 
(vmlinuz symlink to vmlinuz-version along with System.map and config).




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: Kernel Linux 2.6.25-r7 with gentoo patches fail to boot
  2008-08-09 14:20 ` Nikos Chantziaras
@ 2008-08-10 15:43   ` Yoav Luft
  0 siblings, 0 replies; 4+ messages in thread
From: Yoav Luft @ 2008-08-10 15:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

Thanks, it works!

On Sat, Aug 9, 2008 at 5:20 PM, Nikos Chantziaras <realnc@arcor.de> wrote:

> Yoav Luft wrote:
>
>> mount /boot
>> copied the kernel, reconfigurated grub, and rebooted.
>>
>
> You can also emerge debianutils (I think it's installed by default, but
> check first) which will enable you to do a "make install" instead of copying
> the files by hand to /boot.  It will name the files correctly (vmlinuz
> symlink to vmlinuz-version along with System.map and config).
>
>
>

[-- Attachment #2: Type: text/html, Size: 955 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-10 15:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09 14:03 [gentoo-user] Kernel Linux 2.6.25-r7 with gentoo patches fail to boot Yoav Luft
2008-08-09 14:14 ` [gentoo-user] " Nikos Chantziaras
2008-08-09 14:20 ` Nikos Chantziaras
2008-08-10 15:43   ` Yoav Luft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox