Annoying Kernel Panic
Karl F. Larsen
klarsen1 at gmail.com
Wed Sep 16 22:34:53 UTC 2009
Dake K. Odzangba wrote:
> Hi,
> I'm having trouble getting rid of an annoying kernel panic.
>
> Here's my /etc/fstab file:
>> proc /proc proc defaults 0 0
>> # / was on /dev/sda1 during installation
>> UUID=81f05ad8-983d-4cbd-86d6-3466a3e8ca4f / ext4 relatime,errors=remount-ro 0 1
>> # swap was on /dev/sda3 during installation
>> UUID=f62c5221-ead9-4db8-a357-3087d7e3de11 none swap sw 0 0
>
> and part of my /boot/grub/menu.lst file
>> title Ubuntu 9.04, kernel 2.6.28-15-generic
>> uuid 81f05ad8-983d-4cbd-86d6-3466a3e8ca4f
>> kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=81f05ad8-983d-4cbd-86d6-3466a3e8ca4f ro quiet splash crashkernel=384M-2G:64M at 16M,2G-:128M at 16M
>> initrd /boot/initrd.img-2.6.28-15-generic
>> quiet
>
> sudo vol_id --uuid /dev/sda1 gives me
>> 81f05ad8-983d-4cbd-86d6-3466a3e8ca4f
>
> I've attached a picture of my monitor when the kernel panics but basically, it says:
>> ACPI: Aborted because invalid compressed format (err=1)
>> RAMDISK: ran out of compressed data
>> invalid compressed format (err=1)
>> Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
>
> but when I delete the
>> crashkernel=384M-2G:64M at 16M,2G-:128M at 16M
>
> and replace
>> root=UUID=81f05ad8-983d-4cbd-86d6-3466a3e8ca4f
>
> with
>> root=/dev/sda1
>
> so that the "kernel" stanza becomes
>> kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/sda1 ro quiet splash
>
> The system boots fine. I'd appreciate any insight.
>
>
> Odzangba
>
> PS: I've also attached the fstab and menu.lst files because I'm probably missing something.
>
I looked at your fstab and it is VERY BAD! You have not done it as it
should be. Here is mine for comparison:
karl at Jaunty:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda9 during installation
UUID=b90a944a-81b4-417d-b481-3f3daf3af809 / ext3
relatime,errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=77cb374a-6349-427e-9b57-ea6776f4a52d none swap sw
0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
# /dev/sda5 /home ext3 defaults 1 2
UUID=40cb6175-3c6e-4a7f-ae57-083cccbbba63 /home ext3 defaults 1 2
So fix up yours and see if the kernal panic goes away.
73 Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
More information about the ubuntu-users
mailing list