Results 1 to 3 of 3

Thread: Moving /usr to another volume

  1. #1

    Default Moving /usr to another volume

    I have moved the /usr to another volume in the past. It involved booting to a Rescue Disk, copying /usr to a new destination, mounting the boot image (several "mount --bind" commands, chroot, ...), renaming mounts in /etc/fstab, and rebuilding the boot image (mkinitrd).

    Is all that really necessary? Can /usr be copied to another volume, the volumes renamed in /etc/fstab, and reboot?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,852
    Blog Entries
    14

    Default Re: Moving /usr to another volume

    Quote Originally Posted by jimoe666 View Post
    I have moved the /usr to another volume in the past. It involved booting to a Rescue Disk, copying /usr to a new destination, mounting the boot image (several "mount --bind" commands, chroot, ...), renaming mounts in /etc/fstab, and rebuilding the boot image (mkinitrd).

    Is all that really necessary? Can /usr be copied to another volume, the volumes renamed in /etc/fstab, and reboot?
    Are we talking partitions here? Or btrfs volumes? If the latter, I'd stick to the "former" procedure.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Moving /usr to another volume

    Quote Originally Posted by Knurpht View Post
    Are we talking partitions here? Or btrfs volumes? If the latter, I'd stick to the "former" procedure.
    I am planning to replace a rather old hard disk drive with a SSD. So, separate physical volumes, BTRFS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •