• How to adapt this MBR-BIOS cloning scheme to Antergos?

    Hi and thank you for Antergos.

    Previously in Arch installed via evo-lution (so I’m not a “real” archer) I was using the following cloning scheme in a MBR-BIOS system successfully (the target external USB drive has two partitions, ArchBackup and Audio/Video; ArchBackup was being used for the whole system):

    Remove lvm2 as it has created issues before.

    sudo mkdir /mnt/Arch
    sudo mount /dev/sdXY /mnt/Arch
    sudo rsync -aAXPu --info=progress2 --delete-after --exclude="/boot/grub/*" --exclude="/boot/initramfs-linux.img" --exclude="/boot/initramfs-linux-fallback.img" --exclude="/boot/initramfs-linux-lts.img" --exclude="/boot/initramfs-linux-lts-fallback.img" --exclude="/etc/fstab" --exclude="/etc/machine-id" --exclude="/dev/*" --exclude="/proc/*" --exclude="/sys/*" --exclude="/tmp/*" --exclude="/run/*" --exclude="/mnt/*" --exclude="/media/*" --exclude="/lost+found" --exclude="/home/*/.thumbnails/" --exclude="/home/*/.cache/" --exclude="/home/*/.local/share/Trash/" --exclude="/home/*/.gvfs/" / /mnt/Arch/

    Create the new /etc/fstab for the first clonning.

    sudo arch-chroot /mnt/Arch /usr/bin/mkinitcpio -p linux
    sudo arch-chroot /mnt/Arch grub-install --target=i386-pc --debug --boot-directory=/boot /dev/sdX
    sudo arch-chroot /mnt/Arch grub-mkconfig -o /boot/grub/grub.cfg

    But now with Antergos in the same machine (I believe) in a GPT-BIOS system I’ve got /boot as a separate partition. Accordingly I have partitioned my external USB like so

    sdb1 ext4 255 MB with boot flag
    sdb2 Audio/Video
    sdb3 ext4 90 GB ArchBackup

    And tried this clonning scheme:
    And with help from mod joekamprad the following clonning scheme works:

    sudo mkdir -p /mnt/Arch/boot
    sudo mount /dev/sdb3 /mnt/Arch && sudo mount /dev/sdb1 /mnt/Arch/boot

    The rest is the same.

  • the extra /boot partition will be mounted under /
    If your / is /mnt/Arch you will need to mount the /boot partition under /mnt/Arch/boot

    because /mnt/Arch is your system root = / thats the point zero ;)
    Or i am missing some here ???

  • It’s always refreshing to come across a clever person! Thank you. Worked.

  • you are welcome, fluxboxer (fluxbox is great!)

  • Replying from the USB clone and will shortly edit the post as solved with the final scheme.

    Fluxbox, yes, it is great, (much) better than Openbox as far as I can remember Openbox, more stable than earth itself, very light, with the best hotkey implementation, better then the miserable(!) kwin etc. It has even a panel as well… Well…

cloning2 adapt2 mbr-bios1 scheme1 Posts 5Views 1300
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.