Could someone explain the boot partition to me?
#3
(11-14-2019, 02:56 PM)dukla2000 Wrote:
(11-14-2019, 02:13 AM)Mentaluproar Wrote: Using ayufan's buster minimal image, I noticed uboot seems to ignore the boot partition and instead looks at the boot folder in the root partition.  So if I update extlinux to load additional modules and look at sata for the root partition, it will ignore the changes because the system writes them to the boot partition instead of where uboot actually looks for it.

I have my root moved to an hard drive on sata side and want to use the SD card only for boot, but I seem to be missunderstanding something about how the boot process works.

Yup, when you are running rootfs somewhere other than the SDcard, and using the SDcard to boot, all updates are made to /boot/. You need to duplicate them to the SDcard, I have a little script syncsd to do it for me

Code:
sudo mount /dev/mmcblk0p7 /mnt/
sudo rsync -ax --delete /boot/ /mnt/boot/
cat /mnt/boot/extlinux/extlinux.conf

There's a way to configure the fstab to point to the SD card so updates and extlinux initramfs changes are put in the right place without a sync command.  I just can't find an example of how and my own attempts just break things.


Messages In This Thread
RE: Could someone explain the boot partition to me? - by Mentaluproar - 11-15-2019, 08:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot/Shutdown on timer captainmorgan 8 6,136 11-01-2023, 12:08 PM
Last Post: Nikolay_Po
Question How do I compile an arbitrary kernel for U-Boot? Valenoern 3 1,142 06-16-2023, 10:54 AM
Last Post: CounterPillow
  RockPro64 boot questions misterc 3 1,616 01-13-2023, 06:21 PM
Last Post: misterc
  Is some u-boot required on the SPI for installing debian with the official installer? callegar 1 1,367 10-25-2022, 10:07 AM
Last Post: ratzzupaltuff
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 4,334 01-03-2022, 10:32 AM
Last Post: whitecat23
  Overlays not loading at boot - ROCKPRO64 on Armbian rookieone 0 1,332 09-28-2021, 04:10 AM
Last Post: rookieone
Question cannot boot openSUSE - what am I doing wrong? Mentaluproar 2 2,466 08-12-2021, 04:58 AM
Last Post: igorp
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 3,037 07-14-2021, 02:37 PM
Last Post: TRS-80
  Official Debian release won't boot!?! Faradn 4 6,751 07-06-2020, 09:29 AM
Last Post: Bullet64
  Mainline U-Boot with Arch Linux PKGBUILD mmatyas 0 2,062 04-17-2020, 03:49 AM
Last Post: mmatyas

Forum Jump:


Users browsing this thread: 1 Guest(s)