Bug#584499: Setting up grub-pc hangs forever

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Fri Feb 3 13:48:32 UTC 2012


tag 584499 fixed-upstream
thanks
On 04.06.2010 05:41, Tom Epperly wrote:
> Package: grub-pc
> Version: 1.98+20100527-2
> Severity: normal
>
> faerun:/home/tepperly# dpkg --configure -a
> Setting up grub-pc (1.98+20100527-2) ...
> ^Cdpkg: error processing grub-pc (--configure):
>   subprocess installed post-installation script killed by signal (Interrupt)
> aErrors were encountered while processing:
>   grub-pc
> pfaerun:/home/tepperly#
>
> I left this running for a few hours, and I eventually had to do a
> Control-C to stop it.
>
> Here is what pstree -ap said:
>    ├─gnome-terminal,2927
>    │   ├─gnome-pty-helpe,2928
>    │   ├─tcsh,2929
>    │   │   └─su,12917
>    │   │       └─bash,12925
>    │   │           └─apt-get,13268 dist-upgrade -u
>    │   │               └─dpkg,27238 --status-fd 13 --configure ...
>    │   │                   └─frontend,2630 -w /usr/share/debconf/frontend...
>    │   │                       └─grub-pc.postins,2654 -e ...
>    │   │                           └─grub-pc.postins,2764 -e ...
>    │   │                               ├─grub-mkdevicema,2765 -m -
>    │   │                               ├─sed,2766 -e ...
>    │   │                               ├─sed,2768 -e s/,$//g;s/,/, /g
>    │   │                               └─tr,2767 \\n ,
>
>
> -- Package-specific info:
>
> *********************** BEGIN /proc/mounts
> /dev/disk/by-uuid/aef84499-eb62-43e0-8049-59816e2af6ed / jfs rw,relatime 0 0
> /dev/sda7 /home jfs rw,relatime 0 0
> /dev/sda6 /tmp jfs rw,noatime 0 0
> /dev/sda3 /usr jfs rw,noatime 0 0
> /dev/sda5 /var jfs rw,relatime 0 0
> *********************** END /proc/mounts
>
> *********************** BEGIN /boot/grub/device.map
> (hd0)	/dev/sda
> *********************** END /boot/grub/device.map
>
> *********************** BEGIN /boot/grub/grub.cfg
> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by /usr/sbin/grub-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> #
>
> ### BEGIN /etc/grub.d/00_header ###
> if [ -s $prefix/grubenv ]; then
>    load_env
> fi
> set default="0"
> if [ ${prev_saved_entry} ]; then
>    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} ]; then
>      saved_entry=${chosen}
>      save_env saved_entry
>    fi
> }
> insmod msdos
> insmod jfs
> set root='(hd0,3)'
> search --no-floppy --fs-uuid --set 2f319828-78c8-46d3-9301-9a1fffc82dac
> if loadfont /share/grub/unicode.pf2 ; then
>    set gfxmode=640x480
>    insmod gfxterm
>    insmod vbe
>    if terminal_output gfxterm ; then true ; else
>      # For backward compatibility with versions of terminal.mod that don't
>      # understand terminal_output
>      terminal gfxterm
>    fi
> fi
> insmod msdos
> insmod jfs
> set root='(hd0,1)'
> search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> set locale_dir=($root)/boot/grub/locale
> set lang=en
> insmod gettext
> set timeout=5
> ### END /etc/grub.d/00_header ###
>
> ### BEGIN /etc/grub.d/05_debian_theme ###
> insmod msdos
> insmod jfs
> set root='(hd0,1)'
> search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> insmod png
> if background_image /boot/grub/moreblue-orbit-grub.png ; then
>    set color_normal=black/black
>    set color_highlight=magenta/black
> else
>    set menu_color_normal=cyan/blue
>    set menu_color_highlight=white/blue
> fi
> ### END /etc/grub.d/05_debian_theme ###
>
> ### BEGIN /etc/grub.d/10_linux ###
> menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-trunk-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro  quiet
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-trunk-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-trunk-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro single
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-trunk-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.32-5-amd64" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-5-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro  quiet
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-5-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-5-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro single
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-5-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.32-3-amd64" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-3-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-3-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro  quiet
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-3-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.32-3-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-3-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-3-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro single
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-3-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.32-2-amd64" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-2-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-2-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro  quiet
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-2-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.32-2-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.32-2-amd64 ...
> 	linux	/boot/vmlinuz-2.6.32-2-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro single
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.32-2-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.31-1-amd64 ...
> 	linux	/boot/vmlinuz-2.6.31-1-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro  quiet
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.31-1-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.31-1-amd64 ...
> 	linux	/boot/vmlinuz-2.6.31-1-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro single
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.31-1-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.30-2-amd64 ...
> 	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro  quiet
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.30-2-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.30-2-amd64 ...
> 	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro single
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.30-2-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.30-1-amd64" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.30-1-amd64 ...
> 	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro  quiet
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.30-1-amd64
> }
> menuentry "Debian GNU/Linux, with Linux 2.6.30-1-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
> 	insmod msdos
> 	insmod jfs
> 	set root='(hd0,1)'
> 	search --no-floppy --fs-uuid --set aef84499-eb62-43e0-8049-59816e2af6ed
> 	echo	Loading Linux 2.6.30-1-amd64 ...
> 	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=aef84499-eb62-43e0-8049-59816e2af6ed ro single
> 	echo	Loading initial ramdisk ...
> 	initrd	/boot/initrd.img-2.6.30-1-amd64
> }
> ### END /etc/grub.d/10_linux ###
>
> ### BEGIN /etc/grub.d/30_os-prober ###
> ### END /etc/grub.d/30_os-prober ###
>
> ### BEGIN /etc/grub.d/40_custom ###
> # This file provides an easy way to add custom menu entries.  Simply type the
> # menu entries you want to add after this comment.  Be careful not to change
> # the 'exec tail' line above.
> ### END /etc/grub.d/40_custom ###
> *********************** END /boot/grub/grub.cfg
>
> -- System Information:
> Debian Release: squeeze/sid
>    APT prefers unstable
>    APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages grub-pc depends on:
> ii  debconf [debconf-2.0]    1.5.32          Debian configuration management sy
> ii  grub-common              1.98+20100527-2 GRand Unified Bootloader, version
> ii  libc6                    2.11.1-2        Embedded GNU C Library: Shared lib
> ii  libdevmapper1.02.1       2:1.02.47-1     The Linux Kernel Device Mapper use
> ii  ucf                      3.0025          Update Configuration File: preserv
>
> grub-pc recommends no packages.
>
> Versions of packages grub-pc suggests:
> ii  desktop-base                  5.0.5      common files for the Debian Deskto
>
> -- debconf information:
>    grub2/kfreebsd_cmdline:
> * grub2/linux_cmdline:
> * grub-pc/chainload_from_menu.lst: true
>    grub-pc/kopt_extracted: true
>    grub-pc/postrm_purge_boot_grub: false
>    grub2/kfreebsd_cmdline_default: quiet
> * grub2/linux_cmdline_default: quiet
> * grub-pc/install_devices: /dev/sda
>
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko






More information about the Pkg-grub-devel mailing list