Changes between Version 30 and Version 31 of provisioning


Ignore:
Timestamp:
02/06/2025 06:37:56 PM (2 weeks ago)
Author:
Tim Harvey
Comment:

recommend creating new partition table to allow for differing device sizes between original board and target board

Legend:

Unmodified
Added
Removed
Modified
  • provisioning

    v30 v31  
    60602. Run a script that creates your partition table and partition contents from the partition tarballs, for example eMMC partition 1 (mmcblk2p1 on venice)
    6161{{{
    62 # install the saved partition table
     62# create the partition table, ie start at 1MiB (2048 512byte blocks) and end at the extent of the device (adapt to your partitioning needs)
     63printf "2048,,L,,\n" | sudo sfdisk -uS /dev/mmcblk2
     64# or, install the saved partition table (not recommended as this requires the storage device size is identical to your original board)
    6365dd if=/tmp/partition-table of=/dev/mmcblk2
    64 # or create partition table, ie start at 1MiB (2048 512byte blocks) and end at the extent of the device
    65 printf "2048,,L,,\n" | sudo sfdisk -uS /dev/mmcblk2
    6666# create an ext4 fs on partition 1
    6767mkfs.ext4 -q -F -L rootfs /dev/mmcblk2p1