Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: yimding on July 23, 2024, 05:52:02 AM
-
i have installed dosfstools in corepure14, and i can see mkfs.vfat command in /usr/local/bin, but when i exec mkfs.vfat command
below is the command output, i don't know why?
# mkfs.vfat
-sh: mkfs.vfat: not found
the dosfstools.tcz i download from http://tinycorelinux.net/14.x/x86/tcz/
maybe i need to install some others tcz depends
-
were you using "sudo"?
-
Hi yimding
Welcome to the forum.
Sometimes after installing an extension, a terminal that was already open
doesn't know new commands are available. When that happens, enter
this command to make the terminal aware of the update:
hash -r
Or if you can't remember that command, just open a new terminal.
-
Hi yimding
Welcome to the forum.
Sometimes after installing an extension, a terminal that was already open
doesn't know new commands are available. When that happens, enter
this command to make the terminal aware of the update:
hash -r
Or if you can't remember that command, just open a new terminal.
hello Rich
i had exec hash -r in my system, but problem still exist
(https://forum.tinycorelinux.net/index.php?action=dlattach;topic=27170.0;attach=6829)
-
Hello Rich
i check the package dosfstools.tcz,md5sum :b6153a469d1d56e1e6895c6812a344cd
-
Hi yimding
i have installed dosfstools in corepure14, ...
That's a 64 bit operating system.
... the dosfstools.tcz i download from http://tinycorelinux.net/14.x/x86/tcz/ ...
That's a 32 bit extension.
64 bit extensions are here:
http://tinycorelinux.net/14.x/x86_64/tcz/
You should be using tce-load to install extensions.
My Corepure 14 shows this:
tc@box:~$ ls -al /tmp/tcloop/dosfstools/usr/local/sbin/
total 141
drwxr-xr-x 2 root root 181 May 26 2021 ./
drwxr-xr-x 3 root root 27 May 26 2021 ../
lrwxrwxrwx 1 root root 8 May 26 2021 dosfsck -> fsck.fat
lrwxrwxrwx 1 root root 8 May 26 2021 dosfslabel -> fatlabel
-rwxr-xr-x 1 root root 31016 May 26 2021 fatlabel
-rwxr-xr-x 1 root root 67992 May 26 2021 fsck.fat
lrwxrwxrwx 1 root root 8 May 26 2021 fsck.msdos -> fsck.fat
lrwxrwxrwx 1 root root 8 May 26 2021 fsck.vfat -> fsck.fat
lrwxrwxrwx 1 root root 8 May 26 2021 mkdosfs -> mkfs.fat
-rwxr-xr-x 1 root root 44064 May 26 2021 mkfs.fat
lrwxrwxrwx 1 root root 8 May 26 2021 mkfs.msdos -> mkfs.fat
lrwxrwxrwx 1 root root 8 May 26 2021 mkfs.vfat -> mkfs.fat
tc@box:~$
-
Hi Rich
i change to install dosfstools x86_64 version has fix my problem, thank you very much!! ;D ;D
-
Hi yimding
You are welcome.