SARPi Project - Slacking on a Raspberry Pi
Mount your USB memory stick [optional]
In order to read files from your USB memory stick, or any storage device, it must be mounted on the system. Although in the case of USB memory sticks for the purpose of using them as a Slackware source media location it's not necessary, because the installer will automagically detect and use it for these purposes. However, this process allocates a directory to the USB memory stick so it can be accessed like any other storage device or directory on a Linux system. It's a good thing to learn if you're not already familiar with how to do it.
You don't *have* to mount your USB memory stick for Slackware Linux installation as there is a 'Install from USB Stick' option later on in the setup which will save you the time and trouble. It's still good practice to mount it in any case.
Those who are using the network or a FTP/HTTP server as their Slackware source don't have to mount a USB stick, obviously.
Remember: from the previous section, '/dev/sda1' is the device name and partition on our USB memory stick where the Slackware Linux source files are located. This is the partition we will need to mount in order to view those files. Note that /dev/sda1 is the designation of our USB memory stick. Yours may be different.
You can mount this partition in an existing '/mnt/' directory BUT... pay attention to what the '/mnt/README' file says first.
This README file advises that "/mnt/tmp is also provided for the purpose of mounting any kind of volume temporarily" and that's what you're going to do. Why? These documents are not written or put there to make the directory look good. Every document file in Slackware has a reason and a purpose that should be observed. That's why.
Yes, it's very possible to mount any storage device wherever you like, but right here and now you should stick to what's advised.
NB: Remember to use your own device name here if it's not '/dev/sda1'.
To mount your USB memory stick partition type the following:
root@slackware:~# ls /mnt/tmp
Now, depending on which version of Slackware Linux you've downloaded...
• For Slackware AArch64 current type:
• Or for Slackware ARM 15.0 type:
Once you've mounted your USB storage device containing the Slackware Linux source media successfully, you should have a list of files not too different from the screenshot below. The Slackware AArch64 and Slackware ARM source media tree files look quite similar at first glance but, obviously, the name of the directory containing these files should reflect which operating system they relate to and are intended for. There are subtle differences in the files present between Slackware Linux source media versions and it's prudent to become familiar with them.
Let's use the above commands on our system to verify results:
From the screenshot above it's all looking really good. All the files we expected to see are present and correct.
With your USB stick now mounted, you can continue to the next section of this tutorial... Run Slackware SETUP
•