Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: dreamhua on April 13, 2025, 02:12:26 PM

Title: Unable to mount, please help me, thank you
Post by: dreamhua on April 13, 2025, 02:12:26 PM
No such file or directory
Title: Re: Unable to mount, please help me, thank you
Post by: Rich on April 13, 2025, 05:29:27 PM
Hi dreamhua
Welcome to the forum.

Check if the xfs driver loaded:
Code: [Select]
lsmod | grep xfs
If not, then:
Code: [Select]
sudo modprobe xfs
Title: Re: Unable to mount, please help me, thank you
Post by: dreamhua on April 16, 2025, 07:05:49 PM
How to install the xfs driver, including how to run the driver, can you give me the complete command? Thank you very much!!!
Title: Re: Unable to mount, please help me, thank you
Post by: Rich on April 16, 2025, 09:26:12 PM
Hi dreamhua
First make sure you have filesystems-KERNEL.tcz and all of its dependencies installed:
Code: [Select]
tce-load -wl filesystems-$(uname -r).tcz
Then install the driver like this:
Code: [Select]
sudo modprobe xfs
Then mount your device:
Code: [Select]
sudo mount -t xfs /dev/sda1 /mnt/mydisk
Which version of Tinycore are you running, TC14, TC15, TC16?
Are you running x86 or ARM?
Are you running 32 or 64 bit?
Title: Re: Unable to mount, please help me, thank you
Post by: dreamhua on April 17, 2025, 02:03:47 PM
64,TC16,Thank you very much!!!
Title: Re: Unable to mount, please help me, thank you
Post by: patrikg on April 17, 2025, 02:48:07 PM
May I ask you if @Rich solved your problem ?
Title: Re: Unable to mount, please help me, thank you
Post by: dreamhua on April 17, 2025, 03:36:09 PM
cd /tmp

cd /tmp
wget http://tinycorelinux.net/16.x/x86/tcz/gettext.tcz
wget http://tinycorelinux.net/16.x/x86/tcz/readline-dev.tcz
wget http://tinycorelinux.net/16.x/x86/tcz/bash.tcz
wget http://tinycorelinux.net/16.x/x86/tcz/coreutils.tcz
wget http://tinycorelinux.net/16.x/x86/tcz/xfsprogs-dev.tcz
wget http://tinycorelinux.net/16.x/x86/tcz/xfsprogs.tcz


I have downloaded the extension. How to install it, what are the commands, how to run it, and what are the commands? Thank you

Title: Re: Unable to mount, please help me, thank you
Post by: dreamhua on April 17, 2025, 04:37:06 PM
Please see the picture in the attachment, thank you.
Title: Re: Unable to mount, please help me, thank you
Post by: Rich on April 17, 2025, 05:21:45 PM
Hi dreamhua
You did not follow my instructions.

This command will download and install the extensions:
Code: [Select]
tce-load -wl filesystems-$(uname -r).tcz
This command will install the xfs driver:
Code: [Select]
sudo modprobe xfs
Title: Re: Unable to mount, please help me, thank you
Post by: dreamhua on April 17, 2025, 06:00:14 PM
These are my steps:
一、
1:tce-load -wl filesystems-$(uname -r).tcz
2:sudo modprobe xfs
This will prompt:modprobe: module xfs not found in modules .dep

二:
1:tce-load -wl filesystems-$(uname -r).tcz
2:wget http://tinycorelinux.net/16.x/x86_64/tcz/xfsprogs.tcz
3:tce-load -i xfsprogs.tcz
4:sudo modprobe xfs
There will still be prompts here:modprobe: module xfs not found in modules .dep
Title: Re: Unable to mount, please help me, thank you
Post by: Rich on April 17, 2025, 09:06:09 PM
Hi dreamhua
Using tce-load should have automatically run:
Code: [Select]
sudo /sbin/depmod -a 2>/dev/nullThat should allow modprobe to find xfs.

Try loading the driver like this:
Code: [Select]
sudo modprobe /usr/local/lib/modules/6.12.11-tinycore64/kernel/fs/xfs/xfs.ko.gz