On 24/04/12 16:19, Molnar Bence wrote:
> Both client boots fine. After transfer, on the destination client, i try
> to mount the partiton with ntfs-3g, and fails.
> (mkdir /mnt && cp /bin/fuse.ko /lib/modules/3.1.6udpcast/kernel/ &&
> depmod -a && modprobe fuse && /bin/ntfs-3g /dev/sda1 /mnt)
> Failed to write lock '/dev/sda1': Permission denied
> Error opening '/dev/sda1': Permission denied
> Failed to mount '/dev/sda1': Permission denied
By googling for the error messages, I found out that this was issued by
the last of your commands (/bin/ntfs-3g /dev/sda1 /mnt)
Most forums talking about this issue suggest that maybe the lock fails
because the device is already mounted.
You can find out whether this is actually the case by looking at
> I also tried to compile ntfs-3g with external fuse without results.
> Thanks for help.
> Now i tried to compile the entire udpcast and create an own image, but
> its failed also. Buildroot is compiled, but the compilation of busybox
> failed, it misses cc1 (i386-unknown-linux-uclibc-gcc: error trying to
> exec 'cc1': execvp: No such file or directory). But its a different
> stroy, if first problem solved, i dont care about this story.
Udpcast's busybox is now compiled with uclibc, in order to generate a
more compact executable. You need to install an uclibc environment first
(such as buildroot :http://buildroot.uclibc.org/ )
When compiling uclibc, make sure you chose "large file support" in make
menuconfig (ToolChain -> Toolchain Options, scroll way down, then check
"Enable large file (files > 2GB) support")