Posts by tokul

    Perhaps the Georgia Tech network is just a bit overly sensitive. Linux files are not very well known to be linked to computer viruses. It's more likely to be another false positive.

    AFAIK, there is no issue with the .bin file of the USB-SD Creator tool. But I'll mention it to the team.

    User is downloading that file from Georgia Tech ( They put web washer proxy in front of servers on their own network. Stuff is scanning inbound connections instead of scanning outbound connections from local Georgia Tech network.


    check mount table before you try to umount devices. You might be disconnecting something that is in use. /dev/sda is only first detected scsi/sata disk. It does not have to be your usb drive.


    I have the latest libreelec and i want to change the font because chrome show arabic words as boxes

    I want to change the fonts in the linux not kodi

    I hope you can guide me to change the fonts to font that support arabic language

    X Chrome and Firefox display text based on availability of fonts in X windows. If you don't have some language specific code pages across all installed fonts, text is displayed as boxes.

    Create .fonts directory in /storage (root user's home) and copy any ttf fonts that you want to that directory. Reboot to restart X windows to be on safe side. I did not check if X detected changes in fonts without restart.

    DejaVu fonts will show Arabic in Chrome. Chinese, Japanese and Korean will require more fonts. Next fonts of choice would be non free MS core fonts, Tahoma, Arial Unicode MS and SimSun. SimSun will give Japanese and Chinese.

    Same applies to other X based Linux graphics. Install fonts in your .fonts directory and X will read them. Probably does not apply to LibreElec ARM builds. I don't remember which fonts give Korean support on my desktop. Got handful of accumulated fonts in personal home and tend to install font packages provided by OS.

    From packaging perspective LibreElec might provide DejaVu font package. Search did not find any 'font' packages in repos. /usr/share/fonts got only Liberation fonts installed with limited language coverage.

    How often do you turn off your pc forcefully via the power button?

    Everytime when storage failure in hypervisor knocks of bunch of linux virts. A single failure can have over hundred of failed systems and 50% rate of manual fsck was likely result in latest failures. None of them resulted critical data loss. Virt team were fscking up every quarter and for business owners those reboots were BAU. Seen far worse things than mundane file system checks after power cycling.

    If you claim that fsck deletes your actual files with family photos and cat videos, you have to learn what data is checked by fsck.


    > A couple weeks ago, on my linux box, an ext4 filesystem got corrupted, and some files got damaged, which involved data lost.

    Which files? If some temp files go to lost+found, it is not data loss. If you had unstable power grid that caused repeated power failures while your Linux was rebooting, it would have affected only file systems that were being written at the time of failure.

    > When I scanned the HDD under windows to fix errors, it removed bunch of the files stored on it.

    Well. My windows claims that my usb flash devices got errors in them and demands to scan them every time. Windows was never the brightest OS on the planet. File system checks do not remove files. Neither Linux fsck nor Windows chkdsk. If power failure causes physical damage to your disk platers, readonly file system will not protect you from that. Device will be spinning in readonly mode too.

    > It's not paranoia -- every filesystem, which is mounted in read-write mode, can get damaged when power disappears.

    It is paranoia. File systems have journaling. In last ten years the only damage to ext3/ext4 that I've seen was not caused to power failure. It was caused temporally storage failure on hypervisor and the only impacted file systems were the ones that had stuff writing into them. And nothing of a value was lost. When data loss happened, it was caused by hardware failures and not by power. In those cases device was lost and not just file system.

    You were already been told that Kodi and Libreelec do not write into your attached storage. I suspected that some media library data goes into storage device, but I don't see anything extra on my automounted disk. If they are not writing anything, your device will not have any pending writes at the time of power failure and can be safely powercycled.

    Replace your USB HDD with devices that have hardware switches for readonly mode, if you don't trust OS and people.

    > Who should I molest to think about implementing such feature?

    You could ask udevil devs to support configuration file includes from different directory than the one storing udevil.conf. From LibreElec perspective they need writable mounts and most of users will want their storage devices mounted in writable mode to manage media files in them. So LibreElec is unlikely to change default automounter configuration for you.

    Or start using iso9660 file system on your devices. That one is automounted readonly.

    So is there no way to just mount the file system as read only?

    I tried to use systemd service for it, but it doesn't look like this solution works for local drives which are handled by udevil. Is there a way to change the udevil config?

    When was the last time you had modern file systems corrupted by power outage? With data being lost.

    If you want to pay the price for your paranoia, rebuild libreelec with custom udevil config.

    Never mind.. --existing-files :D

    Thanx again to all for the help... :D

    rsync -av does not transfer existing files, if destination has identical data. It is not cp and it should not be used to transfer files to directory, which already has other unrelated data. rsync will allow you to put all your data on target file system. Once you have data there, rename and move operations are relatively inexpensive and fast.

    If I could open up an CMD/CONSOLE window directly on the KODI/LE server, I think that would solve my problems.. I could initiate a CP process without using the Windows machine at all...

    Is that possible??

    ssh connection, start screen, run cp or rsync. Not having direct console on the system was never a problem for penguin types. If stuff is not broken.

    cp has -v option to do verbose copy and show some progress. Rsync is still better. If you want more visual tools, "system tools" package has "mc" command too.

    Your bottleneck is USB throughput. You might check if your media server got USB3 ports and whether you are not CPU bound during copy. You would get serious speed loss, if you are on USB 2.

    ext3/4 file systems can be read on Windows with freely available tools or just by getting cd bootable Linux (system rescue cd/Ubuntu/whatever floats your boat). I don't see if your media server is x86 system or some ARM kit. Live booting other Linux might not be an option.

    So how slow are moles in January? How much MB/s speed? (MB=MoleButt..)

    He is copying from one local drive to another or to network share. cp -r. So it is zero byte/character per second speed.

    If copy goes to network share, then it is Wifi or butt load :) of videos. Moles are sleeping in January. Molasses is not. It is up, running and ready to take over Boston.

    LibreELEC:~ # which screen


    LibreELEC:~ # which rsync


    LibreELEC:~ #

    use rsync -av instead of cp -r. You get far better controls for resuming and status details. See screen manual to avoid having ssh connection open.

    rsync -e ssh --rsync-path=/storage/.kodi/addons/ -av <source>. [email protected]<libreelec-host>:<dest>

    If you want to get real bash on LibreElec, you might have to compile it with some options turned off. In case of Debian /bin/bash at least two linked libraries are not on libreelec. Or configure and build bash with --enable-static-link

    Information for others

    Board got two SATA slots, M2, M2 wireless, 1GbE network port, PCI-E and two USB headers. Integrated fanless CPU. Should have enough connectors for front USB slots and card reader, if your powersupply has connectors that fit and case got slots for it. USB headers are 2.0. Might need cable adapter if your stuff comes with USB 3.0 19 pin connectors.

    LibreElec 9.2.3 install works with SATA SSD. CI22M wireless M2 card recognized. NVME SSD support is not good. Autofs on /var/media is not mounting nvme devices. WD Blue nvme keeps getting switched to D3 power state and failing within minutes after starting to write into it. Attaching drive to other board resets it. Samsung 970 EVO Plus NVME is not recognized by BIOS. Both NVMEs are working on other PCI-E Gen3 board. If you plan on getting similar setup, try using NVME drives compatible with PCI-E Gen2 spec and hope that you have better luck than me. If vendor updates BIOS from F3 to newer version, situation might change.

    Went with integrated video (Intel i915 driver) and HDMI. Audio goes to TV over same HDMI cable.

    Youtube addon required setting up private keys to work.