Am Montag, den 07.09.2009, 12:30 +0200 schrieb Robert Ramiega: > Package: grub-pc > Version: 1.97~beta2-2 > Severity: important > > > While attempting to upgrade grub-pc using aptitude I got: > > Setting up grub-pc (1.97~beta2-2) ... > Installation finished. No error reported. > This is the contents of the device map /boot/grub/device.map. > Check if this is correct or not. If any of the lines is incorrect, > fix it and re-run the script `grub-install'. > > (hd0) /dev/hda > Generating grub.cfg ... > Segmentation fault > dpkg: error processing grub-pc (--configure): > subprocess installed post-installation script returned error exit status 139 > > This is clean install of Debian/SID done a couple of weeks ago with grub-pc > chosen as > default bootloader.
It would be good if you could make a debug compile to get a back trace See the Debian wiki. It should be clear even if it's german, if not then please ask: http://wiki.debian.org/de/GRUB2/Anleitung/DebianPaketVonOriginalQuelltext You can remove all blocks except the first one from the packages you don't need from debian/control so it builds faster. Then change the first line of all files in /etc/grub.d from `#! /bin/sh -e' to `#! /bin/sh -ex' and run `bash -x grub-mkconfig' then you should get the exact grub-probe line which segfaults. Then `gdb grub-probe' `r <arguments>' `bt' -- Felix Zielcke Proud Debian Maintainer -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org