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

    Converting from multiple disk images to single disk images

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    2
    877
    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.
    • J
      Julianh
      last edited by

      Hi All,

      I’ve bought new SSDs for 10 machines, that previously had dual drives in them. I have images of the dual drives machines, that I want to deploy to the new SSD environment.
      The second disk was never used in the machines, hopefully there were no boot etc partitions either on it.

      I noticed that the images have in them d1.mbr d1p1.img d1p2.img d2.mbr d2p1.img
      I wondered if I could simply delete d2.mbr and d2p1.img, then change the image type to single disk.
      Would it work? If not any suggestions? I’d rather not rebuild the images if possible.

      Thanks

      Julian

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @Julianh
        last edited by Wayne Workman

        @Julianh

        Depending on your comfort level - you can make a copy of the image manually, and then manipulate the copy, and create an image definition to match.

        for example, lets say I have /images/MyAwesomeWin7Image

        I could copy it like this:
        cp -R /images/MyAwesomeWin7Image /images/CopyOfMyAwesomeWin7Image

        Then I could work with just the copy, and delete the disk 2 partitions like this:
        rm -f /images/CopyOfMyAwesomeWin7Image/d2.mbr
        rm -f /images/CopyOfMyAwesomeWin7Image/d2p1.img

        Then, in the web interface I would go to “create new image” and put the image name and image path as CopyOfMyAwesomeWin7Image and select “Single Disk Multiple partition non-resizable” as the image type.

        And then just assign that image to a host and try it out…

        But if you’re using FOG 1.2.0, it does not work with totally blank HDDs. However FOG Trunk can handle blank HDDs - but it is developmental. I use FOG Trunk in production, others do to. You simply need to understand there will be bugs that you won’t expect, and when you find those, just report them here in the bugs section, the developers are really good at fixing bugs.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

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

        212

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project