LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-21-2020, 10:57 PM   #1
eduardr
Member
 
Registered: Sep 2011
Distribution: Slackware64 14.2+ (-current)
Posts: 82

Rep: Reputation: Disabled
RPi4 (Sarpi) - Installs OK from USB stick, but not from pre-mounted dir on /floppy


Ran into an interesting issue going through the Sarpi install guide to install the latest slackwarearm-current to my new RPi4.

I mounted a device (Win95 32 LBA) to /floppy containing slackwarearm-current (all the packages), according to the installer guide recommending /floppy as a good mount point for the source packages.

When I tried installing with source set to Pre-Mounted Directory, the installer does not install even 1 package, and immediately goes to the step asking to create a root password - normally this is the step that happens after all the packages are installed.

I tried this with two different devices - a Samsung T5 SSD and a SanDisk Flash Drive. Same result both times.

It appears that the installer somehow interferes with or can't use a device mounted in /floppy, and installation does not proceed properly.

What worked fine is not mounting anything in /floppy, using the SanDisk Flash Drive, and selecting to use a USB Drive in the installer which it then autodetects as /dev/sda1. Installation proceeds normally after that, all the packages get installed as expected.

I can't remember if I ran into the same issue months ago when I did the installation to my older RPi3. I might have.
 
Old 03-22-2020, 12:59 AM   #2
eduardr
Member
 
Registered: Sep 2011
Distribution: Slackware64 14.2+ (-current)
Posts: 82

Original Poster
Rep: Reputation: Disabled
When I did the /floppy pre-mount approach, I set SOURCE to /floppy/slackwarearm-current. Maybe I needed to set to /floppy/slackwarearm-current/slackware directory instead, not sure - might try this sometime.
 
1 members found this post helpful.
Old 03-22-2020, 02:59 AM   #3
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 690

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Originally Posted by eduardr View Post
When I did the /floppy pre-mount approach, I set SOURCE to /floppy/slackwarearm-current. Maybe I needed to set to /floppy/slackwarearm-current/slackware directory instead, not sure - might try this sometime.
OK cool. Thanks for this. It's highlighted a missing link and/or clearer instructions on the SARPi website's https://sarpi.fatdog.eu/index.php?p=srcmedia page. I will aim to correct this oversight very soon.

You need to tell the installer during 'setup' where to find the "slackware" directory that contains the PACKAGES.TXT file and all the lovely *.txz packages [a,ap,d,k,l,x,y, etc.]. So, where-ever that resides is what the installation pre-mounted directory path should be. If the Slackware ARM source media is located in the "slackware-current" directory on your USB stick which is mounted in '/floppy' then '/floppy/slackwarearm-current/slackware' would be the pre-mounted directory. Not '/floppy/slackwarearm-current'. The installer will look for PACKAGES.TXT file and if it doesn't find it the process will error. So, the directory which contains the PACKAGES.TXT file is the one you need to specify specify as your "install from pre-mounted directory" path. This will always be "slackware" directory under the official Slackware ARM source tree.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SARPI (fatdog) on RPi4 - no HDMI video [SOLVED] arfon Slackware - ARM 4 03-17-2020 01:47 AM
SARPi website new URL - sarpi.co.uk Exaga Slackware - ARM 4 01-28-2018 06:36 PM
copying files from home dir to another dir from another dir in a lower dir chomito44 Linux - General 5 10-19-2013 06:18 PM
tar dir and sub dir removing files but not existing not empty dir j-me Linux - General 2 08-12-2013 11:37 AM

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

All times are GMT -5. The time now is 07:26 AM.

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