Bug#609523: grub-pc: Non-ascii characters don't work with echo

Samuel Thibault sthibault at debian.org
Mon Jan 10 08:16:41 UTC 2011


Package: grub-pc
Version: 1.98+20100804-11
Severity: minor

Hello,

I've just tried squeeze d-i rc1 in French, there is a very small glitch:
in the menuentry, one can read (encoded in utf-8)

	echo "Chargement de Linux 2.6.32-5-686 ...'
	linux /boot/vmlinuz etc.
	echo "Chargement du disque m�moire initial ...'
	initrd /boot/initrd.img etc.

But when booting the machine, the "�" letter appears as "??" on the
screen, even if "(mode de d�pannage)" and help screens, them, were
displayed correctly. I thus guess there is some bug in the echo command,
maybe it prints characters byte by byte only for instance.

Samuel

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/root / ext3 rw,noatime,errors=remount-ro,commit=600,barrier=0,data=writeback 0 0
/dev/hda1 /mnt/dell vfat ro,relatime,fmask=0022,dmask=0022,codepage=cp850,iocharset=cp850,shortname=mixed,errors=remount-ro 0 0
/dev/hda2 /mnt/win fuseblk rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
/dev/hda10 /mnt/compil ext2 rw,nosuid,nodev,noexec,noatime,errors=continue 0 0
/dev/hda11 /mnt/stockage ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
/dev/hda11 /home/samy/photos ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
/dev/hda11 /home/samy/zik ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
/dev/hda11 /home/samy/vids ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
/dev/hda11 /home/samy/local ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
/dev/hda11 /var/cache/pbuilder ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
/dev/root /32/home ext3 rw,noatime,errors=remount-ro,commit=600,barrier=0,data=writeback 0 0
/dev/root /32/usr/src ext3 rw,noatime,errors=remount-ro,commit=600,barrier=0,data=writeback 0 0
/dev/root /32/tmp ext3 rw,noatime,errors=remount-ro,commit=600,barrier=0,data=writeback 0 0
/dev/hda11 /32/home/samy/local ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
/dev/root /lenny-32/home ext3 rw,noatime,errors=remount-ro,commit=600,barrier=0,data=writeback 0 0
/dev/root /lenny-32/usr/src ext3 rw,noatime,errors=remount-ro,commit=600,barrier=0,data=writeback 0 0
/dev/hda11 /lenny-32/home/samy/local ext3 rw,relatime,errors=continue,commit=600,barrier=0,data=writeback 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-TOSHIBA_MK6008GAH_8841W55QW
(hd0)	/dev/hda
(hd1)	/dev/disk/by-id/usb-Hitachi_HDT721016SLA380_34A1677A2150-0:0
(hd1)	/dev/hdb
*********************** 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,msdos6)'
search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
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, avec Linux 2.6.37' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'plaaééé'
	echo	'Chargement de Linux 2.6.37 ...'
	play 60 0 10
	linux	/boot/vmlinuz-2.6.37 root=/dev/hda6 ro video=intelfb vga=ext elevator=cfq 
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.37 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.37 ...'
	linux	/boot/vmlinuz-2.6.37 root=/dev/hda6 ro single video=intelfb vga=ext elevator=cfq
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.36' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.36 ...'
	linux	/boot/vmlinuz-2.6.36 root=/dev/hda6 ro video=intelfb vga=ext elevator=cfq 
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.36 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.36 ...'
	linux	/boot/vmlinuz-2.6.36 root=/dev/hda6 ro single video=intelfb vga=ext elevator=cfq
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.35-trunk-686' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.35-trunk-686 ...'
	linux	/boot/vmlinuz-2.6.35-trunk-686 root=/dev/hda6 ro video=intelfb vga=ext elevator=cfq 
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.35-trunk-686 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.35-trunk-686 ...'
	linux	/boot/vmlinuz-2.6.35-trunk-686 root=/dev/hda6 ro single video=intelfb vga=ext elevator=cfq
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-5-xen-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-xen-amd64 root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	initrd	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-5-xen-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-xen-amd64 root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	initrd	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-5-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.26-2-xen-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.26-2-xen-amd64 ...'
	linux	/boot/vmlinuz-2.6.26-2-xen-amd64 root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	initrd	/boot/initrd.img-2.6.26-2-xen-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.26-2-xen-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.26-2-xen-amd64 ...'
	linux	/boot/vmlinuz-2.6.26-2-xen-amd64 root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	initrd	/boot/initrd.img-2.6.26-2-xen-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN syms-3.4-unstable' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-syms-3.4-unstable placeholder  
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN syms-3.4-unstable (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-syms-3.4-unstable placeholder 
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-4.0.gz placeholder  
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-4.0.gz placeholder 
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.gz placeholder  
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.gz placeholder 
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3.4' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.4.gz placeholder  
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3.4 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.4.gz placeholder 
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3.4-unstable' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.4-unstable.gz placeholder  
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3.4-unstable (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.4-unstable.gz placeholder 
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3.4-amd64' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.4-amd64.gz placeholder  
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 3.4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen-3.4-amd64.gz placeholder 
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN xen' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen.gz placeholder  
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro video=intelfb vga=ext elevator=cfq 
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN xen (recovery mode)' --class debian --class gnu-linux --class gnu --class os --class xen {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set 4a792f25-e877-4fe0-aca4-ca867f490139
	echo	'Chargement de Linux 2.6.32-5-xen-amd64 ...'
	multiboot	/boot/xen.gz placeholder 
	module	/boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=4a792f25-e877-4fe0-aca4-ca867f490139 ro single video=intelfb vga=ext elevator=cfq
	echo	'Chargement du disque mémoire initial ...'
	module	/boot/initrd.img-2.6.32-5-xen-amd64
}
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professionnel (on /dev/hda2)" {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos2)'
	search --no-floppy --fs-uuid --set ec788aae788a775c
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "GNU/Hurd (on /dev/hda7)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set 95b68585-e9ae-4d24-8623-b800fb805842
	multiboot /boot/gnumach.gz root=device:hd0s7
	module /hurd/ext2fs.static ext2fs --readonly \
			--multiboot-command-line='${kernel-command-line}' \
			--host-priv-port='${host-port}' \
			--device-master-port='${device-port}' \
			--exec-server-task='${exec-task}' -T typed '${root}' \
			'$(task-create)' '$(task-resume)'
	module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'
}
### 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.

menuentry "GNU (aka GNU/Hurd)" {
	set root=(hd0,7)
	multiboot /boot/gnumach.gz root=device:hd0s7
	module /hurd/ext2fs.static ext2fs -A --readonly \
			--multiboot-command-line='${kernel-command-line}' \
			--host-priv-port='${host-port}' \
			--device-master-port='${device-port}' \
			--exec-server-task='${exec-task}' -T typed '${root}' \
			'$(task-create)' '$(task-resume)'
	module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'
}

menuentry "GNU (aka GNU/Hurd) 2" {
	set root=(hd0,7)
	multiboot /boot/gnumach.gz root=device:hd0s7
	module /hurd/ext2fs.static ext2fs -A --readonly \
			--multiboot-command-line='${kernel-command-line}' \
			--host-priv-port='${host-port}' \
			--device-master-port='${device-port}' \
			--exec-server-task='${exec-task} -T typed ${root} $(task-create) $(task-resume)'
	module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'
}

menuentry "hda6" {
	set root=(hd0,6)
	chainloader +1
}

menuentry "debinst x86" {
	set root=(hd0,6)
	linux /home/samy/local/installer/build/dest/netboot/debian-installer/amd64/2.6/linux vga=normal ramdisk_size=10166 root=/dev/ram rw --
	initrd /home/samy/local/installer/build/dest/netboot/debian-installer/amd64/2.6/initrd.gz
}

menuentry "funk" {
	set root=(hd0,6)
	multiboot /home/samy/ens/funk/trunk/src/kernel/funk-i686-0.1.0
}

menuentry "CD" {
	set root=(hd0,6)
	linux  /boot/memdisk.bin
	initrd /boot/sbootmgr.dsk
}

menuentry "monprog" {
	set root=(hd0,6)
	multiboot /boot/monprog
}

menuentry "halt" {
	halt
}

menuentry "grub1" {
	set root=(hd0)
	chainloader +1
}
### 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: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  cdebconf [debconf-2.0]  0.153            Debian Configuration Management Sy
ii  debconf [debconf-2.0]   1.5.36           Debian configuration management sy
ii  grub-common             1.98+20100804-11 GRand Unified Bootloader, version 
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1      2:1.02.48-4      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:
ii  desktop-base                  6.0.5      common files for the Debian Deskto

-- debconf information excluded

-- 
Samuel Thibault <samuel.thibault at fnac.net>
Linux, c'est simple : �a s'adresse � une machine qui est parfois un peu
marabout�e mais qui d'habitude n'a pas d'�tats d'�me. Sur Usenet y'a
plein d'humains et de primates, et �a devient vraiment gore par moment.
-+- TP in : Guide du linuxien pervers - "Le linuxien a-t-il une �me ?" -+-





More information about the Pkg-grub-devel mailing list