Bug#652972: grub-pc: Grep complains input file `/boot/grub/grub.cfg.new' is also the output
Eric Lavarde
bugs.debian.nospam at lavar.de
Thu Dec 22 11:31:47 UTC 2011
Package: grub-pc
Version: 1.99-14
Severity: minor
Hi,
I haven't seen any negative effect yet, but after the last kernel
update, there is an error message when grub is updated that doesn't
sound right:
[...]
Setting up linux-image-3.1.0-1-686-pae (3.1.5-1) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.1.0-1-686-pae /boot/vmlinuz-3.1.0-1-686-pae
update-initramfs: Generating /boot/initrd.img-3.1.0-1-686-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.1.0-1-686-pae /boot/vmlinuz-3.1.0-1-686-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.1.0-1-686-pae /boot/vmlinuz-3.1.0-1-686-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.1.0-1-686-pae /boot/vmlinuz-3.1.0-1-686-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.1.0-1-686-pae...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.1.0-1-686-pae /boot/vmlinuz-3.1.0-1-686-pae
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.1.0-1-686-pae
Found initrd image: /boot/initrd.img-3.1.0-1-686-pae
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
grep: input file `/boot/grub/grub.cfg.new' is also the output
done
Setting up binutils (2.22-2) ...
[...]
The 2nd line from the bottom.
Eric
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/588e89f5-b621-4e38-b5c9-5aabaf74cb45 / ext4 rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sda5 /data ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sda6 /home ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/disk/by-uuid/588e89f5-b621-4e38-b5c9-5aabaf74cb45 /data/CHROOTS/debian-sid/tmp ext4 rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-ST3250820AS_9QE5R7SJ
(hd1) /dev/disk/by-id/usb-WD_My_Book_57442D574341534A30313737333832-0:0
*********************** 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='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
set locale_dir=($root)/boot/grub/locale
set lang=en_US
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='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/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 3.1.0-1-686-pae' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
echo 'Loading Linux 3.1.0-1-686-pae ...'
linux /boot/vmlinuz-3.1.0-1-686-pae root=UUID=588e89f5-b621-4e38-b5c9-5aabaf74cb45 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.1.0-1-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 3.1.0-1-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
echo 'Loading Linux 3.1.0-1-686-pae ...'
linux /boot/vmlinuz-3.1.0-1-686-pae root=UUID=588e89f5-b621-4e38-b5c9-5aabaf74cb45 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.1.0-1-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='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 588e89f5-b621-4e38-b5c9-5aabaf74cb45
multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### 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
*********************** 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 Dec 22 11:38 ata-HL-DT-ST_DVD-RAM_GSA-H60L_K6C78NN5134 -> ../../sr0
lrwxrwxrwx 1 root root 9 Dec 22 11:38 ata-WDC_WD10EACS-32ZJB0_WD-WCASJ0177382 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EACS-32ZJB0_WD-WCASJ0177382-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EACS-32ZJB0_WD-WCASJ0177382-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Dec 22 11:38 ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 22 11:38 ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 Dec 22 11:38 scsi-SATA_WDC_WD10EARX-00_WD-WCC0S0232458 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 22 11:38 scsi-SATA_WDC_WD10EARX-00_WD-WCC0S0232458-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 22 11:38 scsi-SATA_WDC_WD10EARX-00_WD-WCC0S0232458-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 22 11:38 scsi-SATA_WDC_WD10EARX-00_WD-WCC0S0232458-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 22 11:38 scsi-SATA_WDC_WD10EARX-00_WD-WCC0S0232458-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Dec 22 11:38 scsi-SATA_WDC_WD10EARX-00_WD-WCC0S0232458-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 22 11:38 scsi-SATA_WDC_WD10EARX-00_WD-WCC0S0232458-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 Dec 22 11:38 usb-Generic-_Compact_Flash_20021111153705700-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 9 Dec 22 11:38 usb-Generic-_MS_MS-Pro_20021111153705700-0:3 -> ../../sdf
lrwxrwxrwx 1 root root 9 Dec 22 11:38 usb-Generic-_SD_MMC_20021111153705700-0:2 -> ../../sde
lrwxrwxrwx 1 root root 9 Dec 22 11:38 usb-Generic-_SM_xD-Picture_20021111153705700-0:1 -> ../../sdd
lrwxrwxrwx 1 root root 9 Dec 22 11:38 usb-HP_2605dtn_00CNFW86D1WM-0:0 -> ../../sdg
lrwxrwxrwx 1 root root 9 Dec 22 11:38 wwn-0x50014ee2061afe05 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2061afe05-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2061afe05-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2061afe05-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2061afe05-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2061afe05-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2061afe05-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 Dec 22 11:38 wwn-0x50014ee2ab280a41 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2ab280a41-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 22 11:38 wwn-0x50014ee2ab280a41-part2 -> ../../sdb2
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Dec 22 11:38 05294036-b8df-476b-968d-2cdd8b21fa4b -> ../../sda6
lrwxrwxrwx 1 root root 10 Dec 22 11:38 47C9-A883 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 22 11:38 588e89f5-b621-4e38-b5c9-5aabaf74cb45 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 22 11:38 7acb2bdf-e2cd-4f6d-8643-4b16bc62b053 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec 22 11:38 c7b1992c-958b-4092-b60a-e27416982517 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 22 11:38 fca45ba9-97e0-40ec-ad3b-0899eb3e8564 -> ../../sda5
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.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.41
ii grub-common 1.99-14
ii grub-pc-bin 1.99-14
ii grub2-common 1.99-14
ii ucf 3.0025+nmu2
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information:
grub-pc/kopt_extracted: false
grub2/kfreebsd_cmdline:
grub2/device_map_regenerated:
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD10EARX-00N0YB0_WD-WCC0S0232458
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
grub2/linux_cmdline:
grub-pc/install_devices_empty: false
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
grub-pc/install_devices_failed: false
grub-pc/install_devices_disks_changed:
grub2/linux_cmdline_default: quiet
grub-pc/chainload_from_menu.lst: true
grub-pc/mixed_legacy_and_grub2: true
More information about the Pkg-grub-devel
mailing list