Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Instructions to build and install ntfs-3g for amd64 on dapper:
1. Add the source repo to your /etc/apt/sources.list:
Code:
deb-src http://flomertens.keo.in/ubuntu/ dapper main main-all
2. Create a directory where we will build the packages (you may delete it at the end of the process :
Code:
mkdir build
cd build
3. get the needed package :
Code:
sudo apt-get update
sudo apt-get install build-essential automake fakeroot debhelper autotools-dev cdbs pkg-config
4. Get the makedev package, built it and install it :
Code:
fakeroot apt-get source -b makedev
sudo dpkg -i makedev*.deb
5. Get the source of fuse, build it and install it :
Code:
fakeroot apt-get source -b fuse
sudo dpkg -i *fuse*.deb
6. Get the source of ntfs-3g, build it and install it :
Code:
fakeroot apt-get source -b ntfs-3g
sudo dpkg -i *ntfs*.deb
7. (optional if you want better integration, like icone in place...)
Get the source of hal, build it and install it :
Code:
sudo apt-get install debhelper cdbs python python2.4 python2.4-dbus libdbus-glib-1-dev libglib2.0-dev libsysfs-dev libexpat1-dev libpopt-dev pkg-config pciutils libcap-dev doxygen intltool libusb-dev sharutils
fakeroot apt-get source -b hal
sudo dpkg -i *hal*.deb
8. (optional only for removable device)
Get the source of pmount, build it and install it :
Code:
sudo apt-get install build-essential automake fakeroot debhelper autotools-dev cdbs libsysfs-dev libhal-dev libhal-storage-dev intltool
fakeroot apt-get source -b pmount
sudo dpkg -i *pmount*.deb
And that's all.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
Originally Posted by
givré
Hi Cariboo1938,
- build & install fuse for amd64 :
Code:
cd fuse-2.5.3-1
dpkg-buildpackage -rfakeroot
And that's all. Tell me how it worked.
Hi givré,
I'm glad you answered so quick.
I got to "- build & install fuse for amd64" without error.
Here I got a long list of messages:
Quote:
owner@Owner-Desktop:~$ cd /home/owner/fuse-2.5.3
owner@Owner-Desktop:~/fuse-2.5.3$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is fuse
dpkg-buildpackage: source version is 2.5.3-1
dpkg-buildpackage: source changed by Florent Mertens <flomertens@yahoo.fr>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
/usr/bin/make distclean
make[1]: Entering directory `/home/owner/fuse-2.5.3'
make[1]: *** No rule to make target `distclean'. Stop.
make[1]: Leaving directory `/home/owner/fuse-2.5.3'
make: [clean] Error 2 (ignored)
debconf-updatepo
print() on closed filehandle OUT at /usr/share/intltool-debian/intltool-extract line 827, 829, 838, 845, 853
Cannot open POTFILES.in.temp for writing at /usr/share/intltool-debian/intltool-update line 628.
make: *** [clean] Error 1
owner@Owner-Desktop:~/fuse-2.5.3$
I didn't do more, because I thought I let you first know about this .
(BTW: The directory created was fuse-2.5.3)
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
Originally Posted by
Cariboo1938
(BTW: The directory created was fuse-2.5.3)
right, just change it.
For the error, i don't really know what's wrong. Try to comment debconf-updatepo in debian/rules and retry.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Could you please tell me with repros I should use now? I got the same errors with those above guys...Which could make the latest update work correctly, givre? Thanks :)
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
edgy or dapper ?
which repo do you use right now ?
what is the error you get ?
Normally, everything should work now.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Hi givre, I use this repro, for Dapper:
#Givre's repository (ntfs-3g & fuse 2.5.3)
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ dapper main
deb-src http://ntfs-3g.sitesweetsite.info/ubuntu/ dapper main
when I did sudo apt-get dist-upgrade, I got this:
The following packages have been kept back:
libntfs-3g ntfs-3g
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
Originally Posted by
DC@DR
Use any other for the moment. The fix has been send and should be upload soon.
Sorry.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Now I got it installed, cool, thanks givré :). I just have a small question: The ntfs-3g driver works great for me, but when I want to delete some files in NFTS partitions, they weren't sent to recycle bin at all, the files actually still stay there in the partitions, in the folder named .Trash-username. I then have to cd to that folder, then use rm -rf *.* to empty that...Is there any better ways to delete files in NTFS partitions without using command line? :)
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
Originally Posted by
givré
right, just change it.
For the error, i don't really know what's wrong. Try to comment debconf-updatepo in debian/rules and retry.
Hi givré,
I made a terrible mistake. First I did what you recommended (comment debconf-updatepo in debian/rules) and then I thought I have to delete the directory 'fuse-2.5.3' to started all over again. This is what happened:
Quote:
owner@Owner-Desktop:~$ sudo apt-get install build-essential automake fakeroot debhelper autotools-dev cdbs pkg-config
Reading package lists... Done
Building dependency tree... Done
build-essential is already the newest version.
Note, selecting automake1.4 instead of automake
automake1.4 is already the newest version.
fakeroot is already the newest version.
debhelper is already the newest version.
autotools-dev is already the newest version.
cdbs is already the newest version.
pkg-config is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
owner@Owner-Desktop:~$ sudo apt-get source fuse ntfs-3g
Reading package lists... Done
Building dependency tree... Done
E: Could not open file /var/lib/apt/lists/givre.cabspace.com_ubuntu_dists_dapper_main_source _Sources - open (2 No such file or directory)
owner@Owner-Desktop:~$
I'm sorry, I feel really stupid and bad...how can I fix this?
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
Originally Posted by
DC@DR
Now I got it installed, cool, thanks givré :). I just have a small question: The ntfs-3g driver works great for me, but when I want to delete some files in NFTS partitions, they weren't sent to recycle bin at all, the files actually still stay there in the partitions, in the folder named .Trash-username. I then have to cd to that folder, then use rm -rf *.* to empty that...Is there any better ways to delete files in NTFS partitions without using command line? :)
<Ctrl-H> using nautilus will show you hidden files and so you'll be able to view & delete the .Trash* folder. This is a known issue, no better way for the moment.