I am experiencing random freezes in Ubuntu. I went through several fixes proposed (checking nvidia drivers, etc..) but no solution. I bumped into Ubuntu 17.04 Freezing Issue and tried to change the crypttab. I followed the instruction but upon opening with Gedit or nano the file was empty. Could this be the issue?
EDIT: The computer was assembled by me. With:
MSI 1151 Z170A Krait Gaming 3X Motherboard
Intel I7-6700K 1151 Skylake 8MB Cache 4.00 GHz Processor
Crucial Ballistix Sport LT 64GB set 16GBx4 DDR4 2400 288pin whit RAM
Nvidia GeForce GT610
The driver from nvidia I installed is the 340.135 so I am not using the Xorg nouveau stuff.
Also I changed GRUB to include
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"
blkid:
/dev/sda1: UUID="5AAD-028F" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="39bd6592-a9af-4cba-bc68-0bcc9a860d9c"
/dev/sda2: UUID="6832cbef-4ee4-422d-9424-fbb307ed1ec1" TYPE="ext4" PARTUUID="7a631023-db65-417f-ad30-039a619320ac"
/dev/sdb1: UUID="7c3e97ec-2fc4-42df-801f-6dff9dec4ee6" TYPE="ext4" PARTUUID="1113ee0c-6451-4762-a15d-bafe9a9c80ed"
/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/sda2 during installation
UUID=6832cbef-4ee4-422d-9424-fbb307ed1ec1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=5AAD-028F  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sdb1 during installation
UUID=7c3e97ec-2fc4-42df-801f-6dff9dec4ee6 /home           ext4    defaults        0       2
/swapfile 
                                none            swap    sw              0       0
UUID=5AAD-028F  /boot/efi   vfat    defaults    0   1
free -h:
              total        used        free      shared  buff/cache   available
Mem:            62G        1.1G         60G        135M        812M         61G
Swap:          2.0G          0B        2.0G
swapon -s:
Filename                Type        Size    Used    Priority
/swapfile                               file        2097148 0   -1
lshw:
  *-firmware                
       description: BIOS
       vendor: American Megatrends Inc.
       physical id: 0
       version: 2.70
       date: 10/17/2016
       size: 64KiB
       capacity: 15MiB
       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
  *-memory
       description: System Memory
       physical id: 3c
       slot: System board or motherboard
       size: 64GiB
     *-bank:0
          description: DIMM DDR4 Synchronous 2133 MHz (0.5 ns)
          product: BLS16G4D240FSC.16FAD
          vendor: 859B
          physical id: 0
          serial: A01EE062
          slot: ChannelA-DIMM0
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:1
          description: DIMM DDR4 Synchronous 2133 MHz (0.5 ns)
          product: KHX2400C14D4/16G
          vendor: Kingston
          physical id: 1
          serial: A82A51FA
          slot: ChannelA-DIMM1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:2
          description: DIMM DDR4 Synchronous 2133 MHz (0.5 ns)
          product: BLS16G4D240FSC.16FAD
          vendor: 859B
          physical id: 2
          serial: A01EE17E
          slot: ChannelB-DIMM0
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:3
          description: DIMM DDR4 Synchronous 2133 MHz (0.5 ns)
          product: KHX2400C14D4/16G
          vendor: Kingston
          physical id: 3
          serial: A12A5202
          slot: ChannelB-DIMM1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
  *-cache:0
       description: L1 cache
       physical id: 42
       slot: L1 Cache
       size: 256KiB
       capacity: 256KiB
       capabilities: synchronous internal write-back unified
       configuration: level=1
  *-cache:1
       description: L2 cache
       physical id: 43
       slot: L2 Cache
       size: 1MiB
       capacity: 1MiB
       capabilities: synchronous internal write-back unified
       configuration: level=2
  *-cache:2
       description: L3 cache
       physical id: 44
       slot: L3 Cache
       size: 8MiB
       capacity: 8MiB
       capabilities: synchronous internal write-back unified
       configuration: level=3
  *-memory UNCLAIMED
       description: Memory controller
       product: Sunrise Point-H PMC
       vendor: Intel Corporation
       physical id: 1f.2
       bus info: pci@0000:00:1f.2
       version: 31
       width: 32 bits
       clock: 33MHz (30.3ns)
       capabilities: bus_master
       configuration: latency=0
       resources: memory:dd444000-dd447fff
 
     
     
     
    