I’ve just added secondary drive to my main desktop PC (main disk is a 1TB M.2 SSD). It’s a 2TB HDD which I’ve been using as a secondary drive in my previous gaming rig (Windows 10).
I’ve formatted it using ext4, mounted it in /mnt, changed permission to $USER and added to it to fstab.
After reboot system won’t load properly.
I took a picture of the screen after reboot.
How can I fix it?
[manjaro@manjaro ~]$ manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
==> Mounting (ManjaroLinux) [/dev/nvme0n1p2]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
--> mount: [/mnt/mnt/media-storage]
mount: /mnt/mnt/media-storage: special device /dev/disk/by-uuid/[87a020f6-ed4c-4f95-b530-4fa9f966f7f6] does not exist.
[manjaro /]# 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>
UUID=47B2-FCD9 /boot/efi vfat umask=0077 0 2
UUID=26dca0c8-83d7-429a-b819-dc2236c10de9 / ext4 defaults,noatime 0 1
/swapfile swap swap defaults,noatime 0 0
UUID=[87a020f6-ed4c-4f95-b530-4fa9f966f7f6] /mnt/media-storage ext4 defaults,noatime 0 2
[manjaro /]# lsblk -fa
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
sda
`-sda1
sdb
|-sdb1
`-sdb2
nvme0n1
|-nvme0n1p1 299.1M 0% /boot/efi
`-nvme0n1p2 571.7G 32% /
Navigate to /mnt/media-storage. If you want it to show up in file manager sidebar then mount it in /media, which you’ll have to create. It’ll show under removable devices.
That’s fine I’m ok with a disk folder but how can I permanently change permision to user?
As it’s all started from permissions. I can’t create folder/files on this hdd.