FS#39771 - [grub] /etc/default/grub syntax error
Attached to Project:
Arch Linux
Opened by Christopher Schmidt (archlinux20130905) - Monday, 07 April 2014, 12:16 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 02 August 2015, 16:55 GMT
Opened by Christopher Schmidt (archlinux20130905) - Monday, 07 April 2014, 12:16 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 02 August 2015, 16:55 GMT
|
Details
Description:
Adding a kernel parameter, which contains whitespaces, seems to be impossible under the current kernel 'Linux 3.13.8-1-ARCH #1 SMP PREEMPT Tue Apr 1 12:19:51 CEST 2014' and 'GNU GRUB Version 2.02~beta2'. I tried to do this in the following discussion: http://unix.stackexchange.com/questions/123360/etc-default-grub-syntax-error But received the following error during the boot process: /init: eval: line 1: syntax error: unterminated quoted string Steps to reproduce: Put the following into your /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_os_name=\"Microsoft Windows XP\"" Now call: grub-mkconfig -o /boot/grub/grub.cfg followed by: mkinitcpio -p linux Now reboot the system and if you have systemd version 212 installed, you should get the error above. |
This task depends upon
Comment by Doug Newgard (Scimmia) -
Monday, 06 July 2015, 04:54 GMT
So this error was coming from systemd parsing the kernel command
line? Still an issue?