# Mount at boot - Ubuntu 22.04 [HiPac 3 Release Note and informations](https://hackmd.io/2deAUP8zQ-u1giVioCOdaQ) Get the name of disk and its file system`lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,UUID /dev/nvme*` ``` NAME FSTYPE SIZE MOUNTPOINT LABEL UUID nvme0n1 476.9G ├─nvme0n1p1 vfat 100M D6B1-1CEF ├─nvme0n1p2 16M ├─nvme0n1p3 ntfs 276G C25EB19D5EB18AA5 ├─nvme0n1p4 ntfs 815M FE64FB7364FB2D51 ├─nvme0n1p5 vfat 620M /boot/efi AE36-1B5D ├─nvme0n1p6 swap 15.3G [SWAP] 6cffbca9-199b-4648-856e-d19ec4c4c120 └─nvme0n1p7 ext4 184.1G / d383d7b2-15cb-4f3e-9eec-8b1c01bab923 nvme0n1p1 vfat 100M D6B1-1CEF nvme0n1p2 16M nvme0n1p3 ntfs 276G C25EB19D5EB18AA5 nvme0n1p4 ntfs 815M FE64FB7364FB2D51 nvme0n1p5 vfat 620M /boot/efi AE36-1B5D nvme0n1p6 swap 15.3G [SWAP] 6cffbca9-199b-4648-856e-d19ec4c4c120 nvme0n1p7 ext4 184.1G / d383d7b2-15cb-4f3e-9eec-8b1c01bab923 nvme1n1 1.8T └─nvme1n1p1 ntfs 1.5T /media/hlajungo/新增磁碟區 新增磁碟區 8274B97574B96D13 nvme1n1p1 ntfs 1.5T /media/hlajungo/新增磁碟區 新增磁碟區 8274B97574B96D13 ``` the disk I want to mount is `nvme1n1p1`, it is already mount by hand, but now need to set auto mount at boot, you can also know file system in this output `ntfs` `sudo vim /etc/fstab` Add `/dev/nvme1n1p1 /media/hlajungo/D ntfs defaults 0 2` /media/hlajungo is the place you want to mount. I'm not sure how to setup other file system like `ext4`, search yourself. Verify Setup `sudo reboot` `cd /media/hlajungo/D` `TAB` , you should see the thing in it . If you mess up, after reboot, you will get in ubuntu emergency mode. ![image](https://hackmd.io/_uploads/BylfFCQc0.png) Don't afraid, press `Enter`, `sudo vim /etc/fstab`, comment out the disk you trying to mount `#/dev/nvme1n1p1 /media/hlajungo/D ntfs defaults 0 2` And `reboot`, and hope `:D`.