Changes between Version 37 and Version 38 of ventana/ubuntu
- Timestamp:
- 04/17/2019 09:26:02 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ventana/ubuntu
v37 v38 332 332 333 333 13. 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 337 DEVICE=/dev/sdc # adjust per your system! 338 MNT=/mnt # adjust per your system! 338 339 # unmount all auto-mounted partitions for this device 339 340 sudo umount ${DEVICE}? … … 342 343 sync 343 344 sudo mkfs.ext4 -O ^64bit -L rootfs ${DEVICE}1 344 # mount partition (will mount to /media/rootfs/)345 sudo udisks --mount ${DEVICE}1345 # mount partition 346 sudo mount ${DEVICE}1 $MNT 346 347 # copy the root filesystem 347 sudo cp -rupv $target/* /media/rootfs/348 sudo cp -rupv $target/* $MNT/ 348 349 # unmount the disk 349 sudo u disks --unmount ${DEVICE}1350 sudo umount ${DEVICE}1 350 351 }}} 351 352 * To create a ubifs suitable for 1GB/2GB NAND flash (large layout) use the following: