Re: please help about etch



On Fri, 2007.11.30 16:22, chloe K wrote:
2/ I follow the link
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html to compile
the kernel. 2.6.18

final step dpkg -i ../linux-image-2.6.18_custom.1.0_i386.deb is ok too

When i boot up the new kernel, it said

cannot open root device "hda3" or unknow-block(0,0)
please append a correct "root"=boot option
kernel panic

I only change one to support large memory, other remains unchange
What wrong I did?

It seems that you did not use the --initrd option of make-kpkg, which will
cause an initrd to be created when the kernel package is installed (and grub
will add the initrd line).

For this custom kernel you've already built and installed, you should be able
to run "update-initramfs -ck 2.6.18" (You may need the "_custom.1.0" here too)
and then "update-grub" to fix the problem.

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: booting from ISO image on HD?
    ... >> through customized initrd files for each one. ... > between the loopback device and the underlying file (the iso image). ... I have to insmod the loop kernel module(e.g. ... how can you boot it from an initrd??? ...
    (comp.os.linux.misc)
  • Re: fsck fails during boot with 2.6.9-34.0.1.EL kernel because root filesystem is already rw mou
    ... I think there was a little fault in building the new initrd. ... The mount-command of the init-script is wrong and makes confusing, e.g.: first the root-filesystem must mount read/write, it accepts. ... It looks like in the early stage of the booting, when the kernel is using the initrd to load the ... I still do not understand why in my new initrd file, with the new kernel, the root filesystem is ...
    (RedHat)
  • Re: 2.6.26-rc5-mm1
    ... In my case it turns out to be gcov patches - in which I'm interested ... initrd overwrites kernel: When kernel and initrd are loaded to static ... minimal memory configuration any more. ...
    (Linux-Kernel)
  • Re: problem compiling kernel
    ... installing them in the grub boot menu, and then, now, the boot crashes do ... the boot logs of my working kernel, I could see that RAID was as modules. ... perhaps replace it and recreate initrd. ...
    (Debian-User)
  • Re: booting from ISO image on HD?
    ... I'm not going to write the pivot root script, ... > through customized initrd files for each one. ... I have to insmod the loop kernel module(e.g. ... The idea is that either you build what you need to boot into your ...
    (comp.os.linux.misc)