** Attachment added: "The whole grub.cfg file" https://bugs.launchpad.net/bugs/812824/+attachment/2217321/+files/grub.cfg
** Description changed: When I upgrade from kernel 2.6.38-8-generic to 2.6.38-10-generic, the two choices (normal and recovery mode) in the first menu shown by grub2 (or grub-pc) give the following messages: Errore: cannot read the linux header. Errore: you need to load the kernel first. - Of course, I can load version 8, choosing the sub-menu "Previous linux version". But this seems to be a repetitive problem, that happens now and then. + Of course, I can load version 8, choosing the sub-menu "Previous linux version". But this seems to be a repetitive problem, that happens now and then, when installing new kernel versions, after an update or upgrade. The two sections of /boot/grub/grub.cfg related to wrong and correct loading of kernel are very similar: are reported here under, for your reference. menuentry 'Ubuntu, con Linux 2.6.38-10-generic' --class ubuntu --class gnu-linux --class gnu --class os { - recordfail - set gfxpayload=$linux_gfx_mode - insmod part_msdos - insmod ext2 - set root='(/dev/sda,msdos5)' - search --no-floppy --fs-uuid --set=root aa375e4e-322c-41ea-af91-b5d16a425da4 - linux /boot/vmlinuz-2.6.38-10-generic root=UUID=aa375e4e-322c-41ea-af91-b5d16a425da4 ro quiet splash vt.handoff=7 - initrd /boot/initrd.img-2.6.38-10-generic + recordfail + set gfxpayload=$linux_gfx_mode + insmod part_msdos + insmod ext2 + set root='(/dev/sda,msdos5)' + search --no-floppy --fs-uuid --set=root aa375e4e-322c-41ea-af91-b5d16a425da4 + linux /boot/vmlinuz-2.6.38-10-generic root=UUID=aa375e4e-322c-41ea-af91-b5d16a425da4 ro quiet splash vt.handoff=7 + initrd /boot/initrd.img-2.6.38-10-generic } menuentry 'Ubuntu, con Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os { - recordfail - set gfxpayload=$linux_gfx_mode - insmod part_msdos - insmod ext2 - set root='(/dev/sda,msdos5)' - search --no-floppy --fs-uuid --set=root aa375e4e-322c-41ea-af91-b5d16a425da4 - linux /boot/vmlinuz-2.6.38-8-generic root=UUID=aa375e4e-322c-41ea-af91-b5d16a425da4 ro quiet splash vt.handoff=7 - initrd /boot/initrd.img-2.6.38-8-generic + recordfail + set gfxpayload=$linux_gfx_mode + insmod part_msdos + insmod ext2 + set root='(/dev/sda,msdos5)' + search --no-floppy --fs-uuid --set=root aa375e4e-322c-41ea-af91-b5d16a425da4 + linux /boot/vmlinuz-2.6.38-8-generic root=UUID=aa375e4e-322c-41ea-af91-b5d16a425da4 ro quiet splash vt.handoff=7 + initrd /boot/initrd.img-2.6.38-8-generic } Let me know if you need further details. Stefano ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-8-generic 2.6.38-8.42 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: i386 AudioDevicesInUse: - USER PID ACCESS COMMAND - /dev/snd/controlC0: stefano 1356 F.... pulseaudio + USER PID ACCESS COMMAND + /dev/snd/controlC0: stefano 1356 F.... pulseaudio CRDA: Error: [Errno 2] File o directory non esistente Card0.Amixer.info: - Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with ALC202 at irq 10' - Mixer name : 'Realtek ALC202 rev 0' - Components : 'AC97a:414c4740' - Controls : 37 - Simple ctrls : 23 + Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with ALC202 at irq 10' + Mixer name : 'Realtek ALC202 rev 0' + Components : 'AC97a:414c4740' + Controls : 37 + Simple ctrls : 23 CheckboxSubmission: f2037504c71fc3588af7d48c47f1a57e CheckboxSystem: 2954e74ba17fb0e37fc942cd1d9fab4e Date: Tue Jul 19 12:49:52 2011 HibernationDevice: RESUME=UUID=bae8c6a7-1dbc-4982-92ee-617d4a6d4660 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) MachineType: Acer TravelMate 800 PccardctlIdent: - Socket 0: - no product info available - Socket 1: - product info: "O2Micro", "SmartCardBus Reader", "V1.0", "" - manfid: 0xffff, 0x0001 + Socket 0: + no product info available + Socket 1: + product info: "O2Micro", "SmartCardBus Reader", "V1.0", "" + manfid: 0xffff, 0x0001 PccardctlStatus: - Socket 0: - no card - Socket 1: - 5.0V 16-bit PC Card - Subdevice 0 (function 0) [unbound] + Socket 0: + no card + Socket 1: + 5.0V 16-bit PC Card + Subdevice 0 (function 0) [unbound] ProcEnviron: - LANGUAGE=it:en - LANG=it_IT.UTF-8 - SHELL=/bin/bash + LANGUAGE=it:en + LANG=it_IT.UTF-8 + SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=aa375e4e-322c-41ea-af91-b5d16a425da4 ro quiet splash vt.handoff=7 RelatedPackageVersions: - linux-restricted-modules-2.6.38-8-generic N/A - linux-backports-modules-2.6.38-8-generic N/A - linux-firmware 1.52 + linux-restricted-modules-2.6.38-8-generic N/A + linux-backports-modules-2.6.38-8-generic N/A + linux-firmware 1.52 RfKill: - 0: phy0: Wireless LAN - Soft blocked: no - Hard blocked: no + 0: phy0: Wireless LAN + Soft blocked: no + Hard blocked: no SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 03/02/2004 dmi.bios.vendor: ACER dmi.bios.version: 4A20 dmi.board.name: TravelMate 800 dmi.board.vendor: Acer dmi.board.version: Rev 1.0 dmi.chassis.asset.tag: EC2 dmi.chassis.type: 10 dmi.chassis.vendor: Acer dmi.chassis.version: Rev.1 dmi.modalias: dmi:bvnACER:bvr4A20:bd03/02/2004:svnAcer:pnTravelMate800:pvrRev1:rvnAcer:rnTravelMate800:rvrRev1.0:cvnAcer:ct10:cvrRev.1: dmi.product.name: TravelMate 800 dmi.product.version: Rev 1 dmi.sys.vendor: Acer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/812824 Title: Upgrading results in grub2 error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/812824/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs