You are not logged in.

#1 2015-03-08 11:37:13

EmyrB
Member
From: Wales, UK
Registered: 2006-09-04
Posts: 122

[SOLVED] How to mount drives during install

Hi Guys,

I'm returning to Arch Linux after a few years away and, well everything is different. I've managed to get a spare PC working with an install of Arch and everything, so far, is going good. I now want to install Arch on my main linux box, which currently is Ubuntu Gnome 15.04. The only issue is, I have 2 partitions, sdb1 and sdb2, which during the install of Ubuntu Gnome I mount as /media/Music & /media/Photo's so they can be automounted during boot.

According to the beginner's guide, the root and home partitions are mounted to /mnt and /mnt/home respectively. So would I mount these 2 partitions to /media/Music and /media/Photo's?

Last edited by EmyrB (2015-03-11 12:15:21)


Proud Arch Linux User

Offline

#2 2015-03-08 11:45:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: [SOLVED] How to mount drives during install

No.  The new system is built under /mnt.  So you *could* mount them at /mnt/media/{Music,Photos}.  But there is absolutely no reason to do so.  Just add them after the installation is complete.  You are not installing anything to them, so they don't need to be mounted for the installation.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-03-08 12:17:05

EmyrB
Member
From: Wales, UK
Registered: 2006-09-04
Posts: 122

Re: [SOLVED] How to mount drives during install

Thanks Trilby. So would I have to add them manually to fstab?


Proud Arch Linux User

Offline

#4 2015-03-08 12:24:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,333
Website

Re: [SOLVED] How to mount drives during install

If you mount them during the installation, genfstab will create the entries for you - but then there are risks of overwriting them if you do something wrong.  This is only a risk if you make a mistake during the installation process, but mistakes happen.  If you have anything you value on those partitions I definitely wouldn't mount them during the installation.

If you don't mount them during the install, you'd just add them later once your system is set up.  Adding them to fstab would be one way of doing that - lilkely the best way if these partitions are always connected and you want them mounted at boot up.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-03-08 12:25:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to mount drives during install

Offline

#6 2015-03-08 21:03:20

EmyrB
Member
From: Wales, UK
Registered: 2006-09-04
Posts: 122

Re: [SOLVED] How to mount drives during install

@Trilby,

Thanks for the advice. Yeah, some of the photo's on one of the partitions are irreplacable, so I'll mount them with fstab after the install.

@karol,

Thanks for the link. I'll give it a read so I know what I'm doing smile


Proud Arch Linux User

Offline

#7 2015-03-11 08:29:08

EmyrB
Member
From: Wales, UK
Registered: 2006-09-04
Posts: 122

Re: [SOLVED] How to mount drives during install

OK. I blitzed my main box and it now runs arch and I have mounted my 2 partitions via fstab so thanks Trilby and karol. Now I have another niggle. Everytime I mount sdb3 via Gnome Files it asks me for permission to mount the drive. It mounts it in /run/media/emyr/data. 2 questions, 1 - how do I stop it from asking me permission and 2 - how do I get Gnome Files to mount it in /media?

Cheers


Proud Arch Linux User

Offline

#8 2015-03-11 08:39:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,416

Re: [SOLVED] How to mount drives during install

For the second question, you don't. udisks uses /media, udisks2 uses /run/media/<username>.

Offline

#9 2015-03-11 08:39:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] How to mount drives during install

Please mark this thread as [Solved] as it is. You have your other thread for the Gnome Files question, so there is no need to crosspost here:
https://wiki.archlinux.org/index.php/Fo … ss-Posting


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB