Re: Fwd: Boot problem with Kernel Package kernels
On Tuesday 01 September 2009 04:50:45 Arthur Barlow wrote:
> ---------- Forwarded message ----------
> From: Arthur Barlow <arthurbarlow@gmail.com>
> Date: Mon, Aug 31, 2009 at 12:56 PM
> Subject: Boot problem with Kernel Package kernels
> To: debian-user@debian.org
>
>
> I'm been using Debian for over a decade now, and it's always been my
> practice to build new kernel with the "kernel-package" software that is
> part of Debian's toolkit. I"m noticed over the last few months that all
> kernels I try to build will not boot and throw a "kernel panic." The
> message is as follows:
>
> No filesystem could mount root, tried:
> Kenel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(0,0)
>
> My grub menu.lst looks like this:
>
> title Debian GNU/Linux, kernel 2.6.30
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.30 root=/dev/hda1 ro
>
> title Debian GNU/Linux, kernel 2.6.30 (single-user mode)
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.30 root=/dev/hda1 ro single
>
> title Debian GNU/Linux, kernel 2.6.26-2-686
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro
> initrd /boot/initrd.img-2.6.26-2-686
>
> title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro single
> initrd /boot/initrd.img-2.6.26-2-686
>
> You can see I do not build an "initrd" image, but I've never had to in the
> past. Thanks for any suggestions.
>
> Art
Hello
May be this is about your problem: http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=523835 ?
If it is true, you can
comment following string in /etc/kernel/postinst.d/initramfs-tools:
# kernel-package passes an extra arg; hack to not run under kernel-package
[ -z "$2" ] || exit 0
or
after installing your kernel package run
update-initramfs -c -k <your_kernel_version>
dpkg-reconfigure <your_kernel_package_name>
for updating bootloader.
Hope this help
mertress
Reply to: