[arch-general] Arch Linux and systemd

mike cloaked mike.cloaked at gmail.com
Fri Aug 17 15:07:20 EDT 2012


On Fri, Aug 17, 2012 at 10:14 AM, mike cloaked <mike.cloaked at gmail.com> wrote:
> On Thu, Aug 16, 2012 at 10:22 PM, Myra Nelson <myra.nelson at hughes.net> wrote:
>> of lib and lib64 to /usr/lib, I'm basically ambivalent. I still don't like
>> not being able to put /usr on a separate partition, I know there's a
>> mkinitcpio hook to cover that, but I can see the logic in cleaning up the
>
> Thank you for a reasoned posting - one comment here about the issue of
> /usr on a separate partition - if you put /usr on a separate partition
> and then made a bind mount to / would that not work? I have not tried
> it though!
>
> I have been doing this for /home which is a directory /opt/home and
> /opt is a separate partition - I then bind mount it to /home as a
> directory in the root partition. It has never given a problem so I
> wondered if the analogous technique might work for /usr too?
>

Actually the answer to the /usr partition question seems to already be
in the arch wiki at
https://wiki.archlinux.org/index.php/Systemd#Arch_integration

"Warning: /usr must be mounted and available at bootup (this is not
particular to systemd). If your /usr is on a separate partition, you
will need to make accommodations to mount it from the initramfs and
unmount it from a pivoted root on shutdown. See the mkinitcpio wiki
page and freedesktop.org#separate-usr-is-broken"

https://wiki.archlinux.org/index.php/Mkinitcpio#.2Fusr_as_a_separate_partition
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken

I should have read up on this before my previous post!

-- 
mike c


More information about the arch-general mailing list