WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: CorePure14 installed dosfstools but mkfs.vfat command can not use  (Read 500 times)

Offline yimding

  • Newbie
  • *
  • Posts: 7
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
« Last Edit: July 23, 2024, 05:54:15 AM by yimding »

Offline gadget42

  • Hero Member
  • *****
  • Posts: 702
Re: CorePure14 installed dosfstools but mkfs.vfat command can not use
« Reply #1 on: July 23, 2024, 11:15:10 AM »
were you using "sudo"?
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11468
Re: CorePure14 installed dosfstools but mkfs.vfat command can not use
« Reply #2 on: July 23, 2024, 12:38:33 PM »
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:
Code: [Select]
hash -rOr if you can't remember that command, just open a new terminal.

Offline yimding

  • Newbie
  • *
  • Posts: 7
Re: CorePure14 installed dosfstools but mkfs.vfat command can not use
« Reply #3 on: July 23, 2024, 09:42:27 PM »
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:
Code: [Select]
hash -rOr 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

« Last Edit: July 23, 2024, 09:44:03 PM by yimding »

Offline yimding

  • Newbie
  • *
  • Posts: 7
Re: CorePure14 installed dosfstools but mkfs.vfat command can not use
« Reply #4 on: July 23, 2024, 10:01:47 PM »
Hello Rich
i check the package dosfstools.tcz,md5sum :b6153a469d1d56e1e6895c6812a344cd

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11468
Re: CorePure14 installed dosfstools but mkfs.vfat command can not use
« Reply #5 on: July 23, 2024, 10:14:29 PM »
Hi yimding
i have installed dosfstools in corepure14, ...
That's a 64 bit operating system.

Quote
... 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:
Code: [Select]
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:~$

Offline yimding

  • Newbie
  • *
  • Posts: 7
Re: CorePure14 installed dosfstools but mkfs.vfat command can not use
« Reply #6 on: July 23, 2024, 11:02:29 PM »
Hi Rich
i change to install dosfstools x86_64 version has fix  my problem, thank you very much!! ;D ;D

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11468
Re: CorePure14 installed dosfstools but mkfs.vfat command can not use
« Reply #7 on: July 23, 2024, 11:06:22 PM »
Hi yimding
You are welcome.