ntfsprogs needed

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
Post Reply
att
Contributor
Contributor
Posts: 131
Joined: 28 Dec 2010, 17:09

ntfsprogs needed

Post#1 by att » 29 Jan 2011, 13:58

Hi
I would need NTFSPROGS for 64bit-slaxremix - especially fsck.ntfs or somesuch... anyone ?

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: ntfsprogs needed

Post#2 by Hamza » 29 Jan 2011, 14:12

Try this script ! :)

Code: Select all

#!/bin/bash

# SRC = Source Link
# TMP = /tmp/$NAME folder
# TMP_SRC = /tmp/$NAME-src


SRC=http://slackware.cs.utah.edu/pub/slackware/slackware64-13.1/slackware64/ap/ntfsprogs-2.0.0-x86_64-2.txz
NAME='NTFS Progs'
F_NAME=ntfs_progs
TMP=/tmp/$F_NAME
TMP_SRC=/tmp/$F_NAME-src
F_1=$TMP_SRC/ntfsprogs-2.0.0-x86_64-2.txz
CPU=`uname -m`
CWD=`pwd`
F_LAST=$CWD/$F_NAME-$CPU.lzm

clear
echo "===============> PORTEUS <==============="
echo 
echo "Welcome to $NAME Installer for Porteus"
echo "Press any touch for start the install"
read junk

clear

echo "Downloading...."
if [ -d $TMP ]; then rm -Rf $TMP
else 
	mkdir $TMP
fi
if [ -d $TMP_SRC ]; then rm -Rf $TMP_SRC
else 
	mkdir $TMP_SRC
fi

cd $TMP_SRC
wget $SRC

clear
if [ -e $F_1 ]; then
echo "Building of the module..."
txz2lzm $F_1 $F_LAST
else
echo "Check your internet connection !"
echo "Build of the module failed !"
fi

# Check if the file is compiled by mksquashfs
clear
if [ -e $F_LAST ]; then
echo "===============> PORTEUS <==============="
echo "Your module $NAME is ready !"
echo "Thanks to all Porteus Community !"
echo "-----------------------------------------"
echo "Your module is saved in $CWD folder"
echo "-----------------------------------------"
echo "Cleaning of the system..."
else
	clear
	echo "Build of your module failed !"
	echo "Report this bug to Porteus Forum !"
	echo "Cleaning of the system"
	rm -Rf $TMP
	rm -Rf $TMP_SRC
fi
if [ -d $TMP ]; then rm -Rf $TMP
fi
if [ -d $TMP_SRC ]; then rm -Rf $TMP_SRC
fi
NjVFQzY2Rg==

att
Contributor
Contributor
Posts: 131
Joined: 28 Dec 2010, 17:09

Re: ntfsprogs needed

Post#3 by att » 30 Jan 2011, 14:47

I tried it with the script and by manually trying to use "txz2lzm" - no luck:

bash-4.1# txz2lzm ntfsprogs-2.0.0-x86_64-2.txz ntfsprogs-2.0.0-x86_64-2.sq4.lzm

Verifying package ntfsprogs-2.0.0-x86_64-2.txz.
Installing package ntfsprogs-2.0.0-x86_64-2.txz:
PACKAGE DESCRIPTION:
# ntfsprogs (utilities for working with NTFS volumes)
#
# The ntfsprogs includes utilities for doing all required tasks to NTFS
# partitions. In general, just run a utility without any command line
# options to display the version number and usage syntax. The following
# utilities are implemented (so far): ntfsfix, mkntfs, ntfslabel,
# ntfsundelete, ntfsresize, ntfsclone, ntfscluster, ntfsinfo, ntfsls,
# ntfscat, ntfscp, and ntfsmount.
#
# The Linux-NTFS home page is: http://www.linux-ntfs.org/
#
/sbin/ldconfig: /usr/lib/libQtXml.so.4 ist kein symbolischer Link
/sbin/ldconfig: /usr/lib/libQtNetwork.so.4 ist kein symbolischer Link
/sbin/ldconfig: /usr/lib/libQtGui.so.4 ist kein symbolischer Link
/sbin/ldconfig: /usr/lib/libQtCore.so.4 ist kein symbolischer Link

Executing install script for ntfsprogs-2.0.0-x86_64-2.txz.
Package ntfsprogs-2.0.0-x86_64-2.txz installed.

mksquashfs: invalid option --------> ???? :unknown: :(

Posted after 18 minutes 54 seconds:
I'm sorry. I checked out all the scripts called and the dir2lzm script calls another script called "create_module".
This one was missing on my system, no idea why. (I use slax-remix v09, probably not the latest version...)

I manually made a command: "mksquashfs tempdir modulename.sq4.lzm" which produced the needed module out of the temp directory like a charm. :roll:

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: ntfsprogs needed

Post#4 by Hamza » 30 Jan 2011, 15:02

Sorry , but , i written my script for last version Porteus , not for Slax-Remix , there are small changes between slax-remix and porteus !
NjVFQzY2Rg==

Post Reply