1

I just finished installing Arch and my 3TB GPT drive (this is not my boot drive) is not showing in arch. I initialised it as GPT on my windows 7 machine and that machine is still able to read from that drive. Does it have to do with UEFI? My mobo is UEFI and my windows installation is installed as EFI. I wasn't sure how to do EFI on arch and some threads mentioned arch would automatically recognise the UEFI BIOS (I am not too sure about the relation between UEFI and OS installation).

13
  • what do you mean by "not showing"?
    – cas
    Oct 11, 2015 at 0:02
  • I have the boot drive, a second drive and the 2TB drive plugged in. The second drive shows up on my desktop as a mountable drive but not the 2TB drive.
    – Icarus
    Oct 11, 2015 at 0:06
  • does it show up if you run sudo fdisk -l?
    – cas
    Oct 11, 2015 at 0:07
  • Will that affect the content of the drive at all? And will the drive still be accessible on my windows machine after I do that? I am relatively new to Linux so I apologise for not knowing that these commands would do.
    – Icarus
    Oct 11, 2015 at 0:09
  • no, fdisk -l won't affect the drive at all. It just lists the partition tables of all drives. a read-only operation. and don't apologise for asking - it's smart to ask if you don't understand something.
    – cas
    Oct 11, 2015 at 0:10

1 Answer 1

0

I have no idea why the partition isn't showing up on your Arch desktop (IMO GUIs are strange and unreliable and often have annoying hard-coded assumptions1) but if the partition is visible to the operating system, e.g. with sudo fdisk -l or sudo blkid or sudo lsblk then you can manually mount the partition anywhere you like. For example:

sudo mkdir -p /windows-data
sudo mount -t ntfs -o ro /dev/sda2 /windows-data

You can, as always, tweak the exact mount options (e.g. for uid, gid, perms) to suit your needs.

You can also cause the partition to be auto-mounted by adding a line to /etc/fstab, something like:

/dev/sda2 /windows-data ntfs uid=1000,gid=1000,noatime,allow_other 0 2

(that's all on one line, not two lines)

1 If I had to guess, I'd say that the Arch desktop knows what an "HPFS/NTFS/exFAT" partition is and will display it but doesn't know what a "Microsoft basic data" is, so ignores it.

3
  • How will I know for sure that the drive will always be sda? For example when just my boot drive is connected it is listed as sda but when my other drives are connected my boot drive is listed as sdc and the GPT drive is listed as sda and inside fstab there is a line that mounts sda1 to root already.
    – Icarus
    Oct 11, 2015 at 21:45
  • You don't. That's why you can specify the fs to mount by label or by UUID (Unique Universal ID) as well as /dev/xxxx device name...all modern filesystems have a UUID. Some also have labels. blkid will tell you both.
    – cas
    Oct 11, 2015 at 22:29
  • e.g in /etc/fstab, instead of a line starting with /dev/sda2 /windows-data ... you would have UUID=xxxxxxxxx /windows-data ...
    – cas
    Oct 11, 2015 at 22:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .