Norbert, <br><br>Obviously you are the expert here, not me. But, in my recent Googling, I did discover this thread, that although I haven't used, does it fit your needs?<br><br><a href="http://ubuntuforums.org/archive/index.php/t-1244790.html">http://ubuntuforums.org/archive/index.php/t-1244790.html</a><a href="http://ubuntuforums.org/archive/index.php/t-1244790.html">http://ubuntuforums.org/archive/index.php/t-1244790.html</a><br>
<br>Regards,<br>Anthony<br><br><div class="gmail_quote">On Thu, Oct 8, 2009 at 11:37 PM, Norbert Preining <span dir="ltr"><<a href="mailto:preining@logic.at">preining@logic.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Package: grub-pc<br>
Version: 1.97~beta4-1<br>
Severity: important<br>
<br>
As you can see below my kernel cmd line is<br>
linux /boot/vmlinuz-2.6.32-rc3 root=/dev/sda3 ro acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
so there are quotes around the argument for acpi_osi.<br>
<br>
Unfortunately grub-pc does NOT honor that quotes and strips them<br>
before passing that to the kernel as can be seen from the boot messages:<br>
<br>
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-rc3 root=/dev/sda3 ro acpi_osi=!Windows 2006 nmi_watchdog=0 reboot=pci<br>
<br>
To be sure I added a printk to params.c from the kernel that shows that<br>
current argument and value:<br>
[ 0.000000] DDDD param=BOOT_IMAGE, val=.../boot/vmlinuz-2.6.32-rc3...<br>
[ 0.000000] DDDD param=root, val=.../dev/sda3...<br>
[ 0.000000] DDDD param=ro, val=...<NULL>...<br>
[ 0.000000] DDDD param=acpi_osi, val=...!Windows...<br>
[ 0.000000] DDDD param=2006, val=...<NULL>...<br>
[ 0.000000] DDDD param=nmi_watchdog, val=...0...<br>
[ 0.000000] DDDD param=reboot, val=...pci...<br>
<br>
Here we go, that is completely hosed.<br>
<br>
That is in fact a SERIOUS bug and a severe regression against grub1 where<br>
it was working.<br>
<br>
No combinations of \\\""" '"'" or whatever could convince grub2 to take<br>
the quotes over to the kernel.<br>
<br>
Please consider this a serious bug, forward it upstream.<br>
<br>
<br>
-- Package-specific info:<br>
<br>
*********************** BEGIN /proc/mounts<br>
/dev/sda3 / ext3 rw,noatime,errors=remount-ro,user_xattr,data=writeback 0 0<br>
/dev/sda2 /xp fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0<br>
/dev/loop0 /media/TLDVD iso9660 ro,relatime 0 0<br>
*********************** END /proc/mounts<br>
<br>
*********************** BEGIN /boot/grub/device.map<br>
(hd0) /dev/sda<br>
*********************** END /boot/grub/device.map<br>
<br>
*********************** BEGIN /boot/grub/grub.cfg<br>
#<br>
# DO NOT EDIT THIS FILE<br>
#<br>
# It is automatically generated by /usr/sbin/grub-mkconfig using templates<br>
# from /etc/grub.d and settings from /etc/default/grub<br>
#<br>
<br>
### BEGIN /etc/grub.d/00_header ###<br>
set default=0<br>
if terminal_input console ; then true ; else<br>
# For backward compatibility with versions of terminal.mod that don't<br>
# understand terminal_input<br>
terminal console<br>
fi<br>
if terminal_output console ; then true ; else<br>
# For backward compatibility with versions of terminal.mod that don't<br>
# understand terminal_output<br>
terminal console<br>
fi<br>
set timeout=5<br>
### END /etc/grub.d/00_header ###<br>
<br>
### BEGIN /etc/grub.d/05_debian_theme ###<br>
set menu_color_normal=cyan/blue<br>
set menu_color_highlight=white/blue<br>
### END /etc/grub.d/05_debian_theme ###<br>
<br>
### BEGIN /etc/grub.d/10_linux ###<br>
menuentry "Debian GNU/Linux, Linux 2.6.32-rc3" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.32-rc3 root=/dev/sda3 ro acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.32-rc3<br>
}<br>
menuentry "Debian GNU/Linux, Linux 2.6.32-rc3 (recovery mode)" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.32-rc3 root=/dev/sda3 ro single acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.32-rc3<br>
}<br>
menuentry "Debian GNU/Linux, Linux 2.6.31.2-rc1" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.31.2-rc1 root=/dev/sda3 ro acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.31.2-rc1<br>
}<br>
menuentry "Debian GNU/Linux, Linux 2.6.31.2-rc1 (recovery mode)" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.31.2-rc1 root=/dev/sda3 ro single acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.31.2-rc1<br>
}<br>
menuentry "Debian GNU/Linux, Linux 2.6.31" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.31 root=/dev/sda3 ro acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.31<br>
}<br>
menuentry "Debian GNU/Linux, Linux 2.6.31 (recovery mode)" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.31 root=/dev/sda3 ro single acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.31<br>
}<br>
menuentry "Debian GNU/Linux, Linux 2.6.30" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.30 root=/dev/sda3 ro acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.30<br>
}<br>
menuentry "Debian GNU/Linux, Linux 2.6.30 (recovery mode)" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux /boot/vmlinuz-2.6.30 root=/dev/sda3 ro single acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
initrd /boot/initrd.img-2.6.30<br>
}<br>
### END /etc/grub.d/10_linux ###<br>
<br>
### BEGIN /etc/grub.d/20_memtest86+ ###<br>
menuentry "Memory test (memtest86+)" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux16 /boot/memtest86+.bin<br>
}<br>
menuentry "Memory test (memtest86+, serial console 115200)" {<br>
insmod ext2<br>
set root=(hd0,3)<br>
search --no-floppy --fs-uuid --set 961635f4-762d-4136-a3d5-35fca8e4f3d8<br>
linux16 /boot/memtest86+.bin console=ttyS0,115200n8<br>
}<br>
### END /etc/grub.d/20_memtest86+ ###<br>
<br>
### BEGIN /etc/grub.d/30_os-prober ###<br>
### END /etc/grub.d/30_os-prober ###<br>
<br>
### BEGIN /etc/grub.d/40_custom ###<br>
<br>
# For booting Microsoft Windows<br>
menuentry "Microsoft XP" {<br>
set root=(hd0,2)<br>
drivemap -s (hd0) ${root}<br>
chainloader +1<br>
}<br>
<br>
menuentry "Windows Vista Rescue Partition" {<br>
set root=(hd0,1)<br>
chainloader +1<br>
}<br>
<br>
# This file provides an easy way to add custom menu entries. Simply type the<br>
# menu entries you want to add after this comment. Be careful not to change<br>
# the 'exec tail' line above.<br>
### END /etc/grub.d/40_custom ###<br>
*********************** END /boot/grub/grub.cfg<br>
<br>
-- System Information:<br>
Debian Release: squeeze/sid<br>
APT prefers unstable<br>
APT policy: (500, 'unstable')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 2.6.32-rc3 (SMP w/2 CPU cores; PREEMPT)<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/bash<br>
<br>
Versions of packages grub-pc depends on:<br>
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy<br>
ii grub-common 1.97~beta4-1 GRand Unified Bootloader, version<br>
ii libc6 2.9-27 GNU C Library: Shared libraries<br>
ii ucf 3.0022 Update Configuration File: preserv<br>
<br>
grub-pc recommends no packages.<br>
<br>
Versions of packages grub-pc suggests:<br>
ii desktop-base 5.0.5 common files for the Debian Deskto<br>
ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem<br>
<br>
-- debconf information:<br>
grub2/kfreebsd_cmdline:<br>
* grub2/linux_cmdline: acpi_osi="!Windows 2006" nmi_watchdog=0 reboot=pci<br>
* grub-pc/chainload_from_menu.lst: true<br>
grub-pc/kopt_extracted: false<br>
* grub-pc/install_devices: /dev/sda<br>
grub-pc/postrm_purge_boot_grub: false<br>
grub2/kfreebsd_cmdline_default: quiet<br>
* grub2/linux_cmdline_default:<br>
<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Esony-vaio-z-series" target="_blank">https://launchpad.net/~sony-vaio-z-series</a><br>
Post to : <a href="mailto:sony-vaio-z-series@lists.launchpad.net">sony-vaio-z-series@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Esony-vaio-z-series" target="_blank">https://launchpad.net/~sony-vaio-z-series</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br>