Changes between Version 3 and Version 4 of ventana/debian


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

replace udisks with mount/umount

Legend:

Unmodified
Added
Removed
Modified
  • ventana/debian

    v3 v4  
    184184}}}
    185185
    186 14. install to bootable media (ie a block storage device supported by your board such as a USB Mass Storage device, a microSD, an mSATA SSD. There are many choices that could be made here. 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:
    187 {{{
    188 #!bash
    189 DEVICE=/dev/sdc
     18614. install to bootable media (ie a block storage device supported by your board such as a USB Mass Storage device, a microSD, an mSATA SSD. There are many choices that could be made here. The example below will create a single ext4 rootfs partition on a removable block storage device. Ensure you set DEVICE properly for your system.
     187{{{
     188#!bash
     189DEVICE=/dev/sdc # adjust per your system!
     190MNT=/mnt # adjust per your system
    190191# unmount all auto-mounted partitions for this device
    191192sudo umount ${DEVICE}?
     
    195196sudo mkfs.ext4 -O ^64bit -L rootfs ${DEVICE}1
    196197# mount partition (will mount to /media/rootfs/)
    197 sudo udisks --mount ${DEVICE}1
     198sudo mount ${DEVICE}1 $MNT
    198199# copy the root filesystem
    199 sudo cp -rupv $target/*  /media/rootfs/
     200sudo cp -rupv $target/* $MNT/
    200201# unmount the disk
    201 sudo udisks --unmount ${DEVICE}1
     202sudo umount ${DEVICE}1
    202203}}}
    203204