You are not logged in.

#1 2018-04-08 15:09:58

Belph
Member
Registered: 2018-04-08
Posts: 26

[solved] Unable to mount second drive.

Aloha Arch-People,

I am rather new to arch-linux and actually really embarrassed about this problem since I think I should be able to do this simple task.

My problem is that I am trying to mount my internal HDD manually (I don't want to auto-mount since that's where I want to start media files and I don't feel that auto-mount is needed here), it is going to be a shared Drive between my arch and windows system (no dual boot the windows is going to be on a third drive) but I don't seem to be able to do that.

From the arch installation itself I know that I can format a drive by using the 'mkfs.ext4 /dev/sdb1' (makes file system format:ext4) command which I know is the format used for Linux systems. Now I tried the same command just with both fat32 and ntfs which didn't work.

fdisk -l output:
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: 02A9ABBF-E75C-6747-AE6C-2CF66C168870

Device     Start        End    Sectors   Size Type
/dev/sdb1   2048 1953525134 1953523087 931.5G Linux filesystem

While trying to mount it with commands 'mount /mnt /dev/sdb1' but got the error "mount: /dev/sdb1: /mnt is not a block device."

Ssomewhere I read that I might need to create an fstab connection but isn't that only if I want it to load upon startup?

Last edited by Belph (2019-01-05 19:38:11)

Offline

#2 2018-04-08 15:17:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [solved] Unable to mount second drive.

Please use code tags. 

Belph wrote:

While trying to mount it with commands 'mount /mnt /dev/sdb1' but got the error "mount: /dev/sdb1: /mnt is not a block device."

You appear have the tokens in the mount command backwards.

man mount wrote:

mount [-fnrsvw] [-t fstype] [-o options] device dir

Last edited by graysky (2018-04-08 15:19:20)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2018-04-08 15:38:51

Belph
Member
Registered: 2018-04-08
Posts: 26

Re: [solved] Unable to mount second drive.

graysky wrote:

Please use code tags. 

Belph wrote:

While trying to mount it with commands 'mount /mnt /dev/sdb1' but got the error "mount: /dev/sdb1: /mnt is not a block device."

You appear have the tokens in the mount command backwards.

man mount wrote:

mount [-fnrsvw] [-t fstype] [-o options] device dir

neutral I knew my mistake was stupid, thank you. Okay it appears to be mounted now after using

mount /dev/sdb1 /mnt

I thought it would appear in my File Manager (LXDE(PacmanFM)) now but it doesn't. What do I need to do to make it show up?

Offline

Board footer

Powered by FluxBB