Changes between Version 3 and Version 4 of ventana/bootloader/falcon-mode


Ignore:
Timestamp:
04/17/2019 09:28:18 PM (3 months ago)
Author:
Tim Harvey
Comment:

replace udisks with mount/umount

Legend:

Unmodified
Added
Removed
Modified
  • ventana/bootloader/falcon-mode

    v3 v4  
    136136 2. prepare the micro-SD per the specifications above:
    137137{{{
    138 DEV=/dev/sdc
     138DEV=/dev/sdc # adjust per your system!
     139MNT=/mnt # adjust per your system!
    139140# zero out 1MB of device
    140141sudo dd if=/dev/zero of=$DEV count=1 bs=1M oflag=sync status=none && sync
     
    148149sudo mkfs.ext4 -O ^64bit -L root ${DEV}1
    149150# mount the partition
    150 sudo udisks --mount ${DEV}1
     151sudo mount ${DEV}1 $MNT
    151152# extract filesystem
    152 sudo tar xvf rootfs.tar.gz -C /media/root
    153 # flush and unmount
    154 sync && sudo umount /media/root
     153sudo tar xvf rootfs.tar.gz -C $MNT/
     154# unmount
     155sudo umount ${DEV}1
    155156}}}
    156157 3. Boot the board with the prepared micro-SD and break out in U-Boot::