2

Something like, dd an iso straight to the other partition without making a usb installer... and then updating grub?
or maybe, make a virtual machine mimicking my real hardware and use the extra partion as it's hd, and then virtually boot an installer iso?
surely there's good way to do this...

  • 2
    Can you please be more clear about what you are trying to achieve? Cloning an existing system to a new partition? Do you have a working system already? Are you looking for a ready to use system image that you can just copy to a new partition? – fra-san Jan 8 '19 at 20:57
  • sorry. working system already. install a new system onto the new partition. – xor Jan 8 '19 at 21:09
  • 1
    Question unclear. Please edit instead of saying complement in the comments – 炸鱼薯条德里克 Jan 8 '19 at 21:19
  • 1
    Are you aiming to speed up system installation? (Please, edit your question with your clarifications). Usually, installers copy stuff and configure your system based on your specific hardware and preferences (localization, partitions, swap, networking, users, packages...). All things that have to be done somehow before you can just copy a file system and setup a boot loader. – fra-san Jan 8 '19 at 21:36
  • 1
    You can clone an existing linux installation. Also you can use the chroot way , there is an example here : unix.stackexchange.com/questions/361239/… – GAD3R Jan 8 '19 at 22:04
4

Yes, absolutely. You can pack an entire Linux root filesystem into a tar archive file (using the tar program), and then unpack that archive onto a freshly formatted disk partition. I've done it before to back up a system and that is effectively what is being done if you install a distribution from a Live USB - often times the installer is just unpacking a base system from a tarball (tar archive).

| improve this answer | |
  • This solution will work if you are trying to copy your existing instance from one partition to another. You're essentially forking your OS and would have two completely identical (but entirely separate) OSs if you did this. I'm not entirely sure that this is what the question is asking. – Crypteya Jan 8 '19 at 21:44
  • @Crypteya I agree the OP could clarify the question better. It seemed to me they were basically asking if it possible to copy an entire system from one partition to another. – Time4Tea Jan 9 '19 at 14:53
  • Fair. Doesn't look like the question will be clarified. I upvoted your answer when initially commenting anyway. I'm sure your answer will help people who find this question. – Crypteya Jan 10 '19 at 4:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.