From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MUKI2-0003xH-KJ for mharc-grub-devel@gnu.org; Fri, 24 Jul 2009 08:54:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUKI0-0003wo-SV for grub-devel@gnu.org; Fri, 24 Jul 2009 08:54:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUKHv-0003uw-U2 for grub-devel@gnu.org; Fri, 24 Jul 2009 08:54:20 -0400 Received: from [199.232.76.173] (port=50284 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUKHv-0003uo-Mg for grub-devel@gnu.org; Fri, 24 Jul 2009 08:54:15 -0400 Received: from moutng.kundenserver.de ([212.227.126.188]:56896) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUKHv-0004Xd-3J for grub-devel@gnu.org; Fri, 24 Jul 2009 08:54:15 -0400 Received: from [85.180.4.132] (e180004132.adsl.alicedsl.de [85.180.4.132]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MKv1o-1MUKHt2sW9-00084k; Fri, 24 Jul 2009 14:54:14 +0200 From: Felix Zielcke To: The development of GRUB 2 Content-Type: text/plain Date: Fri, 24 Jul 2009 14:55:01 +0200 Message-Id: <1248440101.3510.32.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.27.4 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19ce/gX6WqfG59eKbxbmGqU8FEn2wU/LlxllLb w5ODd07iHGAL4rKDziwEvOcMxsATCQyqujD8rWBAg7iEnUhIGK Iz+mnvOVIuJplfLqz0hfw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Fwd: Bug#536846: grub-pc: /boot/vmlinux entry cannot be booted] X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2009 12:54:21 -0000 How about just removing support for vmlinux kernels in grub-mkconfig? I.e: Index: util/grub.d/10_linux.in =================================================================== --- util/grub.d/10_linux.in (revision 2441) +++ util/grub.d/10_linux.in (working copy) @@ -112,7 +112,7 @@ EOF EOF } -list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do +list=`for i in /boot/vmlinuz* /vmlinuz-* ; do if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi done` -------- Weitergeleitete Nachricht -------- > Von: Alvaro Herrera > Reply-to: Alvaro Herrera , > 536846@bugs.debian.org > An: Debian Bug Tracking System > Betreff: Bug#536846: grub-pc: /boot/vmlinux entry cannot be booted > Datum: Mon, 13 Jul 2009 19:58:42 -0400 > > Package: grub-pc > Version: 1.96+20090603-2 > Severity: normal > > > I have a /boot/vmlinux-2.6.26 file that I installed some time ago for > use with oprofile. Since the /etc/grub.d/10_linux script looks for > files using the pattern /boot/vmlinu[xz]*, this file is automatically > added to the boot menu, and moreover it is selected as the first entry. > > However, this file doesn't boot properly. Grub gives a message saying > so and then sits there waiting for user input. In practice it means I > have to watch over the boot sequence or the workstation is as good as > halted for all practical purposes. > > What I've been doing is edit 10_linux and change the /boot/vmlinu[xz]* > pattern to /boot/vmlinuz*, but each time grub-pc is upgraded I have to > edit the file again. I've been doing this for several releases and it > has gotten old now. > > So my request is: can this pattern be turned into /boot/vmlinuz* in the > file distributed with the package? I guess it boils down to whether > there are still valid uncompressed (vmlinux) kernels that can be booted > at all. > > > -- Package-specific info: > > *********************** BEGIN /proc/mounts > /dev/sda1 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0 > /dev/sda6 /usr ext3 rw,relatime,errors=continue,data=ordered 0 0 > /dev/sda7 /var ext3 rw,noatime,errors=continue,data=ordered 0 0 > /dev/md3 /home ext3 rw,noatime,errors=continue,data=writeback 0 0 > /dev/md4 /home/fotos ext3 rw,noatime,errors=continue,data=ordered 0 0 > /dev/dm-0 /home/media ext3 rw,noatime,errors=continue,data=ordered 0 0 > /dev/sda5 /tmp ext2 rw,noatime,errors=continue 0 0 > *********************** END /proc/mounts > > *********************** BEGIN /boot/grub/device.map > (hd0) /dev/sda > (hd1) /dev/sdb > (hd2) /dev/sdc > *********************** 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 ### > set default=0 > set timeout=5 > set root=(hd0,6) > search --fs-uuid --set 9cf20f48-136a-4284-9048-4720baa20dfb > if loadfont /share/grub/ascii.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 > ### END /etc/grub.d/00_header ### > > ### BEGIN /etc/grub.d/05_debian_theme ### > set root=(hd0,1) > search --fs-uuid --set 550f142c-dd6e-46cf-a267-c32d331b6da8 > 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, linux 2.6.26" { > set root=(hd0,1) > search --fs-uuid --set 550f142c-dd6e-46cf-a267-c32d331b6da8 > linux /boot/vmlinux-2.6.26 root=/dev/sda1 ro quiet > initrd /boot/initrd.img-2.6.26 > } > menuentry "Debian GNU/Linux, linux 2.6.26 (recovery mode)" { > set root=(hd0,1) > search --fs-uuid --set 550f142c-dd6e-46cf-a267-c32d331b6da8 > linux /boot/vmlinux-2.6.26 root=/dev/sda1 ro single quiet > initrd /boot/initrd.img-2.6.26 > } > menuentry "Debian GNU/Linux, linux 2.6.26" { > set root=(hd0,1) > search --fs-uuid --set 550f142c-dd6e-46cf-a267-c32d331b6da8 > linux /boot/vmlinuz-2.6.26 root=/dev/sda1 ro quiet > initrd /boot/initrd.img-2.6.26 > } > menuentry "Debian GNU/Linux, linux 2.6.26 (recovery mode)" { > set root=(hd0,1) > search --fs-uuid --set 550f142c-dd6e-46cf-a267-c32d331b6da8 > linux /boot/vmlinuz-2.6.26 root=/dev/sda1 ro single quiet > initrd /boot/initrd.img-2.6.26 > } > menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64" { > set root=(hd0,1) > search --fs-uuid --set 550f142c-dd6e-46cf-a267-c32d331b6da8 > linux /boot/vmlinuz-2.6.25-2-amd64 root=/dev/sda1 ro quiet > initrd /boot/initrd.img-2.6.25-2-amd64 > } > menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64 (recovery mode)" { > set root=(hd0,1) > search --fs-uuid --set 550f142c-dd6e-46cf-a267-c32d331b6da8 > linux /boot/vmlinuz-2.6.25-2-amd64 root=/dev/sda1 ro single quiet > initrd /boot/initrd.img-2.6.25-2-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 is an example on how to add custom entries > ### END /etc/grub.d/40_custom ### > *********************** END /boot/grub/grub.cfg > > -- System Information: > Debian Release: squeeze/sid > APT prefers testing > APT policy: (990, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.26 (SMP w/2 CPU cores) > Locale: LANG=es_CL.UTF-8, LC_CTYPE=es_CL.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.26 Debian configuration management sy > ii grub-common 1.96+20090603-2 GRand Unified Bootloader, version > ii libc6 2.9-12 GNU C Library: Shared libraries > > grub-pc recommends no packages. > > Versions of packages grub-pc suggests: > ii desktop-base 5.0.5 common files for the Debian Deskto > ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem > pn os-prober (no description available) > > -- debconf information: > * grub-pc/linux_cmdline: > * grub-pc/chainload_from_menu.lst: true > * grub-pc/install_devices: /dev/sda > > > > _______________________________________________ > Pkg-grub-devel mailing list > Pkg-grub-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel -- Felix Zielcke