On 31/12/17 18:36, not you wrote:
> I am stuck at *mkfs.ext4 <= 1.42*:
> |for||: DISK=/dev/mmcblk0 <<--- |Do I include this 'for:' in the
> command or no? The terminal on my Ubuntu is complaining that no 'for'
> command can be found.
> ||for||: DISK=/dev/sdX||| <<--- |Where is this sdX drive? lsblk
> does not show any of that name.
It's a script meant to be interpreted by the human, not the computer.
You didn't blindly copy and paste the "As the version of U-Boot needed
for this target CAN NOT correctly handle reading files with these newer
ext4 options." did you?
To translate:
- If you set DISK=/dev/mmcblk0 (or similar); use the command:
sudo mkfs.ext4 -L rootfs -O ^metadata_csum,^64bit ${DISK}p1
- Otherwise, if you set DISK=/dev/sdX (where X is one or more
arbitrary letters); then use this command instead:
sudo mkfs.ext4 -L rootfs -O ^metadata_csum,^64bit ${DISK}1
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.