Bug#552091: grub-pc: allow graphical Linux console and don't show kernel version if there's only 1 kernel

Constantin Makshin dinosaur-rus at users.sourceforge.net
Fri Oct 23 10:14:11 UTC 2009


Package: grub-pc
Version: 1.97~beta3-1
Severity: wishlist

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/48db4fe9-7eaf-489b-981a-4e286f0c4c1a / reiserfs  
rw,noatime 0 0
/dev/sda12 /home reiserfs rw,noatime 0 0
/dev/sda13 /usr/local reiserfs rw,noatime 0 0
/dev/hda1 /windows/c ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/hda3 /windows/d ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/sda5 /windows/f ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/sda6 /windows/g ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/sda7 /windows/h ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/sda8 /windows/i ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/sda9 /windows/j ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/sda10 /windows/k ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
/dev/sda11 /windows/l ntfs  
ro,noexec,noatime,uid=0,gid=0,fmask=0113,dmask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1  
0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/hda
(hd1)   /dev/sda
*********************** 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
### 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" {
         insmod reiserfs
         set root=(hd0,4)
         search --no-floppy --fs-uuid --set  
48db4fe9-7eaf-489b-981a-4e286f0c4c1a
         insmod vbe
         set gfxpayload=1280x1024
         linux   /boot/vmlinuz-2.6.30-2-amd64  
root=UUID=48db4fe9-7eaf-489b-981a-4e286f0c4c1a ro  quiet
         initrd  /boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux (recovery mode)" {
         insmod reiserfs
         set root=(hd0,4)
         search --no-floppy --fs-uuid --set  
48db4fe9-7eaf-489b-981a-4e286f0c4c1a
         linux   /boot/vmlinuz-2.6.30-2-amd64  
root=UUID=48db4fe9-7eaf-489b-981a-4e286f0c4c1a ro single
         initrd  /boot/initrd.img-2.6.30-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/31_windows ###
menuentry "Windows XP" {
         insmod ntfs
         set root=(hd0,1)
         drivemap -s (hd0) ${root}
         chainloader +1
}
### END /etc/grub.d/31_windows ###

### BEGIN /etc/grub.d/40_custom ###
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 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.27       Debian configuration  
management sy
ii  grub-common                 1.97~beta3-1 GRand Unified Bootloader,  
version
ii  libc6                       2.9-25       GNU C Library: Shared  
libraries
ii  ucf                         3.0022       Update Configuration File:  
preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM  
filesystem

-- debconf information excluded



More detailed description:

grub01.diff (for 00_header) tells GRUB to use the native console if  
GRUB_TERMINAL_INPUT is either not set or set to "console".

grub03.diff (for 10_linux) makes GRUB and Linux console modes independent  
 from each other (making it possible to boot Linux with graphical console  
even if GRUB uses text mode or different video mode) and removed Linux  
kernel version if only 1 kernel is installed.

grub04.diff (for /usr/sbin/grub-mkconfig) adds the changes mentioned above  
to the GRUB configuration utility.

-- 
Constantin Makshin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub01.diff
Type: application/octet-stream
Size: 340 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20091023/c53cd762/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub03.diff
Type: application/octet-stream
Size: 1344 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20091023/c53cd762/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub04.diff
Type: application/octet-stream
Size: 1317 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20091023/c53cd762/attachment-0002.obj>


More information about the Pkg-grub-devel mailing list