06-10-2020, 01:11 PM
(This post was last modified: 06-10-2020, 02:41 PM by chaoskampf.)
I will try smth like bellow to move existing and configured Kali installation from SD to eMMC.
Steps:
1. Boot from kali on sd
2. Write u-boot and friends to eMMC:
3. Create partition on eMMC (starting at 32768 sector)
4. Mount the partition in /mnt
5.
6.
7.
8.
9. Edit boot.txt and change "root=PARTUUID=${uuid}" to "root=/dev/mmcblk2p1"
10.
11. reboot (without sd)
Any suggestions and comments are appreciated.
(edited)
Steps:
1. Boot from kali on sd
2. Write u-boot and friends to eMMC:
Code:
dd if=idbloader.img of=/dev/mmcblk2 bs=32k seek=1 conv=fsync
dd if=uboot.img of=/dev/mmcblk2 bs=64k seek=128 conv=fsync
dd if=trust.img of=/dev/mmcblk2 bs=64k seek=192 conv=fsync
Code:
(parted) mkpart primary ext3 32768s -1s
5.
Code:
cd /mnt
Code:
mkdir dev proc sys mnt
Code:
rsync -aHxv --numeric-ids --progress /* /mnt --exclude=/dev --exclude=/proc --exclude=/sys --exclude=/mnt
Code:
chroot /mnt
10.
Code:
mkimage -A arm64 -T script -O linux -d boot.txt boot.scr
Any suggestions and comments are appreciated.
(edited)