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 05-26-2020, 11:57 PM   #1
mEllis
LQ Newbie
 
Registered: Nov 2008
Location: American Fork, UT, USA
Distribution: Slackware 14.2
Posts: 10

Rep: Reputation: 0
Angry Autoboot.txt not found upon reboot after updating slarm current on rpi4


Over the weekend, I succeeded in installing Slackware Arm --current on my Raspberry Pi 4. I followed the directions exactly from the SARPi Project, except that I chose NOT to use the rpi-update because of all the warnings about it.

Everything was working perfectly until I ran the slackpkg update, install-new, upgrade-all, clean-system this morning (5/26/2020) and rebooted. During the update, I noticed that the kernel was upgraded too.

Upon reboot, I got a very scary screen that said that the autoboot.txt can't be found. Evidently, I messed up the boot process somehow.

Questions are: Do I have to start all over or can I repair the boot partition (process) so that it will work again? And what did I do wrong during the update/upgrade process?

I have access to other computers so that if the autoboot.txt file is something I can get at or add, I can. Would appreciate any help. First time setting up a Raspberry and wanted to use my favorite distro.
 
Old 05-28-2020, 06:40 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
A reinstall should be a last resort. When you did the upgrade-all, were there kernel packages updated? If yes, that most likely created your problem.

Go to the Download page for Sarpi, there are four packages you need. Here is the link. -->https://sarpi.fatdog.eu/index.php?p=rpi4getcurrent You need the kermel, kernel modules, firmware, and the hacks package. The kernel version does not always exactly match the kernel from the official download site. I check about once a month, and look for updates.

I did not understand this when I first started with my Pi 3. The kernel, modules, source from the update site will not boot a pi, the one on the Sarpi site are modified to work on Pi's unique hardware.
 
Old 05-28-2020, 07:52 AM   #3
mEllis
LQ Newbie
 
Registered: Nov 2008
Location: American Fork, UT, USA
Distribution: Slackware 14.2
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you, Cliff! Yes, the updates included kernel updates, so I’ll remember to watch SARPi instead for those files.

How do I get that SARPi kernel and its associated files onto my boot when all I see is the boot error screen? Do I need to mount my boot drive on a different machine and download them there? Install them somehow? If install, how?

It’s such a relief that I don’t have to start over. Thank you. You have been a great help.

- Michael
 
Old 05-28-2020, 08:06 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
How do I get that SARPi kernel and its associated files onto my boot when all I see is the boot error screen? Do I need to mount my boot drive on a different machine and download them there? Install them somehow? If install, how?
This is the tough part. If this was a regular PC, you could boot from install media, and chroot into the install, and run upgradepkg on the 4 files. Not sure if there is a way on a Pi. It's possible another Pi user can help.

If you are comfortable with another install, that may be the faster, and easier route to go.

Next time, afer you get yhe Pi to boot, run slackpkg, and de-select the kernel packages only. The rest of the upgrqde should be fine. Then copy the four files from sarpi, and run upgradepkg on each.
 
Old 05-28-2020, 04:37 PM   #5
mEllis
LQ Newbie
 
Registered: Nov 2008
Location: American Fork, UT, USA
Distribution: Slackware 14.2
Posts: 10

Original Poster
Rep: Reputation: 0
Hi Cliff,

I'll plan on reinstalling then and learn my lesson. Thank you for your assistance. I'll mark this as resolved.
 
Old 05-31-2020, 09:02 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I kinda figured this out, and got proficient at performing abuses on X86
  1. mount the sdcard root partition under /somewhare
  2. mount the /boot partition under /somnewhere/boot (only if you need it).
  3. The Syntax is: installpkg --root /somewhare …
  4. But ROOT=/somewhere upgradepkg … &
  5. ROOT=/somewhere removepkg …
 
  


Reply

Tags
boot errors, current, rpi4, slarm64



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
[SOLVED] RPi4 (Sarpi) - rc.local ntpdate "hack" fails to update date/time eduardr Slackware - ARM 8 03-31-2020 07:56 PM
RPi4 (Sarpi) - Installs OK from USB stick, but not from pre-mounted dir on /floppy eduardr Slackware - ARM 2 03-22-2020 02:59 AM
[SOLVED] SARPI (fatdog) on RPi4 - no HDMI video [SOLVED] arfon Slackware - ARM 4 03-17-2020 01:47 AM
[SOLVED] Arduino IDE on RPi4 SlackwareARM -current using modified Slackbuild TheTKS Slackware - ARM 3 02-15-2020 10:50 PM
cat onelinefile.txt >> newfile.txt; cat twofile.txt >> newfile.txt keep newline? tmcguinness Programming 4 02-12-2009 06:38 AM

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

All times are GMT -5. The time now is 07:12 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