Thread: 12.10 upgrade - grub failure "alloc magic is broken"
after 12.04->12.10 upgrade grub shows only
on selection (even old windows partition).code:alloc magic broken @ 0xbd9f9639: aborted. press key exit.
guess related full disk encryption because other 3 ubuntu systems have upgraded without issues.
able boot liveusb 12.10 , access encrypted data using manual http://askubuntu.com/questions/59974...g-installation
found thread http://ubuntuforums.org/showthread.p...c+magic+broken , did apt-get update && apt-get upgrade updated firefox , didn't fix packages.
saved grub.cfg using liveusb
i don't know if there wrong in config related encrypted disk.code:# # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub # ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; set have_grubenv=true load_env fi set default="0" if [ x"${feature_menuentry_id}" = xy ]; menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; saved_entry="${chosen}" save_env saved_entry fi } function recordfail { set recordfail=1 if [ -n "${have_grubenv}" ]; if [ -z "${boot_once}" ]; save_env recordfail; fi; fi } function load_video { if [ x$feature_all_video_module = xy ]; insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi font="/grub/unicode.pf2" fi if loadfont $font ; set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_us insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ]; set timeout=-1 else set timeout=5 fi ### end /etc/grub.d/00_header ### ### begin /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="${1}" if [ "${1}" = "keep" ]; set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ "${recordfail}" != 1 ]; if [ -e ${prefix}/gfxblacklist.txt ]; if hwmatch ${prefix}/gfxblacklist.txt 3; if [ ${match} = 0 ]; set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode if [ "${linux_gfx_mode}" != "text" ]; load_video; fi menuentry 'ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi linux /vmlinuz-3.5.0-17-generic root=/dev/mapper/vol1-main ro initrd /initrd.img-3.5.0-17-generic } submenu 'advanced options ubuntu' $menuentry_id_option 'gnulinux-advanced-f3b54443-ca0d-4c11-b296-5614783e7ecf' { menuentry 'ubuntu, linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.5.0-17-generic ...' linux /vmlinuz-3.5.0-17-generic root=/dev/mapper/vol1-main ro echo 'loading initial ramdisk ...' initrd /initrd.img-3.5.0-17-generic } menuentry 'ubuntu, linux 3.5.0-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.5.0-17-generic ...' linux /vmlinuz-3.5.0-17-generic root=/dev/mapper/vol1-main ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /initrd.img-3.5.0-17-generic } menuentry 'ubuntu, linux 3.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-24-generic-advanced-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.2.0-24-generic ...' linux /vmlinuz-3.2.0-24-generic root=/dev/mapper/vol1-main ro echo 'loading initial ramdisk ...' initrd /initrd.img-3.2.0-24-generic } menuentry 'ubuntu, linux 3.2.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-24-generic-recovery-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.2.0-24-generic ...' linux /vmlinuz-3.2.0-24-generic root=/dev/mapper/vol1-main ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /initrd.img-3.2.0-24-generic } menuentry 'ubuntu, linux 3.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.0.0-14-generic-advanced-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.0.0-14-generic ...' linux /vmlinuz-3.0.0-14-generic root=/dev/mapper/vol1-main ro echo 'loading initial ramdisk ...' initrd /initrd.img-3.0.0-14-generic } menuentry 'ubuntu, linux 3.0.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.0.0-14-generic-recovery-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.0.0-14-generic ...' linux /vmlinuz-3.0.0-14-generic root=/dev/mapper/vol1-main ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /initrd.img-3.0.0-14-generic } menuentry 'ubuntu, linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.0.0-12-generic-advanced-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.0.0-12-generic ...' linux /vmlinuz-3.0.0-12-generic root=/dev/mapper/vol1-main ro echo 'loading initial ramdisk ...' initrd /initrd.img-3.0.0-12-generic } menuentry 'ubuntu, linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.0.0-12-generic-recovery-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 3.0.0-12-generic ...' linux /vmlinuz-3.0.0-12-generic root=/dev/mapper/vol1-main ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /initrd.img-3.0.0-12-generic } menuentry 'ubuntu, linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.38-11-generic-advanced-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 2.6.38-11-generic ...' linux /vmlinuz-2.6.38-11-generic root=/dev/mapper/vol1-main ro echo 'loading initial ramdisk ...' initrd /initrd.img-2.6.38-11-generic } menuentry 'ubuntu, linux 2.6.38-11-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.38-11-generic-recovery-f3b54443-ca0d-4c11-b296-5614783e7ecf' { recordfail insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi echo 'loading linux 2.6.38-11-generic ...' linux /vmlinuz-2.6.38-11-generic root=/dev/mapper/vol1-main ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /initrd.img-2.6.38-11-generic } } ### end /etc/grub.d/10_linux ### ### begin /etc/grub.d/20_linux_xen ### ### end /etc/grub.d/20_linux_xen ### ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" { insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi linux16 /memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 7811de65-930c-4615-b2a6-b2e76b2a1b68 else search --no-floppy --fs-uuid --set=root 7811de65-930c-4615-b2a6-b2e76b2a1b68 fi linux16 /memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ### ### begin /etc/grub.d/30_os-prober ### menuentry 'windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-b2e6ad3de6ad02a9' { insmod part_msdos insmod ntfs set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 b2e6ad3de6ad02a9 else search --no-floppy --fs-uuid --set=root b2e6ad3de6ad02a9 fi chainloader +1 } ### end /etc/grub.d/30_os-prober ### ### begin /etc/grub.d/30_uefi-firmware ### ### end /etc/grub.d/30_uefi-firmware ### ### begin /etc/grub.d/40_custom ### # file provides easy way add custom menu entries. type # menu entries want add after comment. careful not change # 'exec tail' line above. ### end /etc/grub.d/40_custom ### ### begin /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; source $prefix/custom.cfg; fi ### end /etc/grub.d/41_custom ###
information gathering/debugging/fixing steps?
if search "alloc magic broken" find alot of posts/threads solutions
http://ubuntuforums.org/showthread.php?t=2001993
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [all variants] 12.10 upgrade - grub failure "alloc magic is broken"
Ubuntu
Comments
Post a Comment