SARPi Project - Slacking on a Raspberry Pi


Running Slackware Linux setup

Type 'setup' at the command prompt.

root@slackware:~# setup

This is the main setup interface you will use to install Slackware Linux. Use the cursor keys to navigate in the menus.

If you're not using a US keyboard, and haven't already set a keyboard map yet, you should do it now. Select 'KEYMAP' and press the key. Select the keymap you wish to use and press again. You will be given the opportunity to test out the keymap you've selected. Then enter "1" on the line on its own and press the key to save the keymap setting and continue.

Slackware setup keymap

Selecting 'ADDSWAP' and pressing the key is what you should do next.

Slackware setup

Next you are required to setup your swap space.

SARPi Project muse views ...You'll notice in our screenshot below there are two /swap partitions. This is because we have left our NVMe SSD connected to our Raspberry Pi 5 while using it to install Slackware Linux. So if you are confused or wondering why it is there, that's the reason. It's probably better to ignore the '/dev/nvme' device from here in this guide.

Having the NVMe SSD installed is certainly not going to cause any problems, but it will greatly assist us with installing Slackware Linux. We basically have 24GB /swap space available. For installing Slackware packages it's going to be quite phenomenal.

Slackware setup

The only partition you should be concerned with is '/dev/mmcblk0p2' (or whichever is your designated /swap partition device name) and you can just press the key to accept this setting. When asked to check the swap partition for bad blocks select < No >. You will receive the following confirmation screen where you can just press the key to continue:

Slackware setup

Now you need to specify which partition you want to use for your root. The partition for this is on the microSD card - '/dev/mmcblk0p3' - so select it and press the key.

Slackware setup

On the next screen, select 'Quick format with no bad block checking' and press the key. If you would like to check the integrity of your storage device then select 'Slow format that checks for bad blocks', but we aware that this option may take some time depending on the size of the partition.

SARPi Project muse views ... Formatting the root partition could take up to an hour, depending on the speed of your microSD card and Raspberry Pi version.

Slackware setup

You are able to format the root partition using various filesystem types. Throughout this SARPi guide 'ext4' is the root filesystem type that's used. Select your preferred filesystem type for the root partition in the list and press the key to format it.

SARPi Project muse views ... More information on Linux filesystem types can be found in the Slackbook - "Working with Filesystems" section.

Slackware setup

Your partition is now being formatted.

Slackware setup

Once formatting has completed you would normally select '< OK >' and press the key. We'll select '< Continue >' because we do not want to format our NVMe SSD root partition.

Slackware setup

Press the key to accept and enter the new setting into your /etc/fstab.

setup /etc/fstab

For systems without a real time clock (RTC) you will be asked if you want to skip 'fsck checks' (filesystem checking) at boot time.

Slackware setup

You should select < Yes > and hit the key to turn off 'fsck checks'.

Now you will see this next screen which tells you there are FAT or NTFS partitions found on your system.

Slackware setup

Select < Yes > and proceed to the next screen for a list of partitions.

In the example screenshot below; the '/dev/mmcblk0p1' partition is the FAT32 /boot directory on the microSD card. The '/dev/nvme0n1p1' partition is the FAT32 /boot directory on our NVME SSD. The '/dev/sda1' partition is our 16GB USB memory stick containing the Slackware Linux source. The microSD card's FAT32 /boot directory is the only partition in this list that you'll want to add to your /etc/fstab entries.

Slackware setup

With '/dev/mmcblk0p1' highlighted at the top and < Select > at the bottom, press the key.

Slackware setup

Select 'Root has read/write access, users have no access' and press the key.

The next screen asks you where the partition is to be mounted. You want it mounted as your boot partition. Type /boot in the text box and press the key.

Slackware setup

Select < OK > on the next screen at continue.

Slackware setup

When this screen refreshes, select < Continue > and do not add any more FAT or NTFS partitions. If you have your USB memory stick plugged in, this should be the only other FAT partition listed. We have the NVME SSD drive installed and this is why it's listed.

Slackware setup

Now you can continue to the next section of this guide... Selecting Slackware Linux source media

Back to Top


Updated: 2024-03-08 16:45:09 UTC

Disclaimer: The SARPi Project website is for non-commercial and general information purposes only. The content is provided by Penthux.NET and while we endeavour to keep information up to date and correct, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or any information, software, products, services, or related graphics which is available on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk. In no event will Penthux.NET be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website or any of its contents. Through this website you are able to visit other websites which are not under our control. Penthux.NET has no influence over the nature, content or availability of any external URLs. The inclusion of any URLs does not necessarily imply a recommendation or endorsement of any content therein. Every effort is made to ensure the SARPi Project website remains accessible. However, Penthux.NET takes no responsibility for, and will not be liable for, the SARPi Project website being temporarily unavailable due to technical issues beyond our control. SARPi Project is in no way affiliated with Slackware Linux, Inc, or the Linux Foundation, or Raspberry Pi Ltd., or any of their respective members, trustees, partners, or associates.


Accept!

SARPi Project uses cookies for website traffic data analytics purposes only. Cookies from this website do not collect or store any of your personal data.

Please read the SARPi Project website [ Cookie Policy ] for more details.