You are not logged in.

#1 2012-12-15 06:35:30

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

[SOLVED] automount external ntfs disk

Hello,

After Arch fires up I can see my external hard drive in Thunar, however it is not mounted. I have to click on the icon to actually mount it. How can I make this "click" automatic? Thank you.

Last edited by totolotto (2012-12-15 10:14:52)

Offline

#2 2012-12-15 08:40:38

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] automount external ntfs disk

Please don't do this.


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2012-12-15 09:12:11

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: [SOLVED] automount external ntfs disk

Sorry I messed it up, it was not intentional.

Offline

#4 2012-12-15 09:22:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] automount external ntfs disk

Use fstab if you want it mounted at boot time.

Offline

#5 2012-12-15 09:37:22

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: [SOLVED] automount external ntfs disk

The result of blkid:

/dev/sda1: UUID="5385fd72-c052-44c1-b536-1e4a08f1757c" TYPE="ext4" 
/dev/sda2: UUID="4c64fa62-0407-4cc6-ac08-dc4429ce4512" TYPE="ext4" 
/dev/sda3: UUID="0f84c531-9a0e-45eb-95da-1f0c9837d22b" TYPE="ext4" 
/dev/sdb1: LABEL="My Book" UUID="402A80C12A80B586" TYPE="ntfs"

and when I inserted this to /etc/fstab

/dev/sdb1 /Media ntfs-3g defaults 0 0

startx did not even start. Thunar shows this place when mounted:

/run/media/ko/My Book/

What did I do wrong?

Offline

#6 2012-12-15 09:40:40

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,680

Re: [SOLVED] automount external ntfs disk

totolotto wrote:

and when I inserted this to /etc/fstab

/dev/sdb1 /Media ntfs-3g defaults 0 0

...
What did I do wrong?

Does the mount point /Media exist?

Offline

#7 2012-12-15 09:51:47

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: [SOLVED] automount external ntfs disk

With this command:

sudo mkdir /media

I got

mkdir: cannot create directory ‘/media’: File exists"

so I just created the directory in home/user/Media.

Offline

#8 2012-12-15 10:03:24

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: [SOLVED] automount external ntfs disk

Thanks, I think I got it. I have to

sudo mkdir /media/MyBook

then add /media/MyBook in fstab.

Offline

#9 2012-12-15 10:10:07

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] automount external ntfs disk

Please mark this thread [SOLVED], totolotto.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB