Package: grub-pc Version: 1.98+20100804-14 Severity: normal I upgraded a system from lenny to squeeze, accepting the chain loading option (Im pretty sure; also seems consistent with debconf setting below). The disk filled during the upgrade, either after or during the grub update (see transcript below). I cleared room and ran dpkg --configure -a. After this dealt with many other packages it said <quote> The grub-pc package is being upgraded. This menu allows you to select which devices you'd like grub-install to be automatically run for, if any. </quote> This had lots of warnings that installing onto a partition was a bad idea; I selected it anyway and got more warnings.
I have not attempted to reboot. All operations were inside a VM. I assumed that chain loading involved putting grub2 on a partition; perhaps that assumption is wrong. At any rate, I was not sure what to do when asked where to install grub2. I am submitting this report for 3 reasons: 1) It may be an error for the "where to install" dialog to come up after chain loading is selected. If it is not... 2) The advice to chain load in the release notes and debconf queries about chain loading seems at odds with the warnings that installing onto a partition is not a good idea. The various messages and advice may need to be rewritten to be consistent. 3) If chain loading does not involve installing onto a partition, that might be worth explaining somewhere. It is also possible some of the strangeness arose from the disk filling up. Here's the transcript of the first part of the install, when the disk filled: <terminal> Setting up grub-common (1.98+20100804-14) ... Setting up grub-pc (1.98+20100804-14) ... Removing update-grub hooks from /etc/kernel-img.conf in favour of /etc/kernel/ hooks. Creating config file /etc/default/grub with new version Generating core.img Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_postinst Running update-grub Legacy to hook our core.img in it Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found GRUB 2: /boot/grub/core.img Found kernel: /boot/vmlinuz-2.6.32-5-amd64 Found kernel: /boot/vmlinuz-2.6.26-2-amd64 Found kernel: /boot/vmlinuz-2.6.26-1-amd64 Updating /boot/grub/menu.lst ... done Traceback (most recent call last): File "/usr/sbin/update-apt-xapian-index", line 104, in <module> indexer.rebuild(opts.pkgfile) File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 688, in rebuild self.buildIndex(dbdir, generator) File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 664, in buildIndex db.add_document(doc) xapian.DatabaseError: Error writing block: No space left on device Generating grub.cfg ... cat: write error: No space left on device debconf: DbDriver "config": could not write /var/cache/debconf/config.dat-new: No space left on device dpkg: error processing grub-pc (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of grub: grub depends on grub-pc; however: Package grub-pc is not configured yet. dpkg: error processing grub (--configure): dependency problems - leaving unconfigured Setting up libgnome-pilot2 (2.0.17-2) ... dpkg: unrecoverable fatal error, aborting: unable to flush /var/lib/dpkg/updates/tmp.i after padding: No space left on device E: Sub-process /usr/bin/dpkg returned an error code (2) </terminal> -- Package-specific info: *********************** WARNING grub-setup left core.img in filesystem *********************** BEGIN /proc/mounts /dev/disk/by-uuid/ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/device.map (hd0) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 (hd1) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00002 *********************** 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,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac 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 ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac echo 'Loading Linux 2.6.32-5-amd64 ...' linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac 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 part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac echo 'Loading Linux 2.6.32-5-amd64 ...' linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-5-amd64 } menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-amd64' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac echo 'Loading Linux 2.6.26-2-amd64 ...' linux /boot/vmlinuz-2.6.26-2-amd64 root=UUID=ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.26-2-amd64 } menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac echo 'Loading Linux 2.6.26-2-amd64 ...' linux /boot/vmlinuz-2.6.26-2-amd64 root=UUID=ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.26-2-amd64 } menuentry 'Debian GNU/Linux, with Linux 2.6.26-1-amd64' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac echo 'Loading Linux 2.6.26-1-amd64 ...' linux /boot/vmlinuz-2.6.26-1-amd64 root=UUID=ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.26-1-amd64 } menuentry 'Debian GNU/Linux, with Linux 2.6.26-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac echo 'Loading Linux 2.6.26-1-amd64 ...' linux /boot/vmlinuz-2.6.26-1-amd64 root=UUID=ff4b7772-c0c8-44f9-a5e4-785df7f0d0ac ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.26-1-amd64 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### 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 ### ### 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 -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-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/dash Versions of packages grub-pc depends on: ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii grub-common 1.98+20100804-14 GRand Unified Bootloader, version ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libdevmapper1.02.1 2:1.02.48-5 The Linux Kernel Device Mapper use ii ucf 3.0025+nmu1 Update Configuration File: preserv grub-pc recommends no packages. Versions of packages grub-pc suggests: pn desktop-base <none> (no description available) -- 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: true * grub-pc/install_devices: /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org