General TC > International Talk

(中文) How can I automatically load all partitions when tinycore starts?

<< < (22/26) > >>

polikuo:

--- Quote from: Rich on January 19, 2022, 10:59:47 AM ---Hi polikuo
Based on reply #99, it sounds like installing Tinycore to ext4 with proper locale works. Once installed, a separate
VFAT partition could be created and mounted with any parameters desired to be used for file sharing with Windows.

--- End quote ---
Hi Rich.
Assumption confirmed, I can replicate that.
However, ever file has to be created with locale support, otherwise it stays in gibberish.
For instance, I have 2 partitions, one FAT, one EXT4.
Now boot TC without locale support, than copy a file with asterisk (*).
You'll see question marks even after you load the locale support.
The filename is corrupted.

Rich:
Hi polikuo

--- Quote from: polikuo on January 19, 2022, 11:12:21 AM --- ... However, ever file has to be created with locale support, otherwise it stays in gibberish. ...
--- End quote ---
I was under the impression that locale support would already be in place when implementing that.

Rich:
Hi polikuo

--- Quote from: polikuo on January 19, 2022, 11:12:21 AM --- ... You'll see question marks even after you load the locale support.
The filename is corrupted.
--- End quote ---
I think I read somewhere that  iconv  can be used to restore the filenames.

Rich:
Hi polikuo

--- Quote from: polikuo on January 19, 2022, 11:12:21 AM --- ... You'll see question marks even after you load the locale support.
The filename is corrupted.
--- End quote ---
Seems there is actually a tool to deal with that:

--- Quote ---convmv - converts filenames from one encoding to another
--- End quote ---
Found here:
http://manpages.ubuntu.com/manpages/trusty/man1/convmv.1.html

A more detailed description from the Ubuntu repo:

--- Quote ---convmv can convert a single filename, a directory tree or all files
 on a filesystem to a different encoding. It only converts the
 encoding of filenames, not files contents. A special feature of
 convmv is that it also takes care of symlinks: the encoding of the
 symlink's target will be converted if the symlink itself is being
 converted.
 
 It is also possible to convert directories to UTF-8 which are already
 partially UTF-8 encoded.
--- End quote ---
Found here:
https://launchpad.net/ubuntu/trusty/+package/convmv

liuzhaoyzz:

--- Quote from: polikuo on January 19, 2022, 10:43:08 AM ---
--- Quote from: liuzhaoyzz on January 19, 2022, 09:39:09 AM ---但是我不想用ext4分区,因为他们在windows下面难以访问,我除了尝试linux,我还有windows系统呢。
paragonextfs,感觉对于ext4分区访问,在虚拟机中文件感觉不会实时更新。

--- End quote ---
You've obviously misunderstood what we're talking about.
You can keep the distribution files in your FAT partition.
Just the tce directory along with the "optional" one inside.
Then specify the location of the tce directory with your "cheatcode".
Like all the other linux distro, the bootloader can be put into a dedicated partition.
How does your grub.cfg look like now after all the adjustments ?

你顯然誤會我們的意思了,我沒要你把vmlinuz64跟corepure64.gz拿出來。
我只要你的tce資料夾,還有它裡面的optional資料夾,套件都放這。
再從grub2指定資料夾位置即可。
就像其他linux發行版,大家都可以設定獨立的bootloader分割槽(分區)。
經過前面各種改動後,你現在的grub.cfg長怎樣 ?

--- End quote ---

你之前不是建议我把tinycore.iso解压缩启动的吗?于是我在windows下面用7z解压缩到ext4分区,在grub.cfg里面添加tinycore的启动项,grub.cfg菜单见附件。
BTW,我从来没有用过tinycore官方的tc install.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version