LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 10-30-2018, 09:05 AM   #1
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 126

Rep: Reputation: 17
Slackware on Raspberry Pi - prepartitioning of microSD card


Hi guys, I am looking at the instructions at http://sarpi.fatdog.eu/index.php?p=infodrives. Would it be possible to do this partitioning already after the installation image is transferred to the microSD card in the http://sarpi.fatdog.eu/index.php?p=sdconfig step? That is, do all the partitioning beforehand to speed up the installation process.
Or, will the installation process on the Raspberry Pi not find these partitions in the http://sarpi.fatdog.eu/index.php?p=slacksetup step then?
 
Old 10-30-2018, 02:28 PM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
If you believe you're savvy enough, you can go for the manual Slackware ARM installation for your Pi.
After following the instructions to create the msdos partition for the bootloader+firmware+kernel (mkdosfs -F 16 /dev/sde1) you can use fdisk/cfdisk and partition the rest of the card at your will, format the partitions, fix the /boot/cmdline.txt file, unpack the miniroot in your root partition, create the fstab file, boot the Pi, mount the Slackware install media and start manually installing the packages:
https://docs.slackware.com/howtos:ha...rm:raspberrypi
+
http://ftp.slackware.pl/pub/slackwar...irootfs/roots/
+
https://www.linuxquestions.org/quest...9/#post5846280

Here's a storage customization example from one of my Raspberry Pi boxes - 16GB SD Card - note that I'm restrictive with logging & limiting the partition sizes for the folders that might get filled due to some internal issues/ external "attacks":
- /etc/fstab
Code:
/dev/mmcblk0p5   swap             swap        defaults         0   0
/dev/mmcblk0p2   /                ext4        defaults,noatime         1   1
/dev/mmcblk0p10  /var/spool/mail  ext4        defaults,noatime         1   2
/dev/mmcblk0p6   /tmp             ext4        defaults,noatime         1   2
/dev/mmcblk0p7   /var/log         ext4        defaults,noatime         1   2
/dev/mmcblk0p8   /var/run         ext4        defaults,noatime         1   2
/dev/mmcblk0p9   /var/tmp         ext4        defaults,noatime         1   2
/dev/mmcblk0p1   /boot            vfat        ro,noatime,fmask=177,dmask=077 1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults,size=100M         0   0
- partitions:
Code:
Device          Boot    Start      End  Sectors  Size Id Type
/dev/mmcblk0p1  *        2048   206847   204800  100M  c W95 FAT32 (LBA)
/dev/mmcblk0p2         206848 27469823 27262976   13G 83 Linux
/dev/mmcblk0p3       27469824 30590975  3121152  1.5G  5 Extended
/dev/mmcblk0p5       27471872 27881471   409600  200M 82 Linux swap
/dev/mmcblk0p6       27883520 29980671  2097152    1G 83 Linux
/dev/mmcblk0p7       29982720 30515199   532480  260M 83 Linux
/dev/mmcblk0p8       30517248 30537727    20480   10M 83 Linux
/dev/mmcblk0p9       30539776 30560255    20480   10M 83 Linux
/dev/mmcblk0p10      30562304 30590975    28672   14M 83 Linux

Last edited by abga; 10-30-2018 at 02:29 PM. Reason: typo
 
1 members found this post helpful.
Old 11-01-2018, 02:26 AM   #3
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by Olaus View Post
Hi guys, I am looking at the instructions at http://sarpi.fatdog.eu/index.php?p=infodrives. Would it be possible to do this partitioning already after the installation image is transferred to the microSD card in the http://sarpi.fatdog.eu/index.php?p=sdconfig step? That is, do all the partitioning beforehand to speed up the installation process.
Or, will the installation process on the Raspberry Pi not find these partitions in the http://sarpi.fatdog.eu/index.php?p=slacksetup step then?
Yes, it will work fine. Any partitions that have been created before you run Slackware Arm 'setup' will be detected during the installation process.

The SARPi pages you refer to are just enough to get you up and running. They're not intended to show you the best way, or the only way, to set up your Slackware ARM system. That's for you to decide.
 
1 members found this post helpful.
  


Reply

Tags
partitioning, raspberrry pi 3 model b



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What Linux-only filesystem to choose for a microSD card? haertig Linux - Software 13 04-17-2018 08:41 PM
[SOLVED] MicroSD Memory Card Recovery NotAComputerGuy Linux - Newbie 7 06-30-2014 08:44 PM
PengPod boot microSD card djheadley Linux - Software 1 04-15-2014 03:27 PM
Label of MicroSD memory card alfredo10 Linux - Hardware 2 07-02-2012 10:32 AM
Repair Corrupted microSD Card hkothari Linux - Hardware 5 06-14-2010 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration