bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re-2: grub-mkconfig reports an error with an allegation which is not cor


From: Kim Olsen
Subject: Re-2: grub-mkconfig reports an error with an allegation which is not corresponding with the truth
Date: Tue, 17 Jan 2017 14:03:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

> 16.01.2017 19:08, Kim Olsen пишет:

>> Hello,
>>
>> If "/etc/default/grub" contains the typical unicode identifier
>> <U+FEFF> at the beginning of the file the program "grub-mkconfig"
>> unfairly reports an error.
>>

> This is shell script that is sourced by grub-mkconfig. Does your shell
> accept such script when run standalone? If not, there is nothing grub
> can do here.

========================================================================

address@hidden:/etc/default# ls -l grub
-rw-r--r-- 1 root root 1172 Jan 17 11:59 grub

address@hidden:/etc/default# update-grub

/usr/sbin/grub-mkconfig: 1: /etc/default/grub: #: not found

address@hidden:/etc/default# hd grub
00000000  ef bb bf 23 20 49 66 20  79 6f 75 20 63 68 61 6e  |...# If you
chan|
00000010  67 65 20 74 68 69 73 20  66 69 6c 65 2c 20 72 75  |ge this
file, ru|
00000020  6e 20 27 75 70 64 61 74  65 2d 67 72 75 62 27 20  |n
'update-grub' |
00000030  61 66 74 65 72 77 61 72  64 73 20 74 6f 20 75 70  |afterwards
to up|
00000040  64 61 74 65 0a 23 20 2f  62 6f 6f 74 2f 67 72 75  |date.#
/boot/gru|
00000050  62 2f 67 72 75 62 2e 63  66 67 2e 0a 23 20 46 6f
|b/grub.cfg..# Fo|

[....... Omitted .......]

00000450  0a 23 20 55 6e 63 6f 6d  6d 65 6e 74 20 74 6f 20  |.#
Uncomment to |
00000460  67 65 74 20 61 20 62 65  65 70 20 61 74 20 67 72  |get a beep
at gr|
00000470  75 62 20 73 74 61 72 74  0a 47 52 55 42 5f 49 4e  |ub
start.GRUB_IN|
00000480  49 54 5f 54 55 4e 45 3d  22 34 38 30 20 34 34 30
|IT_TUNE="480 440|
00000490  20 31 22 0a                                       | 1".|
00000494

address@hidden:/etc/default# cat grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0

[....... Omitted .......]

# Uncomment to get a beep at grub start
GRUB_INIT_TUNE="480 440 1"

address@hidden:/etc/default#





reply via email to

[Prev in Thread] Current Thread [Next in Thread]