You are not logged in.

#1 2019-12-27 13:55:40

ShatterGlass
Member
Registered: 2015-08-10
Posts: 6

[SOLVED] Refind refind_linux.conf save problem

I have a weird problem with Refind and I don’t know how to troubleshoot it.

If I use my own Arch Linux installation to save the refind_linux.conf file. Refind gives me this error

Error: Unsupported while loading the file ‘Arch\root\boot\refind_linux.conf’
Error: Unsupported while loading the file Linux options file
Error: Unsupported while loading the file ‘\Arch\root\boot\refind_linux.conf
Error: Unsupported while loading the file Linux options file

If I use the live Arch Linux USB and open save the same file again with nano the file works.

The checksum don’t change
The permissions of the file stay the same

-rw-r--r-- 1 root root 209 Dec 27 12:47 refind_linux.conf

Can someone please help me understand what can cause this problem?

file -i refind_linux.conf

refind_linux.conf: text/plain; charset=us-ascii

File system type : BTRFS

refind_Linux.conf Main Installation

"Boot using standard options"  "root=PARTUUID=859fbdf4-0933-49e5-8394-6b55xxxxxxxx rw rootflags=subvol=ArchBasic/root initrd=ArchBasic/root/boot/intel-ucode.img initrd=ArchBasic/root/boot/initramfs-linux.img"

refind_Linux.conf Second installation

"Boot Arch using standard options"  "root=PARTUUID=859fbdf4-0933-49e5-8394-6b55xxxxxxxx rw rootflags=subvol=Arch/root initrd=Arch/root/boot/intel-ucode.img initrd=Arch/root/boot/initramfs-linux.img"

Last edited by ShatterGlass (2019-12-27 20:46:31)

Offline

#2 2019-12-27 14:03:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,660

Re: [SOLVED] Refind refind_linux.conf save problem

Which editor do you use in your "own Arch Linux" installation? What's your locale setup? Outputs of

localectl
locale
locale -a

check in something that shows you non printable characters whether you're not accidentally introducing windows line endings or similar jazz or generally changing the encoding.

Offline

#3 2019-12-27 14:23:45

ShatterGlass
Member
Registered: 2015-08-10
Posts: 6

Re: [SOLVED] Refind refind_linux.conf save problem

Thank you V1del for taking the time to help me.

Main Installation
localectl

System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: n/a

locale -a

C
en_US.utf8
POSIX

locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Live USB
localectl

System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: n/a

locale -a

C
en_US.utf8
POSIX

locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Offline

#4 2019-12-27 20:45:27

ShatterGlass
Member
Registered: 2015-08-10
Posts: 6

Re: [SOLVED] Refind refind_linux.conf save problem

Removing the zstd compression option in fstab fix the problem.

Last edited by ShatterGlass (2019-12-27 20:47:02)

Offline

Board footer

Powered by FluxBB