PDA

View Full Version : How can I mount exFAT on SLES 11.3?



DanieW
15-Apr-2015, 16:43
I am stuck on having to use SUSE Ent Linux Server 11 SP 3 for the support of the Emulex fibre channel card

I would like to: mount.exfat-fuse /dev/sdx2 /mnt/exFAT/
If 'mount.exfat-fuse' is not a typo you can run the following command to lookup the package that contains the binary:
command-not-found mount.exfat-fuse
-bash: mount.exfat-fuse: command not found

Alternatively Trying exfat compiling on SLES 11.3 according to
https://code.google.com/p/exfat/wiki/HOWTO
I am now also stuck on
# zypper install subversion scons
:
No provider of 'subversion' found.
'scons' not found in package names. Trying capabilities.
No provider of 'scons' found.

I also can not get gparted (or gnome-disk-mount) installed on this system. Any pointers?

sudo rpm -Uvh exfat-utils-debugsource-1.1.1-1.3.x86_64.rpm went fine but with what should I compile this here?

/proc/partitions:
66 112 42968741376 sdx
66 113 131072 sdx1
66 114 42968608768 sdx2

gnome-mount is installed.... but
"
gnome-mount --write-settings --device /dev/sdx2 --mount-point /mnt/exFAT/
Writing settings for volume
hal udi: /org/freedesktop/Hal/devices/volume_uuid_1234_4321
"
gave no error or mounted stuff

malcolmlewis
15-Apr-2015, 18:07
On Wed 15 Apr 2015 03:44:01 PM CDT, DanieW wrote:


I am stuck on having to use SUSE Ent Linux Server 11 SP 3 for the
support of the Emulex fibre channel card

I would like to: mount.exfat-fuse /dev/sdx2 /mnt/exFAT/
If 'mount.exfat-fuse' is not a typo you can run the following command to
lookup the package that contains the binary:
command-not-found mount.exfat-fuse
-bash: mount.exfat-fuse: command not found

Alternatively Trying exfat compiling on SLES 11.3 according to
https://code.google.com/p/exfat/wiki/HOWTO
I am now also stuck on
# zypper install subversion scons
:
No provider of 'subversion' found.
'scons' not found in package names. Trying capabilities.
No provider of 'scons' found.

I also can not get gparted (or gnome-disk-mount) installed on this
system. Any pointers?

sudo rpm -Uvh exfat-utils-debugsource-1.1.1-1.3.x86_64.rpm went fine but
with what should I compile this here?

/proc/partitions:
66 112 42968741376 sdx
66 113 131072 sdx1
66 114 42968608768 sdx2

gnome-mount is installed.... but
"
gnome-mount --write-settings --device /dev/sdx2 --mount-point
/mnt/exFAT/
Writing settings for volume
hal udi: /org/freedesktop/Hal/devices/volume_uuid_1234_4321
"
gave no error or mounted stuff




Hi
Subversion, scons etc are on the SLE 11 SP3 SDK either download and add
the iso image (via YaST add on products), or check your SCC page for the
URL's and mirror credentials to add.

https://download.suse.com/Download?buildid=hF8sRGTVC04~

The gparted package is not part of SLE, you would need to look at
building locally. Use parted or YaST partitioner instead?

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

DanieW
16-Apr-2015, 07:26
Hi
Subversion, scons etc are on the SLE 11 SP3 SDK either download and add
the iso image (via YaST add on products), or check your SCC page for the
URL's and mirror credentials to add.

https://download.suse.com/Download?buildid=hF8sRGTVC04~

The gparted package is not part of SLE, you would need to look at
building locally. Use parted or YaST partitioner instead?

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

There is always a great answer for a stupid question:
" YaST partitioner" - this was just what I was looking for. THANKS How did I miss that? *shame*. Could it be the update that installed it? I doubt that.
But no, it does not see the partition as exfat - Linux native. I will check if it is and maybe NFS mount from that other OS.

Great answer: Have a nice day.
Danie

malcolmlewis
16-Apr-2015, 17:51
On Thu 16 Apr 2015 06:34:01 AM CDT, DanieW wrote:


malcolmlewis;27488 Wrote:
> Hi
> Subversion, scons etc are on the SLE 11 SP3 SDK either download and
> add the iso image (via YaST add on products), or check your SCC page
> for the
> URL's and mirror credentials to add.
>
> https://download.suse.com/Download?buildid=hF8sRGTVC04~
>
> The gparted package is not part of SLE, you would need to look at
> building locally. Use parted or YaST partitioner instead?
>
> --
> Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter
> #276890)
> SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel
> 3.12.39-47-default If you find this post helpful and are logged into
> the web interface, please show your appreciation and click on the
> star below... Thanks!

There is always a great answer for a stupid question:
" YaST partitioner" - this was just what I was looking for. THANKS How
did I miss that? *shame*. Could it be the update that installed it? I
doubt that.
But no, it does not see the partition as exfat - Linux native. I will
check if it is and maybe NFS mount from that other OS.

Great answer: Have a nice day.
Danie




Hi
I had to use exFAT SLED 12 -> MacBook so copied one of the builds on
OBS, grab the src rpm and rebuild locally and you should be good to go;
http://download.opensuse.org/repositories/home:/malcolmlewis:/SLE_12_General/SUSE_SLE-12_GA_standard/src/fuse-exfat-1.1.0-1.1.src.rpm

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

DanieW
16-Apr-2015, 21:56
Hi Malcolm
Is that the better way..
I did today -
rpm -Uvh /home/user/Downloads/glibc-devel-2.14.1-14.27.1.x86_64.rpm /home/user/Downloads/glibc-locale-2.14.1-14.27.1.x86_64.rpm /home/user/Downloads/glibc-2.14.1-14.27.1.x86_64.rpm
And then rpm -Uvh /home/user/Downloads/fuse-exfat-1.1.0-2.3.x86_64.rpm

I first tried scons and the other source as well but got stuck.

And did manage to get the exfat mount working but am slightly concerned about the *library too old* warning. Can I possibly loose data on copying to it...

Now I have to get back to id the other drives for the raid.... Thank you for your help.

Danie

malcolmlewis
16-Apr-2015, 23:14
On Thu 16 Apr 2015 09:04:01 PM CDT, DanieW wrote:


Hi Malcolm
Is that the better way..
I did today -
rpm -Uvh /home/user/Downloads/glibc-devel-2.14.1-14.27.1.x86_64.rpm
/home/user/Downloads/glibc-locale-2.14.1-14.27.1.x86_64.rpm
/home/user/Downloads/glibc-2.14.1-14.27.1.x86_64.rpm
And then rpm -Uvh /home/user/Downloads/fuse-exfat-1.1.0-2.3.x86_64.rpm

I first tried scons and the other source as well but got stuck.

And did manage to get the exfat mount working but am slightly concerned
about the *library too old* warning. Can I possibly loose data on
copying to it...

Now I have to get back to id the other drives for the raid.... Thank you
for your help.

Danie




Hi
You should rebuild the src rpm I pointed you at as your user....


rpmbuild --rebuild fuse-exfat-1.1.0-1.1.src.rpm

Then install the build rpm as root user, there should be no need for
those glib libraries, where did they come from, best remove if they are
not from SLES 11 SP3 and roll back to SUSE ones.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

DanieW
16-Apr-2015, 23:57
This sounds like good advice but I am now in new territory. Now I need some fixing. I rpm -e the previous one but could not remove the others
And now as user
rpmbuild --rebuild fuse-exfat-1.1.0-1.1.src.rpm
Installing fuse-exfat-1.1.0-1.1.src.rpm
warning: InstallSourcePackage: Header V3 RSA/SHA1 signature: NOKEY, key ID 3508c1dd
error: unpacking of archive failed on file /usr/src/packages/SPECS/fuse-exfat.spec: cpio: rename failed - Operation not permitted
error: fuse-exfat-1.1.0-1.1.src.rpm cannot be installed

and as root....
.....
AttributeError: SConfBase instance has no attribute 'CheckCC':
File "/usr/src/packages/BUILD/fuse-exfat-1.1.0/SConstruct", line 85:
if not conf.CheckCC():
error: Bad exit status from /var/tmp/rpm-tmp.68019 (%build)

RPM build errors:
InstallSourcePackage: Header V3 RSA/SHA1 signature: NOKEY, key ID 3508c1dd
Bad exit status from /var/tmp/rpm-tmp.68019 (%build)

You are right... I got these from an outside source.... rpm.pbone.net .. I am desperate ...;)

malcolmlewis
17-Apr-2015, 01:07
On Thu 16 Apr 2015 11:04:01 PM CDT, DanieW wrote:


This sounds like good advice but I am now in new territory. Now I need
some fixing. I rpm -e the previous one but could not remove the others
And now as user
rpmbuild --rebuild fuse-exfat-1.1.0-1.1.src.rpm
Installing fuse-exfat-1.1.0-1.1.src.rpm
warning: InstallSourcePackage: Header V3 RSA/SHA1 signature: NOKEY, key
ID 3508c1dd
error: unpacking of archive failed on file
/usr/src/packages/SPECS/fuse-exfat.spec: cpio: rename failed - Operation
not permitted
error: fuse-exfat-1.1.0-1.1.src.rpm cannot be installed

and as root....
......
AttributeError: SConfBase instance has no attribute 'CheckCC':
File "/usr/src/packages/BUILD/fuse-exfat-1.1.0/SConstruct", line 85:
if not conf.CheckCC():
error: Bad exit status from /var/tmp/rpm-tmp.68019 (%build)

RPM build errors:
InstallSourcePackage: Header V3 RSA/SHA1 signature: NOKEY, key ID
3508c1dd
Bad exit status from /var/tmp/rpm-tmp.68019 (%build)

You are right... I got these from an outside source.... rpm.pbone.net ..
I am desperate ...;)




Hi
You rebuild as user, install as root, and use zypper not rpm.....


zypper in <some_rpm>


As root user clean out the /usr/src/packages/ directories, then as root
chmod them


cd /usr/src/packages/
rm BUILD/*

Repeat for each directory, then;


cd /usr/src/packages/
pwd
chmod 0777 *


Don't get desperate, use OBS in your searches and only use rpms for SLE
11 SP3 and you will be fine, else build locally from a src rpm.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

DanieW
17-Apr-2015, 08:44
I feel like a noob. Despite your good instructions I am still missing something.

I still have 2 DeprecationWarnings and an error
SConfBase instance has no attribute 'CheckCC':

What I did as root:
cd /usr/src/packages
rm -r BUILD.*
chmod 0777 SOURCES/*
rm -r SOURCES/fuse-exfat-1.1.0.tar.*
rm -r SPECS/fuse-exfat.spec* (thus my chmod 0777 SPECS/* was not required)
rm -r /var/tmp/rpm-tmp.*
rm -r /var/tmp/fuse-exfat-1.1.0-build*

As user
~/Downloads> rpmbuild --rebuild fuse-exfat-1.1.0-1.1.src.rpm
Installing fuse-exfat-1.1.0-1.1.src.rpm
warning: InstallSourcePackage: Header V3 RSA/SHA1 signature: NOKEY, key ID 3508c1dd
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.24275
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf fuse-exfat-1.1.0
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/fuse-exfat-1.1.0.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd fuse-exfat-1.1.0
++ /usr/bin/id -u
+ '[' 1000 = 0 ']'
++ /usr/bin/id -u
+ '[' 1000 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.24275
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/fuse-exfat-1.1.0-build
++ dirname /var/tmp/fuse-exfat-1.1.0-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/fuse-exfat-1.1.0-build
+ cd fuse-exfat-1.1.0
+ CCFLAGS='-std=c99 -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ CPPFLAGS='-std=c99 -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ scons
scons: Reading SConscript files ...
/usr/lib64/python2.6/site-packages/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
/usr/lib64/python2.6/site-packages/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
AttributeError: SConfBase instance has no attribute 'CheckCC':
File "/usr/src/packages/BUILD/fuse-exfat-1.1.0/SConstruct", line 85:
if not conf.CheckCC():
error: Bad exit status from /var/tmp/rpm-tmp.24275 (%build)


RPM build errors:
InstallSourcePackage: Header V3 RSA/SHA1 signature: NOKEY, key ID 3508c1dd
Bad exit status from /var/tmp/rpm-tmp.24275 (%build)

Do you have sources for these as well?

I am about to go on leave -- reason for desparation - and - OBS
What is OBS? From: "https://obsproject.com/": Open Broadcaster Software is free and open source software for video recording and live streaming
Locally we refer to OBS as Old Brown Sherry - Great for stress releaving!

I have managed to down grade glibc 2.14 to 2.11 with YAST Add Remove Software
Thanks for the help

DanieW
17-Apr-2015, 11:56
I now have a couple of options for this:
File "/usr/src/packages/BUILD/fuse-exfat-1.1.0/SConstruct", line 85:
if not conf.CheckCC():
error: Bad exit status from /var/tmp/rpm-tmp.70842 (%build)

1) wait for someone to help ;^)
2) try extract the rpm and comment out from line 85 to 89 of SConstruct and rebuild or manually run -- either of which I am not sure of
3) Go on leave and try another day = Unhappy boss
4) Try the other dirty method and hope for the best... If data is corrupt.... I can always try other routes.
OBS...

malcolmlewis
17-Apr-2015, 13:15
On Fri 17 Apr 2015 11:04:02 AM CDT, DanieW wrote:


I now have a couple of options for this:
File "/usr/src/packages/BUILD/fuse-exfat-1.1.0/SConstruct", line 85:
if not conf.CheckCC():
error: Bad exit status from /var/tmp/rpm-tmp.70842 (%build)

1) wait for someone to help ;^)
2) try extract the rpm and comment out from line 85 to 89 of SConstruct
and rebuild or manually run -- either of which I am not sure of
3) Go on leave and try another day = Unhappy boss
4) Try the other dirty method and hope for the best... If data is
corrupt.... I can always try other routes.
OBS...




Hi
Looks like it needs a later version of scons for 11 SP3.

OBS is the openSUSE Build Service (collaborative packaging tool);
https://build.opensuse.org/

It's used for build rpm's etc, for the distribution, development and
users..

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

DanieW
17-Apr-2015, 23:21
I could not find my way on OBS.
I went for option 2 but could not get the rpm to install binaries - no error. I used rpmbuild -ba and then --rebuild.
Then I went for option 4 again with the openSUSE 12.4 rpm and hope for the best. So far so good.