How to mount disks in Linux Manjaro
Here is going to introduce two ways to mount disk. manually and automatically
manually
- Find your “File System” by the command
df -l - mount it by “mount” command
- Some usage of “mount”
mount /dev/hda1 /mntmount /dev/hda1 on /mntmount -o ro /dev/hda1 /mnt#mount -o ro /dev/hda1 on /mnt by mode "read olny"mount -o loop /tmp/image.iso /mnt/cdrommount /tmp/image.iso on /mnt/cdrom by mode “loop” virtually
automatically
-
Get the UUID of the disk
Inputsudo blkidin Bash, and then the table of the disk are listed in bash. Find the UUID relatived to the disk.
-
edit /etc/fastab by vim, add the content: UUID=XXX MountPoint disk_type defaults 0 0
-
save and reboot
2863

被折叠的 条评论
为什么被折叠?



