LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   NEWBIE: Help doing basic things inc exfat/ntfs support (http://www.linuxquestions.org/questions/slackware-14/newbie-help-doing-basic-things-inc-exfat-ntfs-support-4175453039/)

rexel99 03-06-2013 09:24 PM

NEWBIE: Help doing basic things inc exfat/ntfs support
 
Hi, I just installed Slackware 14.0 on my Rasp-Pi.
When trying to mount devices like an SD card I get..
root@raspi:/mnt# mount /dev/sdb1 /mnt/sd-card
mount: unknown filesystem type 'exfat'

Problem is I am not familiar with Slack enough to know (or find out) how to add the drivers for this and NTFS disks. I am hoping somebody can point me to some beginners steps/guide on how to download a package file (I have seen exfat-fuse around) and also how to extract and install it please. Baby steps.. :-)

Thanks in anticipation.

rexel99 03-07-2013 12:04 AM

A little progress
 
Have figured out that exfat needs scons and I found that but no idea how to get them installed...
Also ok with NTFS now too..

maciuszek 03-07-2013 07:35 AM

exfat: http://slackbuilds.org/repository/14...em/fuse-exfat/ //follow the deps and build/install your way up
ntfs: mounting for reads can be done with just the ntfs although for writing you will have to take advantage of fuse again via ntfs-3g.

anyway make sure you have fuse compiled or (modular n loaded) in your running kernel.

maciuszek 03-07-2013 09:47 AM

being a "NEWBIE"
i recommend not to do stuff blindy or based on others suggestions -> learning from trial and error.

instead have a look at the slackbook regardless of it's age -> understand the foundation.
read the release notes and other documentation ( even UPDATING and CHANGESANDHITS to get an understanding ) at least for the current being 14.0 as of this post.
read the documentation on slackware.com, even if some is completely obsolete.

since "Have figured out that exfat needs scons and I found that but no idea how to get them installed...", let's me assume you don't know what slackbuild scripts are, it should be a goal to relize how the system is recommened to be handle. being in this case how packages work in slackware, of course you can just rely on source and/or direct installs, linux is linux, but i highly suggest straying away from that.

onebuck 03-07-2013 10:26 AM

Member Response
 
Hi,

You can use 'Slackware ARM 14.0' which can be downloaded from Slackwarearm Get Slack page. As to the 'changes and hints' for Slackwarearm, you should look at slackwarearm-14.0/CHANGES_AND_HINTS.TXT

You should look at the other informational files at ftp://ftp.arm.slackware.com/slackwar...kwarearm-14.0/

Look at Slackware ARM on the Raspberry Pi;
Quote:

Here are some resources and notes to get you up and running with Slackware ARM aka ARMedslack.
Note that the Raspberry Pi platform is not supported by the Slackware ARM team, and Slackware ARM is not supported by the Raspberry Pi Foundation. This page and these resources are an unofficial community effort.
Slackware Installer

There are instructions for using the Slackware installer to install Slackware ARM on your Raspberry Pi on the Installing page. You can install either Slackware ARM 13.37 or Slackware ARM Current, from the network or from USB. Download Slackware ARM 13.37 or Current from ftp://ftp.armedslack.org/armedslack/ and put it on an accessible NFS or FTP or web server, or onto a USB storage device that can be plugged into your Pi.
It is recommended that you should install everything except for the packages in series f, k, kde and kdei. (Omitting f and k will save disk space. KDE works, but is a bit impractical on a small system like the Pi.)
My Slackwarearm is fully functional on my raspPi and a easy install.

rexel99 03-07-2013 03:12 PM

Quote:

Originally Posted by maciuszek (Post 4906663)
exfat: http://slackbuilds.org/repository/14...em/fuse-exfat/ //follow the deps and build/install your way up
ntfs: mounting for reads can be done with just the ntfs although for writing you will have to take advantage of fuse again via ntfs-3g. anyway make sure you have fuse compiled or (modular n loaded) in your running kernel.

Hi all, thanks for the answers but they miss the vital steps I am needing help with..

My situation so far is that NTFS works fine (natively) for both reading and writing..
I have FUSE (within the slackware 14.0 on the RasPi) loaded and ready..

My only issue now is making exfat work.

When I download and extract scons (required for exfat from www.scons.org), it expands into two directories, install/ and usr/ (containing bin,doc,lib,man,src)

Following instructions from http://slackbuilds.org/howto/
install contains a doinst.sh (and some other files)..
./doinstall.sh (or sudo) returns command not found.. :-(
Going into /usr/src/slackbuilds/scons-2.2.0# there is a scons.SlackBuild (which I changed to executable) and executed, it returned
line 25: ../../slack-package.conf: No such file or directory - The file is not there so that makes 'building' it a bit hard.

TheSlackBook is quite helpful but not a great read, trying to find relevant sections for what I am trying to do are not well covered.
I have a fair foundation in this stuff but very rusty in the details (raspians apt-get has spoiled me) so I tend to trip at every (all too common) error building/installing and even finding the relevant things to do.

Any further steps that I am missing or anybody can help with on building scons so i can get to the next step of exfat please?

astrogeek 03-07-2013 05:33 PM

Quote:

Originally Posted by rexel99 (Post 4907001)
When I download and extract scons (required for exfat from www.scons.org), it expands into two directories, install/ and usr/ (containing bin,doc,lib,man,src)

Following instructions from http://slackbuilds.org/howto/
install contains a doinst.sh (and some other files)..
./doinstall.sh (or sudo) returns command not found.. :-(
Going into /usr/src/slackbuilds/scons-2.2.0# there is a scons.SlackBuild (which I changed to executable) and executed, it returned
line 25: ../../slack-package.conf: No such file or directory - The file is not there so that makes 'building' it a bit hard.

I am not a pi user, but if I understand correctly what you are saying, then I think that you do not understand how to use the slackbuild package system. Let me try to give a clear explanation for the scons package (and here I assume that it is the same on the pi as on X_86)

1. Download the scons.tar.gz from SBo: here
2. tar -xvzf scons.tar.gz; cd scons;
3. Download the scons source from the URL givne in the scons.info maybe with wget (scons-2.2.0.tar.gz)
4. Check the MD5 of the source: md5sum scons-2.2.0.tar.gz; (Compare to MD5 in scons.info)
5. Make scons.SlackBuild executable: chmod 755 scons.SlackBuild
6. Run the slackbuild (as root): ./scons.SlackBuild
7. That will leave the package in the /tmp directory, something like /tmp/scons-2.2.0...SBo.txz
8. Then as root: installpkg /tmp/scons-2.2.0...SBo.txz

You should be done!

rexel99 03-07-2013 07:19 PM

Quote:

Originally Posted by astrogeek (Post 4907066)
3. Download the scons source from the URL givne in the scons.info maybe with wget (scons-2.2.0.tar.gz)
You should be done!

Getting the source stuff too, seperatly, this would be my mistake.. and the extra install instructions look very helpful.
Thank you so much, will let you know shortly how it goes.

rexel99 03-07-2013 07:47 PM

Quote:

Originally Posted by astrogeek (Post 4907066)
You should be done!

You are a star, thank you.
The scon source had the setup.py which ran and installed properly with the suggested python setup.py install,
Fuse-exfat requires the make exfat-fuse.SlackBuild and then the installpkg

Two Thumbs Up..

astrogeek 03-07-2013 07:54 PM

You are welcome! Good luck!

Always remember that the SBo scripts will almost always require you to download the source.

Simply put that int the same directory with the untarred build script and then build and install - easy formula!


All times are GMT -5. The time now is 03:18 PM.