On Oct 30, 6:50 pm, "poenik...@operamail.com" <poenik...@operamail.com> wrote: > I downloaded the source for kernel version 3.0.4 fromwww.kernel.org. > I then booted to the > Deiban squeeze partition and as superuser, unpacked the kernel source > in one of my own > directories. > > I ran make targets to get what config commands were available. I > installed qt4-dev files from > the Debian squeeze DVD and did make xconfig which gave me a > configuration screen for > the new kernel source. > > I then ploughed through all the options, removing modules where I was > sure I did not have > the relevant hardware. I eventually did make-kpkg clean, then make- > kpkg debian and then > make-kpkg --targets, chose > binary and issued > make-kpkg binary > The kernel was compiled and after much activity, make-kpkg returned me > to the command > line. In the directory above the top of the source tree were a number > of Debian packages > which included linux-image-3.0.4_3.0.4-10.00.Custom_i386.deb which I > installed using > dpkg. grub was run which found the Linux kernels as well as Ubuntu > 11.10. > > I closed down squeeze, rebooted and chose the new 3.0.4 kernel. It > displayed an > error message (kernel panic) to the effect that it could not load the > root fs. > > What have I done wrong? > > I remember not choosing the option for an initramfs. What would be put > in it if I had > chosen that option? > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/50833057-0988-4022-9f24-28b06e0e6...@hj4g2000vbb.googlegroups.com
Here is the screen output for the kernel panic:- ---------------------------------------------------------------------------------------- Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- block(0.0) Pid: 1. comm:swapper Not tainted 3.0.4 #1 Call trace: [<c1224927>] ? panic+0x4d/0x137 [<c1326947>] ? mount_block_root+0x1e6/0x1fa [<c1326151>] ? parse_early_options+0x18/0x18 [<c1326994>] ? mount_root+0x39/0x4d [<c1326151>] ? parse_early_options+0x18/0x18 [<c1326aad>] ? prepare_namespace+0x105/0x135 [<c132623a>] ? kernel_init+0xe9/0xf2 [<c1227036>] ? kernel_thread_helper+0x6/0xd ----------------------------------------------------------------------------------------- The computer locked and only continually pressing the on/off button worked. Any help appreciated. I can upload the .config file, but obviously not to this user group because it is 70KB long! :-) Regards, Sian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/86a460a6-05a2-483b-81ac-bd5c946f1...@a7g2000yqd.googlegroups.com