Cl-setup-boot. Ошибка в grub

После обновления nvidia-drivers по привычке сделал cl-setup-boot -v т.к. неуверен, что после перезагрузки поднимутся иксы.
После перезагрузки появилось следующее

синтаксическая ошибка, отсутствует косая черта <<>>

Что это за ошибка в грабе?

Доброго дня, версия calculate-utils 3.6.7.24 все в норме, переустанови их попробуй. Еще конфиги посмотри, из которых скрипт данные берет, может где ошибка?

emerge -av nvidia-drivers calculate-utils
...
	Checking for suitable kernel configuration options ...
	CONFIG_I2C_NVIDIA_GPU: should not be set. But it us.
Please check to make sure these options are set corectly.
Failure to do so may cause unexpected problems.

Не знаю имеет ли это отношение к данному топику.

Конфиги я не трогал. Просто cl-setup-boot -v.
Конфигам сто лет в обед.

Если ядро сам собираешь, то отключи CONFIG_I2C_NVIDIA_GPU, где то в i2c пункте меню в драйверах, это вроде на старых картах ругается. К кальк утилс это не относится

Что конкретно делает grub-script-check?
В короткой справке:

Проверяет файл сценария настройки GRUB на синтаксические ошибки.

Запустил grub-script-check -v процесс просто висит.

Посмотрел в /etc/grub.d/ и вижу что эти файлы были изменены судя по времени и дате правки

  • 00_headers
  • 07_passwd
  • 10_linux
  • 30_os-prober

а также в /etc/default/

  • grub

что там изменилось понятия не имею.

Этому скрипту надо скормить конфиг grub-script-check /boot/grub/grub.cfg
Сдается мне это не то. Если система грузится, может не трогать? А так, желательно бы увидеть вырезку из dmesg с этим сообщением. Можно еще в чате спросить, вдруг кто сталкивался.

В dmesg нет такого.

Все равно непонятно что это дает.

Столкнулся с той же ошибкой. Установил CLDC, загрузился в нее без ошибок, сделал cl-update и grub начал выдавать такую же ошибку. nvidia-drivers присутствуют.

grub-script-check -v /boot/grub/grub.cfg
ошибок не выводит.

Зато здесь они есть в /etc/grub.d/

# grub-script-check -v /etc/grub.d/00_header 
#------------------------------------------------------------------------------
# Modified Calculate Utilities 3.6.7.24
# Processed template files:
# /var/db/repos/calculate/profiles/templates/3.6/2_ac_install_merge/sys-boot/grub/grub.d/00_header
# For modify this file, create /etc/grub.d/00_header.clt template.
#------------------------------------------------------------------------------
#! /bin/sh
set -e

# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010  Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.

prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
grub_lang=`echo $LANG | cut -d . -f 1`
ошибка: syntax error.
ошибка: Incorrect command.
ошибка: syntax error.
Синтаксическая ошибка в строке 29



# grub-script-check -v /etc/grub.d/05_theme 
#------------------------------------------------------------------------------
# Modified Calculate Utilities 3.6.7.24
# Processed template files:
# /var/db/repos/calculate/profiles/templates/3.6/2_ac_install_merge/sys-boot/grub/grub.d/05_theme
# For modify this file, create /etc/grub.d/05_theme.clt template.
#------------------------------------------------------------------------------
# grub-mkconfig helper script.
# Copyright 2016 Calculate Ltd. http://www.calculate-linux.org
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0

if [ "x$GRUB_TERMINAL_OUTPUT" != xconsole ]; then
	cat <<EOF
ошибка: syntax error.
ошибка: Incorrect command.
ошибка: syntax error.
Синтаксическая ошибка в строке 17



# grub-script-check -v /etc/grub.d/10_linux 
#------------------------------------------------------------------------------
# Modified Calculate Utilities 3.6.7.24
# Processed template files:
# /var/db/repos/calculate/profiles/templates/3.6/2_ac_install_merge/sys-boot/grub/grub.d/10_linux
# For modify this file, create /etc/grub.d/10_linux.clt template.
#------------------------------------------------------------------------------
#! /bin/sh
set -e

# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010  Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.

prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"

. "$pkgdatadir/grub-mkconfig_lib"

export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"

CLASS="--class gnu-linux --class gnu --class os"

if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
  OS=GNU/Linux
else
  OS="${GRUB_DISTRIBUTOR}"
  CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
ошибка: syntax error.
ошибка: Incorrect command.
ошибка: syntax error.
Синтаксическая ошибка в строке 41



# grub-script-check -v /etc/grub.d/30_os-prober
#------------------------------------------------------------------------------
# Modified Calculate Utilities 3.6.7.24
# Processed template files:
# /var/db/repos/calculate/profiles/templates/3.6/2_ac_install_merge/sys-boot/grub/grub.d/30_os-prober
# For modify this file, create /etc/grub.d/30_os-prober.clt template.
#------------------------------------------------------------------------------
#! /bin/sh
set -e

# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009  Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.

prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"

export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"

. "$pkgdatadir/grub-mkconfig_lib"

if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
  exit 0
fi

if [ -z "`which os-prober 2> /dev/null`" ] || [ -z "`which linux-boot-prober 2> /dev/null`" ] ; then
ошибка: syntax error.
ошибка: Incorrect command.
ошибка: syntax error.
Синтаксическая ошибка в строке 39

Grub “Warning: Syntax error (missing slash) in `%s’\n”

А у Вас перезагрузившись после обновления при входе и на рабочем столе обоя исчезла?
Во вкладке Фон xfdesktop-settings не все обоины присутствуют. Куда-то моя любимая кальковская обоина пропала.

Какие то странные ошибки, пишите в чат, там разрабы сидят, помогут. Проверил у себя, grub-script-check -v /etc/grub.d/10_linux тоже выдает ошибки, НО при загрузке и в дмесг никаких проблем нет. С другой стороны, у меня CLD.

В /usr/lib/dracut… тоже ошибки.

В итоге все равно печально.
Откатился на sys-apps/calculate-utils-3.6.7.21, затем сделал cl-setup-boot и такого предупреждения из /usr/share/locale/ru/LC_MESSAGES/grub.mo

Предупреждение: синтаксическая ошибка (отсутствует косая черта) в «»

больше нет, но несмотря на это поломка в системе присутствует только не знаю где. Как писал выше с обоями что-то не так, появляются с задержкой там где надо ввести логин и пароль и после когда прорисовывается рабочий стол.
Хотя если обновить на актуальную версию sys-apps/calculate-utils-3.6.7.25 и после сделать cl-setup-boot то ошибка снова появляется.

Куда пропала эта ошибка? Немедленно верните!
После обновы и ребута это предупреждение исчезло.