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
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 173 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 1,974 03-31-2024, 10:11 AM
Last Post: u974615
  Manjaro Sway Theme Broken Eighty8 1 551 03-08-2024, 08:41 AM
Last Post: tophneal
  Pinebook Pro upgrading from the factory image yamsoup 12 2,740 02-22-2024, 04:02 PM
Last Post: tllim
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 1,981 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 577 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,618 12-13-2023, 07:22 PM
Last Post: trillobite
  Gentoo on Pinebook Pro RELEASE jannik2099 54 94,343 12-08-2023, 11:25 PM
Last Post: tllim
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 635 12-07-2023, 03:11 PM
Last Post: wdt
  Boot Order in Pinebook Pro food 8 1,905 11-23-2023, 07:37 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)