vadimk
October 3rd, 2010, 08:43 AM
After updating to new kernel 2.6.32-25 I can't load it from GRUB. Got "Error2: Bad file or Directory type". Old kernel (i.e. .32-24) loads normally. All kernels and initrd.img files are in the same folder: /boot. The root folder has symlinks vmlinuz-> and vmlinuz.old-> to kernels 25- and 24-.
I have tried to setup grub from the scratch and re-build the initial ramdisk - but had no luck. Also executed update-grub utility manually, but only one kernel (from the list) loads normally. Please, help - have no ideas where to look for an error.
Grub - version 0.97
menu.lst file is below:
------------------------------------------------------------------------------------------
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-25-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-25-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro single
initrd /boot/initrd.img-2.6.32-25-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-24-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-24-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro single
initrd /boot/initrd.img-2.6.32-24-generic
title Ubuntu 10.04.1 LTS, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
I have tried to setup grub from the scratch and re-build the initial ramdisk - but had no luck. Also executed update-grub utility manually, but only one kernel (from the list) loads normally. Please, help - have no ideas where to look for an error.
Grub - version 0.97
menu.lst file is below:
------------------------------------------------------------------------------------------
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-25-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-25-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro single
initrd /boot/initrd.img-2.6.32-25-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-24-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-24-generic root=/dev/mapper/isw_dhicfadcee_RigelRAID1 ro single
initrd /boot/initrd.img-2.6.32-24-generic
title Ubuntu 10.04.1 LTS, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin