You are not logged in.
Hello, I have recently installed my system to SSD and I can't access to my other HDD and plugged in USB sticks both with my user account and root account.
I can see them listed in fdisk -l
How can I fix this situation? Thanks.
Kernel: 4.14.33-1-lts
Last edited by oguz (2018-04-12 05:13:45)
Offline
How are you trying to access the other devices?
What commands are you running?
What error messages do you see?
Without further information, we can't help you.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I can't see plugged usb flash drives and other HDDs on file manager and can't mount them with mount command.
mount: /dev/sdc: can't find in /etc/fstab
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CFBC3B17-7B00-4CF2-9004-4075DCF93147
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 189794303 188743680 90G Microsoft basic data
/dev/sda3 189794304 234441614 44647311 21.3G Linux filesystem
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4C9E696B-CB78-4DA9-81A3-19EA02EFE0C1
Device Start End Sectors Size Type
/dev/sdb1 2048 1048578047 1048576000 500G Microsoft basic data
/dev/sdb2 1048578048 1953521663 904943616 431.5G Microsoft basic data
Disk /dev/sdc: 28.9 GiB, 30966546432 bytes, 60481536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 75871DC2-E5D0-4C52-A905-47FDE7E99C1B
Device Start End Sectors Size Type
/dev/sdc1 2048 60481502 60479455 28.9G Microsoft basic data
Last edited by oguz (2018-04-12 02:38:27)
Offline
So did you add those partitions to /etc/fstab like the error says? https://wiki.archlinux.org/index.php/Fstab
Offline
So did you add those partitions to /etc/fstab like the error says? https://wiki.archlinux.org/index.php/Fstab
I didn't add my other hdd and usb drive.
Do we have to add new entry for every new usb drive device to make them usable?
Offline
I didn't add my other hdd and usb drive.
Do we have to add new entry for every new usb drive device to make them usable?
No, USB drives can be mounted with something like udisks, polkit, udevil, something like that. Your file manager should be able to mount USB drives if it is configured properly and you have the proper backend installed. Check the wiki page for whatever file manager you are using and it should tell you what to install and how to configure it.
Edit: If I wasn't clear, hard drives need to be in fstab, and removeable usb drives can be automounted.
Last edited by circleface (2018-04-12 03:29:43)
Offline
Edit: If I wasn't clear, hard drives need to be in fstab, and removeable usb drives can be automounted.
Maybe for regular users, but root should be able to mount anything that is visible under /dev/.
@oguz
Can you post the full mount command that you are using, and the output when run as root?
What is the output of the following commands:
$ which mount
$ pacman -Qo mount
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
You have to tell it *where* to mount it.
Offline
@oguz
Can you post the full mount command that you are using, and the output when run as root?
What is the output of the following commands:$ which mount $ pacman -Qo mount
Hello I am fixed my problem by installing thunar-volman and gvfs. (I think gvfs fixed my problems.)
Now my HDDs showing on file manager and my usb drives get recognized.
[oguz@archlinux ~]$ which mount
/usr/bin/mount
[oguz@archlinux ~]$ pacman -Qo mount
/usr/bin/mount is owned by util-linux 2.32-3
Last edited by oguz (2018-04-12 05:15:58)
Offline
@oguz
I'm glad that you've got it working with those packages but you should be able to mount devices without them. Read up on the usage of the mount] command. As mentioned by Scimmia above, you have to tell it where to mount the device by giving it a path, e.g.
mount /dev/sdc1 /mnt
Also note that you don't mount the device directly but rather a partition on the device.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline