Need Help Recovering Manjaro /boot Contents on Pinebook Pro
#1
While (intending to) backup files before installing Tow-Boot, I accidentally deleted all the files in my boot partition on my NVMe SSD. The root partition is fine.

Afterwards, I installed a fresh Manjaro image to my eMMC and I am currently booting it. I suspect that my NVMe root partition contains everything I need to restore /boot on the NVMe. For example, I have /var/cache/pacman/pkg/linux-6.25-1-aarch64.pkg.tar.zst and all my other package archives.

Can I run pacman from my eMMC system and tell it to install the needed package(s) from my NVMe drive onto the boot partition of my NVMe drive?
Perhaps I can simply umount the eMMC /boot partition, mount the NVMe boot partition in its place and then open a terminal in on the NVMe (/run/media…/var/cache/pacman/pkg/) folder and type "pacman -U <package.zst> but I also suspect a chroot to the NVMe system will be necessary.

What packages do I need to install? Maybe all I need to do is re-install the kernel under chroot and it will build a new initramfs-linux.img, etc.

Thanks so much for any help with the process.

-Cal

P.S. Unrelated but why does Tow-Boot say

Code:
WARNING: Bad CRC. Using default environment.
during boot.

I recently installed Tow-Boot to my SPI to replace u-boot installed on various other drives at various times.
  Reply


Messages In This Thread
Need Help Recovering Manjaro /boot Contents on Pinebook Pro - by calinb - 03-20-2023, 09:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pbp with manjaro arm seems to not find any hardware[no wifi, blutooth or battery] frank_philip 0 33 Today, 01:49 AM
Last Post: frank_philip
  new manjaro install: wlan0 stuck in setting network address zkajdan 1 81 Yesterday, 08:26 AM
Last Post: Kevin Kofler
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 252 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 1,320 08-21-2024, 04:17 AM
Last Post: KC9UDX
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 507 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 3,349 03-31-2024, 10:11 AM
Last Post: u974615
  Manjaro Sway Theme Broken Eighty8 1 941 03-08-2024, 08:41 AM
Last Post: tophneal
  Pinebook Pro upgrading from the factory image yamsoup 12 4,974 02-22-2024, 04:02 PM
Last Post: tllim
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 2,533 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 973 01-19-2024, 11:32 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 1 Guest(s)