General TC > International Talk
(中文) How can I automatically load all partitions when tinycore starts?
polikuo:
--- Quote from: Rich on January 19, 2022, 11:46:08 PM ---You copied a utf8 encoded file name to a non utf8 file system. I would not expect the result to be 8859-1 encoded
name. It's probably still utf8 or partly utf8.
--- End quote ---
Hi Rich
I'd tried that before, it does nothing.
Rich:
Hi polikuo
Could you please:
--- Code: ---cat * > filename.txt
--- End code ---
and attach it to your next post. And also tell me what the original name was. I'm curious to compare what the
before and after results look like.
polikuo:
--- Quote from: Rich on January 20, 2022, 12:28:29 AM ---Hi polikuo
Could you please:
--- Code: ---cat * > filename.txt
--- End code ---
and attach it to your next post. And also tell me what the original name was. I'm curious to compare what the
before and after results look like.
--- End quote ---
Hi Rich
You mean "echo" right ?
--- Code: ---tc@laptop:/mnt/sda3/gibberish$ echo *.txt
??.txt
tc@laptop:/mnt/sda3/gibberish$ echo *.txt > filename.txt
tc@laptop:/mnt/sda3/gibberish$ cat *.txt > filecontent.txt
--- End code ---
The original name and content should both be "中文"
It's a test file created in windows environment.
When saving file with notepad, choose UTF-8 encoding
Rich:
Hi polikuo
I was hoping the question marks was how the OS was displaying unprintable characters, but they really are
question marks. Maybe this isn't a way of fixing this type of issue.
polikuo:
--- Quote from: liuzhaoyzz on January 19, 2022, 05:53:36 PM ---你之前不是建议我把tinycore.iso解压缩启动的吗?于是我在windows下面用7z解压缩到ext4分区,在grub.cfg里面添加tinycore的启动项,grub.cfg菜单见附件。
--- End quote ---
Sorry I didn't catch this one.
抱歉,漏掉了,沒看到這則。
--- Quote ---linux $2 quiet loglevel=3 tce=UUID="$uuid"/TinyCorePure64-12.0/cde/ showapps vga=791 lang=zh_CN.UTF-8 tz=GMT-8
--- End quote ---
You're assigning /etc/sysconfig/tcedir to a cde directory again.
We have talked about this before.
你這還是cde啊
我們前面已經講過了
--- Quote from: polikuo on January 13, 2022, 07:29:42 AM ---You should rename it to tce to prevent unwanted behavior.
天曉得系統內有多少程式會誤判你的配置,請改成tce避免不必要的麻煩。
--- End quote ---
Any name is fine but cde.
啥名子都好
就是不要cde
--- Code: ---sudo mv cde tce
--- End code ---
--- Quote from: liuzhaoyzz on January 19, 2022, 05:53:36 PM ---BTW,我从来没有用过tinycore官方的tc install.
--- End quote ---
tc-install is not for you, it use syslinux, you already have grub.
All you have to do is copy the files and adjust your bootloader.
Anyone will do, just don't use cde.
tc-install你用不上,你已經有grub了。
只需要把檔案複製過來,再改一下bootloader就好。
哪個都行,就是別叫cde。
--- Code: ---tce=UUID="$uuid"/TinyCorePure64-12.0/tce
--- End code ---
--- Code: ---tce=UUID="$uuid"/TinyCorePure64-12.0
--- End code ---
--- Code: ---tce=UUID="$uuid"
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version