You are not logged in.
Hi,
I have recently installed Arch Linux in my laptop.
Before installing, I had installed Manjaro in disk sda1, and I had stored important files in sda2 and sda3. While installing Arch, I installed EFI system in sda1, root in sda3 and home in sda5, but forget to mount sda2 and sda3.
This is the layout of my disk partition.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 700M 0 part /boot/EFI
├─sda2 8:2 0 64G 0 part
├─sda3 8:3 0 276.8G 0 part
├─sda4 8:4 0 30G 0 part /
└─sda5 8:5 0 94.3G 0 part /home
sr0 11:0 1 1024M 0 rom Now, every time I boot my computer, I have to mount sda2 and sda3 manually in home/file1 and home/file2 mountpoints respectively as follows:
sudo mount /dev/sda2 ~/file1
sudo mount /dev/sda3 ~/file2How can I permanently mount those partitions in specified mountpoints?
Last edited by kiliman (2021-04-24 07:36:50)
Offline
You do this with the file "/etc/fstab". There's an ArchWiki article "fstab" about it.
Offline
Offline
Thanks Ropid and jasonwryan. It was pretty easy.
Offline