Changes between Version 13 and Version 14 of linux/blockdev


Ignore:
Timestamp:
10/01/2019 10:53:32 PM (5 years ago)
Author:
Cale Collins
Comment:

wacked mmcblk section, updated umount command to ?*

Legend:

Unmodified
Added
Removed
Modified
  • linux/blockdev

    v13 v14  
    40403. Un-mount volumes
    4141{{{#!bash
    42 umount ${DEVICE}*
     42umount ${DEVICE}?*
    4343}}}
    4444
     
    7575
    76769. Remove the device from the PC and insert/connect to Gateworks SBC
    77 
    78 === mmcblk0 Imaging ===
    79 
    80 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).
    81 
    82 Follow the below example and adjust as necessary:
    83 {{{
    84 DEVICE=/dev/mmcblk0
    85 printf "2048,,L,,\n" | sudo sfdisk --force --unit S ${DEVICE}
    86 sudo mkfs.ext4 ${DEVICE}p1
    87 sudo mount ${DEVICE}p1 /mnt/disk
    88 sudo tar -C /mnt/disk -xvf rootfs.tar.bz2
    89 sudo umount /mnt/disk
    90 }}}
    9177
    9278=== Imaging from U-Boot ===