• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

How can one manually & locally clone image to device using Clonezilla?

Scheduled Pinned Locked Moved
General
3
5
2.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    moses
    last edited by Jun 7, 2017, 7:17 PM

    I’ve got a notebook I need to image from FOG, but alas, the ethernet adapter is dead.

    Is there a way to manually write a standard single disk/resizable Windows 7 image that I have on my FOG server if I copied it to a portable HDD? I’ve used Clonezilla in the past, but I’m sure with resizable images, there might be some extra steps involved.

    Here’s the image as it is on my FOG server:

    0_1496863008115_1e19b233-1b57-47a8-b518-f5c42a6279db-image.png

    G 1 Reply Last reply Jun 7, 2017, 7:56 PM Reply Quote 0
    • G
      george1421 Moderator @moses
      last edited by Jun 7, 2017, 7:56 PM

      @moses said in How can one manually & locally clone image to device using Clonezilla?:

      Is there a way to manually write a standard single disk/resizable Windows 7

      This would be an interesting idea. FOG doesn’t support it, but it would be interesting feature to add.

      In your case you DO have a few options. The requirement is having a usb to ethernet adapter. Since your computer’s firmware will probably not support pxe booting off a usb ethernet adapter you will have to boot via a usb stick. You can either boot into the iPXE kernel or boot straight into FOS. There are advantages and drawbacks with either approach. But it IS possible to do.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      M 1 Reply Last reply Jun 7, 2017, 8:47 PM Reply Quote 0
      • C
        cml Moderator
        last edited by Jun 7, 2017, 8:07 PM

        First, I haven’t tested this. If I had a usb drive laying around I’d gladly test it first.

        Do you know how many partitions you have in your image?

        On your server you can run ls /images/W7PUniversalx64STANDARD

        I only have one partition, here is my output:

        root@Fed-Fog:~# ls /images/StaffWindows10/
        d1.fixed_size_partitions  d1.mbr  d1.minimum.partitions  d1.original.fstypes  
        d1.original.swapuuids  d1p1.img  d1.partitions
        

        My thoughts:
        Set up a bootable linux usb. It needs to have at least partclone and pigz installed.
        Copy the d1p1.img file to a usable spot on the drive at /images/d1p1.img for ease.
        Boot the machine from the usb
        Partition disk correctly, and create filesystem
        Write the image to the hard drive using:
        cat /images/d1p1.img | pigz -dc | partclone.restore --ignore_crc -O /dev/sda1 -N -f 1

        I’ll bring a drive tomorrow to test and follow up.

        G 1 Reply Last reply Jun 7, 2017, 8:46 PM Reply Quote 0
        • G
          george1421 Moderator @cml
          last edited by george1421 Jun 7, 2017, 2:49 PM Jun 7, 2017, 8:46 PM

          @cml You can boot FOS from a usb drive. You can do that in debug mode so you can access the linux console. I’m not suggesting that your concept will work or not, but if you use FOS then you will have all of the tools (required programs) you would need for your proof of concept. Setup the FOS usb drive and pick option 6 for debug.

          But if you are going to go that far, why not just use FOG to image the target computer.

          https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 0
          • M
            moses @george1421
            last edited by Jun 7, 2017, 8:47 PM

            @george1421 I completely forgot I have a USB ethernet adapter. I’ll give that a try.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post

            217

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project