Changes between Version 2 and Version 3 of linux/blockdev
- Timestamp:
- 11/29/2017 07:08:06 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/blockdev
v2 v3 50 50 }}} 51 51 52 === mmcblk0 Imaging === 53 54 If the Desktop/Laptop being used to flash the microSD device shows up as /dev/mmcblk0 then it will act slightly different than the standard storage device (/dev/sda). 55 56 Follow the below example and adjust as necessary: 57 {{{ 58 DEVICE=/dev/mmcblk0 59 printf "2048,,L,,\n" | sudo sfdisk --force --unit S ${DEVICE} 60 sudo mkfs.ext4 ${DEVICE}p1 61 sudo mount ${DEVICE}p1 /mnt/disk 62 sudo tar -C /mnt/disk -xvf rootfs.tar.bz2 63 sudo umount /mnt/disk 64 }}} 52 65 53 66 === Imaging from U-Boot ===