Tiny Core Extensions > TCE Bugs

Tinycore 14.0 64bit: grub-mkrescue error

<< < (2/3) > >>

Juanito:
You could try loading glibc_gconv

pek:
I reloaded glibc_gconv. Still same error.

Juanito:
Have you tried using getlocale to create a mylocale extension and rebooting?

pek:

--- Quote from: Juanito on April 23, 2023, 10:39:14 AM ---Have you tried using getlocale to create a mylocale extension and rebooting?

--- End quote ---
No I haven't. But I tried grub-mkrescue using
Tinycore 13.1 64bit resulting the same error
Tinycore 12.0 64bit also prompts locale warnings but it continues and successfully created the iso.
So, I'm guessing it's not the locale issues.

Btw, It's very late at night now, I will probably try getlocale tomorrow.
Thanks for helping  :)

CNK:
I ran into a similar error while trying to run "syslinux -i" in TC 14.0 Pure64:

--- Code: ---$ sudo syslinux -i /dev/sdb1
Error converting to codepage 850 Invalid argument
Cannot initialize 'S:'
Bad target s:/ldlinux.sys
syslinux: failed to create ldlinux.sys

--- End code ---

The short story is that this fixes the problem (run as root, after installing glibc_gconv.tcz):

--- Code: ---cd /usr/lib/gconv
mv gconv-modules gconv-modules.orig
cat gconv-modules.orig gconv-modules.d/gconv-modules-extra.conf > gconv-modules

--- End code ---

Then "syslinux -i /dev/sdb1" runs without errors.

So /usr/lib/gconv/gconv-modules.d/gconv-modules-extra.conf, which is added by glibc_gconv.tcz, doesn't seem to be read by glibc in TC 14.

Extra info:
The error seems to come from the glibc iconv_open function, via mtools, and this page says: "If the iconv_open returns an error and sets errno to EINVAL, there is no known way, directly or indirectly, to perform the wanted conversion."

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version