• Hi all,
    I lost this fog 1.5.9 VM.
    The /images is still OK.
    New fog install, then mount of /images
    Is there a way to import the content of /images into fog ?
    Thanks in advance for your time.

  • Moderator

    @electronico_nc Well lets start off by saying this. FOG Images have 2 parts. There are the raw files that are stored in the /images directory and the meta data that is stored in the database. You have the raw files so rebuilding the data will take some work, good guessing, and a bit of luck.

    Just recreate your image definitions by hand as you did in the beginning. Be sure to name them exactly what they were before. In the example above the image name and directory name is almost always the same. So name this image win7_64 (watch your case). Fill out the rest of the settings as you would normally do. One could guess that this image is a windows 7 so you will need to select that in the OS field. If you did not name all of them as clearly, be a good guesser to see what OS it is. The compression values are only used on image capture so you should just guess what you might have used. Just do this for each directory in the /images folder.

    The only (not a gotcha, but something to be aware of) is that on the image list view the image size will be zero. This is because the image size is set at capture time only. Since you are side loading these images that field will be zero until you recapture the image.


  • each image folder looks like this:

    ./win7_64:
    total 19743952
    -rwxrwxrwx 1 fogproject root           4 juin   9  2020 d1.fixed_size_partitions
    -rwxrwxrwx 1 fogproject root     1048576 juin   9  2020 d1.mbr
    -rwxrwxrwx 1 fogproject root         266 juin   9  2020 d1.minimum.partitions
    -rwxrwxrwx 1 fogproject root          15 juin   9  2020 d1.original.fstypes
    -rwxrwxrwx 1 fogproject root           0 juin   9  2020 d1.original.swapuuids
    -rwxrwxrwx 1 fogproject root   174989773 juin   9  2020 d1p1.img
    -rwxrwxrwx 1 fogproject root 15691190007 juin   9  2020 d1p2.img
    -rwxrwxrwx 1 fogproject root  4350547200 juin   9  2020 d1p3.img
    -rwxrwxrwx 1 fogproject root         266 juin   9  2020 d1.partitions
    

376
Online

9.0k
Users

15.6k
Topics

145.1k
Posts