Changes between Version 37 and Version 38 of ventana/ubuntu


Ignore:
Timestamp:
04/17/2019 09:26:02 PM (5 months ago)
Author:
Tim Harvey
Comment:

replace udisks with mount/umount

Legend:

Unmodified
Added
Removed
Modified
  • ventana/ubuntu

    v37 v38  
    332332
    33333313. install to bootable media:
    334  * For a removable block storage device supported by your board such as a USB Mass Storage device, a microSD, an mSATA SSD the example below will create a single ext4 rootfs partition on a removable block storage device. Ensure you set DEVICE properly for your system. We use the 'udisks' application for mount/unmount so that the mount-point is obvious - if you know what your doing you could use standard mount/unmount as well:
    335 {{{
    336 #!bash
    337 DEVICE=/dev/sdc
     334 * For a removable block storage device supported by your board such as a USB Mass Storage device, a microSD, an mSATA SSD the example below will create a single ext4 rootfs partition on a removable block storage device. Ensure you set DEVICE properly for your system.
     335{{{
     336#!bash
     337DEVICE=/dev/sdc # adjust per your system!
     338MNT=/mnt # adjust per your system!
    338339# unmount all auto-mounted partitions for this device
    339340sudo umount ${DEVICE}?
     
    342343sync
    343344sudo mkfs.ext4 -O ^64bit -L rootfs ${DEVICE}1
    344 # mount partition (will mount to /media/rootfs/)
    345 sudo udisks --mount ${DEVICE}1
     345# mount partition
     346sudo mount ${DEVICE}1 $MNT
    346347# copy the root filesystem
    347 sudo cp -rupv $target/*  /media/rootfs/
     348sudo cp -rupv $target/*  $MNT/
    348349# unmount the disk
    349 sudo udisks --unmount ${DEVICE}1
     350sudo umount ${DEVICE}1
    350351}}}
    351352 * To create a ubifs suitable for 1GB/2GB NAND flash (large layout) use the following: