$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/mmcblk0p2 during installation
UUID=4fb05929-3546-4b7c-b4f0-34c4a721c3c3 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/mmcblk0p1 during installation
UUID=8F05-DBA1 /boot/efi vfat umask=0077 0 1
# swap was on /dev/mmcblk0p3 during installation
#UUID=5d1798c3-4e4a-4c3c-842e-e929fbeceb85 none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
Output from following commands:
sudo blkid generator/
swapon -s
printf "x\np\n" | sudo fdisk /dev/mmcblk0
ls -l /run/systemd/
cat /etc/fstab
cat /etc/crypttab
--
Welcome to Ubuntu Xenial Xerus (development branch) (GNU/Linux 4.4.0-17-generic x86_64)
$ sudo blkid "ed15471e- 2ed3-4d17- 82f0-2b21b09226 06" PTTYPE="gpt" "3f71d0e0- 4bd1-4c17- 9828-63a992fc17 27" 3546-4b7c- b4f0-34c4a721c3 c3" TYPE="ext4" PARTUUID= "ecd9e622- 8db1-45a1- 9b7e-0ac5d93a9a 96" 4e4a-4c3c- 842e-e929fbeceb 85" TYPE="swap" PARTUUID= "0df8044d- 7755-47fd- 8a80-be2bbc7c87 ef"
/dev/mmcblk0: PTUUID=
/dev/mmcblk0p1: UUID="8F05-DBA1" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID=
/dev/mmcblk0p2: UUID="4fb05929-
/dev/mmcblk0p3: UUID="5d1798c3-
$ swapon -s
Filename Type Size Used Priority
/dev/mmcblk0p3 partition 4046844 0 -1
$ printf "x\np\n" | sudo fdisk /dev/mmcblk0
Disk /dev/mmcblk0: 58.2 GiB, 62537072640 bytes, 122142720 sectors 2ED3-4D17- 82F0-2B21B09226 06
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: ED15471E-
First LBA: 34
Last LBA: 122142686
Alternative LBA: 122142719
Partition entries LBA: 2
Allocated partition entries: 128
Device Start End Sectors Type-UUID UUID Name Attrs F81F-11D2- BA4B-00A0C93EC9 3B 3F71D0E0- 4BD1-4C17- 9828-63A992FC17 27 EFI System Partition
/dev/mmcblk0p1 2048 1050623 1048576 C12A7328-
/dev/mmcblk0p2 1050624 114046975 112996352 0FC63DAF- 8483-4772- 8E79-3D69D8477D E4 ECD9E622- 8DB1-45A1- 9B7E-0AC5D93A9A 96 A4AB-43C4- 84E5-0933C84B4F 4F 0DF8044D- 7755-47FD- 8A80-BE2BBC7C87 EF
/dev/mmcblk0p3 114046976 122140671 8093696 0657FD6D-
$ ls -l /run/systemd/ generator/ target. requires by\x2duuid- 5d1798c3\ x2d4e4a\ x2d4c3c\ x2d842e\ x2de929fbeceb85 .device. wants cryptswap1. device. d cryptswap1. device. requires cryptswap1. swap target. requires target. wants target. wants service. d requires
total 16
-rw-r--r-- 1 root root 374 Apr 8 08:21 boot-efi.mount
drwxr-xr-x 2 root root 60 Apr 8 08:21 cryptsetup.
drwxr-xr-x 2 root root 60 Apr 8 08:21 dev-disk-
drwxr-xr-x 2 root root 60 Apr 8 08:21 dev-mapper-
drwxr-xr-x 2 root root 60 Apr 8 08:21 dev-mapper-
-rw-r--r-- 1 root root 188 Apr 8 08:21 dev-mapper-
drwxr-xr-x 2 root root 60 Apr 8 08:21 hwclock.service.d
drwxr-xr-x 2 root root 80 Apr 8 08:21 local-fs.
drwxr-xr-x 2 root root 60 Apr 8 08:21 local-fs.
-rw-r--r-- 1 root root 277 Apr 8 08:21 -.mount
drwxr-xr-x 2 root root 60 Apr 8 08:21 multi-user.
drwxr-xr-x 2 root root 60 Apr 8 08:21 networking.
drwxr-xr-x 2 root root 60 Apr 8 08:21 remote-fs.target.d
drwxr-xr-x 2 root root 60 Apr 8 08:21 sendsigs.service.d
drwxr-xr-x 2 root root 60 Apr 8 08:21 swap.target.
-rw-r--r-- 1 root root 947 Apr 8 08:21 <email address hidden>
drwxr-xr-x 2 root root 60 Apr 8 08:21 umountfs.service.d
drwxr-xr-x 2 root root 60 Apr 8 08:21 umountnfs.service.d
$ cat /etc/fstab 3546-4b7c- b4f0-34c4a721c3 c3 / ext4 errors=remount-ro 0 1 4e4a-4c3c- 842e-e929fbeceb 85 none swap sw 0 0 cryptswap1 none swap sw 0 0
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/mmcblk0p2 during installation
UUID=4fb05929-
# /boot/efi was on /dev/mmcblk0p1 during installation
UUID=8F05-DBA1 /boot/efi vfat umask=0077 0 1
# swap was on /dev/mmcblk0p3 during installation
#UUID=5d1798c3-
/dev/mapper/
$ cat /etc/crypttab 4e4a-4c3c- 842e-e929fbeceb 85 /dev/urandom swap,offset= 1024,cipher= aes-xts- plain64
cryptswap1 UUID=5d1798c3-