You are not logged in.
Hello everyone,
I have laptop with SSD and HDD. I would like to install Archlinux to the SSD (separate partition for /boot + LVM-on-LUKS{root, swap, home}) and mount HDD during start up. Whole installation process has been smooth until I wanted to edit /mnt/etc/fstab. I couldn't find /media directory, where I wanted to mount HDD. After some research I found out that Archlinux has filesystem hierarchy of its own - Arch filesystem hierarchy. Justification here. After installation it can be done probably through editing udisks2, but how (and where) can I mount HDD during the installation process, please? Do I have to write down any new udev rule?
Thank you for any advice,
ODra - ubuntu user so far.
Last edited by ODra (2015-01-17 00:04:24)
Offline
Just create /mount, or mount to /mnt. You can mount it wherever you want if you are not installing anything it it. But that begs the question, if you are not installing anything to it, why do you want to mount it at all during installation - there is no reason to.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Well, maybe its just my bad habit. I just wanted to have properly mounted all devices before I'm going to run genfstab and to make HDD permanent auto-mout at start up. How can I achieve it? I'm pretty confused by udev, udisks2.
Offline
You don't need any of those for a permanent drive. Just mount it where you want it before running genfstab. But again, all that can be done after installation to - you just add the line to fstab and it will be mounted at boot from then on.
EDIT: don't tinker with udev, don't use udisks, just use mount.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
OK, thank you Trilby. I was confused by "If the machine has multiple block devices, this may manifest itself in the form of device nodes changing designations randomly. For example, if the machine has two hard drives, /dev/sda may randomly become /dev/sdb. See below for more info on this." from udev wiki. ACL is something new to me as well. In the end I will go with mount to /media after installation process. Thank you again. The dilemma solved. ![]()
Last edited by ODra (2015-01-17 00:07:05)
Offline
To avoid problems of block device names changing (which is extremely rare in my experience) you can just use UUIDs instead - genfstab even has an option for this. I always just use UUIDs, as while I do think problems with block device names are extremely rare, it's just not possible to have such a problem with UUIDs.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline