Clonar particiones



  • Buenas. Soy nuevo con fog, y he conseguido clonar un disco completo y sin problemas.
    Pero no he visto por ningún sitio donde indicar que sólo quiero clonar, por ejemplo la partición 1 y 3, como sí se puede con Clonezilla, por ejemplo.
    1°: ¿Se puede hacer?
    2°: ¿Cómo?

    Gracias

    [MOD edit to add translation]
    Hello, I am new with fog, and I have managed to clone a complete disc and without problems.
    But I have not seen anywhere to indicate that I only want to clone, for example partition 1 and 3, as you can with Clonezilla, for example.

    1. Can it be done?
    2. How?

    Thank you


  • Developer

    Hi @linuxba ,

    I have the same esnario in my university. I can tell you a workaround to solve this or how we solve this problem in our university.

    1. Create a complete image of your dual system:
      Imagen name: Dual_Image
      Image type: One disk not resizable
      OS: windows 10
      Partitioning: Everything
    2. Upload it to the server. FOG will create you a new folder in /images, in this case:
      /images/Dual_Image
      This folder has the different partition files, for example:
    • d1.has_grub
    • d1.mbr
    • d1p1.img -> UEFI or boot partition
    • d1p2.img -> windows system
    • d1p4.ebr
    • d1p5.ebr
    • d1p5.img -> Ubuntu parition
    • d1.partitions
    1. Now we will create a new image definition:
      Imagen name: Ubuntu_Partition5
      Image type: One disk not resizable
      OS: windows 10
      Partitioning: Partition 5
    2. This step in not necessary but I recommended you. Assign this image to your PC and upload this image. In this way FOG will create you the folder in the server, /images/Ubuntu_Partition5.
    3. Connect to the server via ssh
    4. cd /images/Ubuntu_Partition5. If you don’t do the 4 step, you need create the folder and give permission 777.
    5. erase the file d1p5.img and do a soft link:
      ln -s …/Dual_Image/d1p5.img .
      You can do, if you want, more soft links to the other files: d1.has_grub, d1.partitions, …
      With this method, is a little rustic but practice, you only manage one image, Dual_Image, because with the links the Ubuntu_Partition5 is updated automatically.

    In our university we have windows images and dual images, with different disk sizes but, at last, the d1p2.img and d1p5.img files are always the same. Updating the windows images and ubuntu images, I update all images versions (for small disks (160GB), big disks (500GB)).

    If you want to recovery only the linux partition in one PC, assign the Ubuntu_Partition5 image to the PC and deploy it.



  • Thank you very much.

    In my job I have a lot of pcs with dual boot: Windows + Linux, although only we use Linux, and I can’t remove Windows.
    For that reason I only need clone the Linux partitions, in the most cases.
    Of course, this is for same type of pcs and same disks.
    The duration of the cloning is decisive for me.

    However I like fog and I see it very interesting and useful. I’ll have to try it better.

    Bye.


  • Developer

    Hola @linuxba :
    el uso mayoritario de FOG es para clonar discos completos, no por particiones.

    ¿Se puede hacer?
    Si, se puede hacer. La limitación es que se descarga una sola partición por tarea.

    ¿Cómo?
    Creando una imagen de una partición

    Creando varias definiciones de una partición
    Crear nueva partición:

    • Nombre de la imagen: mi_disco_part1
    • Tipo de imagen: One disk / no resizable
    • Particionado: Partition 1 only
      Creamos tantas imágenes como particiones tenga el disco.
      Subimos las particiones una a una.
      Luego desplegamos la particion que queramos. Esto tiene una limitación: el tamaño del disco de origen y que hay que clonar completamente el disco previamente.

    ====================
    Google traductor

    Hello @linuxba:
    the majority use of FOG is to clone complete discs, not by partitions.

    Can be done?
    It can be done. The limitation is that only one partition is downloaded per task.

    How?
    Creating an image of a partition

    Creating several definitions of a partition
    Create new partition:

    • Name of the image: my_disco_part1
    • Image type: One disk / non-resizable
    • Partitioning: Partition 1 only
      We create as many images as partitions have the disk.
      We upload the partitions one by one.
      Then we deploy the partition that we want. This has a limitation: the size of the source disk and that you have to completely clone the disk previously.

  • Developer

    @linuxba First off, please try to use translation services to post in English.

    Yes you can only single partitions but it depends on a couple of prerequisites! The partition layout needs to be on the destination PC’s disk already. As you seem to have captured and deployed the image as a whole (all partitions) that is a good start. Now if you want to deploy only a single partition to that same PC again edit the image settings for this image in the web UI and change setting Partition from “Everything” to “Partition 1 only” for example. Now when you deploy that image to your PC it only does partition one.

    En primer lugar, intenta utilizar los servicios de traducción para publicar en inglés.

    Sí, solo puede particiones individuales, pero depende de un par de requisitos previos. El diseño de la partición debe estar ya en el disco de la PC de destino. Como parece que ha capturado e implementado la imagen como un todo (todas las particiones), es un buen comienzo. Ahora, si desea implementar una sola partición en esa misma PC, edite nuevamente la configuración de la imagen para esta imagen en la interfaz de usuario web y cambie la configuración de la Partition de “Everything” a “Partition 1 only”, por ejemplo. Ahora, cuando implementas esa imagen en tu PC, solo hace la partición 1.


Log in to reply
 

463
Online

5.5k
Users

12.7k
Topics

120.2k
Posts