Bug#717177: grub-pc: impossible to have a working grub or a working kernel

cosimo morelli lordofenuplas at gmail.com
Wed Jul 17 14:10:52 UTC 2013


Package: grub-pc
Version: 2.00-15
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

mew version and same shit

E: Sub-process /usr/bin/dpkg returned an error code (1)
Errore durante l'installazione di un pacchetto. Tentativo di ripristino:
Configurazione di linux-image-3.9-1-686-pae (3.9.8-1)...
Running depmod.
vmlinuz(/boot/vmlinuz-3.9-1-686-pae
) points to /boot/vmlinuz-3.9-1-686-pae
 (/boot/vmlinuz-3.9-1-686-pae) -- doing nothing at /var/lib/dpkg/info/linux-
image-3.9-1-686-pae.postinst line 268.
initrd.img(/boot/initrd.img-3.9-1-686-pae
) points to /boot/initrd.img-3.9-1-686-pae
 (/boot/initrd.img-3.9-1-686-pae) -- doing nothing at /var/lib/dpkg/info/linux-
image-3.9-1-686-pae.postinst line 268.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.9-1-686-pae
/boot/vmlinuz-3.9-1-686-pae
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.9-1-686-pae
/boot/vmlinuz-3.9-1-686-pae
update-initramfs: Generating /boot/initrd.img-3.9-1-686-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.9-1-686-pae
/boot/vmlinuz-3.9-1-686-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.9-1-686-pae
/boot/vmlinuz-3.9-1-686-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.9-1-686-pae...
P: Writing config for /boot/vmlinuz-3.8-2-686-pae...
P: Writing config for /boot/vmlinuz-3.8-1-686-pae...
P: Writing config for /boot/vmlinuz-3.2.0-4-686-pae...
P: Writing config for Windows 7 (loader) on /dev/sda1...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.9-1-686-pae
/boot/vmlinuz-3.9-1-686-pae
Creazione di grub.cfg...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-
image-3.9-1-686-pae.postinst line 696.
dpkg: errore nell'elaborare linux-image-3.9-1-686-pae (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato
di errore 1
Configurazione di grub-pc (2.00-15)...
Installazione completata, nessun errore segnalato.
Creazione di grub.cfg...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
dpkg: errore nell'elaborare grub-pc (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato
di errore 1
dpkg: problemi con le dipendenze impediscono la configurazione di linux-
image-686-pae:
 linux-image-686-pae dipende da linux-image-3.9-1-686-pae; comunque:
  Il pacchetto linux-image-3.9-1-686-pae non è ancora configurato.

dpkg: errore nell'elaborare linux-image-686-pae (--configure):
 problemi con le dipendenze - lasciato non configurato
Si sono verificati degli errori nell'elaborazione:
 linux-image-3.9-1-686-pae
 grub-pc
 linux-image-686-pae



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/136c4dd3-50f0-403b-b91a-84457ef2051f / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda2 /mnt/windows fuseblk rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-TOSHIBA_MK5076GSX_61DTD1C4B
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1366x768
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos3)'
  search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
  set locale_dir=($root)/boot/grub/locale
  set lang=it_IT
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/#00_header# ###

### 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
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1366x768
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos3)'
  search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
  set locale_dir=($root)/boot/grub/locale
  set lang=it_IT
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
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/07_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/07_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, con Linux 3.8-1-686-pae' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	echo	'Caricamento Linux 3.8-1-686-pae...'
	linux	/boot/vmlinuz-3.8-1-686-pae root=UUID=136c4dd3-50f0-403b-b91a-84457ef2051f ro  quiet
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-3.8-1-686-pae
}
menuentry 'Debian GNU/Linux, con Linux 3.8-1-686-pae (modalità ripristino)' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	echo	'Caricamento Linux 3.8-1-686-pae...'
	linux	/boot/vmlinuz-3.8-1-686-pae root=UUID=136c4dd3-50f0-403b-b91a-84457ef2051f ro single 
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-3.8-1-686-pae
}
menuentry 'Debian GNU/Linux, con Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	echo	'Caricamento Linux 3.2.0-4-686-pae...'
	linux	/boot/vmlinuz-3.2.0-4-686-pae root=UUID=136c4dd3-50f0-403b-b91a-84457ef2051f ro  quiet
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-3.2.0-4-686-pae
}
menuentry 'Debian GNU/Linux, con Linux 3.2.0-4-686-pae (modalità ripristino)' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	echo	'Caricamento Linux 3.2.0-4-686-pae...'
	linux	/boot/vmlinuz-3.2.0-4-686-pae root=UUID=136c4dd3-50f0-403b-b91a-84457ef2051f ro single 
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-3.2.0-4-686-pae
}
### 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)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f
	multiboot	/boot/memtest86+_multiboot.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 {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root B0500CB3500C81F8
	chainloader +1
}
### 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.
set gfxpayload=1366x768x24### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Jul 17 16:06 ata-TOSHIBA_MK5076GSX_61DTD1C4B -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 15 07:58 ata-TOSHIBA_MK5076GSX_61DTD1C4B-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 15 07:58 ata-TOSHIBA_MK5076GSX_61DTD1C4B-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 15 07:58 ata-TOSHIBA_MK5076GSX_61DTD1C4B-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 15 07:58 ata-TOSHIBA_MK5076GSX_61DTD1C4B-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 15 07:58 ata-TOSHIBA_MK5076GSX_61DTD1C4B-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jul 15 07:58 ata-hp_CDDVDW_TS-L633R_R82M6GRB610858 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jul 17 16:06 scsi-SATA_TOSHIBA_MK5076G_61DTD1C4B -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 15 07:58 scsi-SATA_TOSHIBA_MK5076G_61DTD1C4B-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 15 07:58 scsi-SATA_TOSHIBA_MK5076G_61DTD1C4B-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 15 07:58 scsi-SATA_TOSHIBA_MK5076G_61DTD1C4B-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 15 07:58 scsi-SATA_TOSHIBA_MK5076G_61DTD1C4B-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 15 07:58 scsi-SATA_TOSHIBA_MK5076G_61DTD1C4B-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jul 17 16:06 wwn-0x500003935b384259 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 15 07:58 wwn-0x500003935b384259-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 15 07:58 wwn-0x500003935b384259-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 15 07:58 wwn-0x500003935b384259-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 15 07:58 wwn-0x500003935b384259-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 15 07:58 wwn-0x500003935b384259-part5 -> ../../sda5
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jul 15 07:58 136c4dd3-50f0-403b-b91a-84457ef2051f -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 15 07:58 1d260b8b-9d6e-4bf6-b7fd-523e7c39da2c -> ../../sda5
lrwxrwxrwx 1 root root 10 Jul 15 07:58 B0500CB3500C81F8 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 15 07:58 FA24106A24102BDF -> ../../sda2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.8-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.50
ii  grub-common            2.00-15
ii  grub-pc-bin            2.00-15
ii  grub2-common           2.00-15
ii  ucf                    3.0027+nmu1

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
  grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub-pc/install_devices_failed: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-TOSHIBA_MK5076GSX_61DTD1C4B
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_disks_changed:
  grub2/linux_cmdline_default: quiet
  grub-pc/mixed_legacy_and_grub2: true



More information about the Pkg-grub-devel mailing list