Results 1 to 3 of 3

Thread: Can I copy my setup???

  1. #1
    Join Date
    2019-Dec
    Posts
    8

    Question Can I copy my setup???

    I have a setup that i'm running in VBox. I like it alot and almost have everything just as I want it. My question is can I take my setup from vbox and do a full install on another system copying all files as-is now? If so, how please.... Thank you

  2. #2
    Create a compressed tarball of your installation (with all the attributes copied over)
    cd /; tar -cpvjf mykali-installation.tar.bz2 . --xattr --one-file-system

    then use a live cd (eg, systemrescuecd) to partition and format your new setup. Then mount your / (eg to /mnt).
    Then uncompress the tarball you created above into the new machine:

    tar -xjpvf mykali-installation.tar.bz2 . -C /mnt

    After that, you do have to do some final housekeeping like modifying the UUIDs in your /etc/fstab and grub.conf to match your hardware.
    Finally, rebuild the grub bootloader by chroot-mounting:

    mount -t proc proc /mnt/proc
    mount -o bind /sys /mnt/sys
    mount -o bind /dev /mnt/dev

    chroot /mnt
    grub2-install /dev/sdX (replace X with whatever your boot drive is)
    exit out of chroot
    reboot

    enjoy your new kali.

  3. #3
    Join Date
    2019-Dec
    Posts
    8
    Hey, Thank you very much...

Similar Threads

  1. Can not copy and paste
    By kkwas21 in forum General Archive
    Replies: 0
    Last Post: 2021-09-19, 17:51
  2. How to copy persistence?
    By Quest in forum General Archive
    Replies: 0
    Last Post: 2013-08-26, 15:10

Posting Permissions

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