FOG restore only one partition
-
@Tom-Elliott
I just upgraded now 6194
It’s trully an xp image from an old portable with windows XP
i made the test today with the 6186 version
i just made the test with the 6194 version with same problem -
@plegrand I do know what the problem is though I don’t know of a good fix at the moment. I believe it’s because of checking done for the image files. Old XP images were to be a single partition/single file. But have no XP image to test with/from. What happens if you change the is version to Windows 10? I’d say 7 or 8 but I know that it would fail due to bcd files trying to be placed that aren’t used in XP. I set up Windows 10 to not replace the bcd though.
-
@plegrand I just rebuilt the init’s to attempt to approach this scenario (three partitions and what not for xp).
The one partition was a failure on my part. I was checking if the d1p1.img file was there and verifying it. This is correct, but i was never iterating partitions and what not for XP/Vista. This is because I guess XP/Vista are so old that I didn’t really expect any person to be using an image of these types in such a manner.
I’m almost certain, however, that this will still be an issue as we always default to using the FOG systems mbr file. This mbr file only has one partition within it. Maybe I was lucky with how I coded it though?
-
@Tom-Elliott said:
I’m almost certain, however, that this will still be an issue as we always default to using the FOG systems mbr file. This mbr file only has one partition within it. Maybe I was lucky with how I coded it though?
Sounds like a good reason to have… two… MBRs.
-
@Tom-Elliott
then what i have to do ?
do you want i test with windows 10 version.
However this morning i updatet to 6209 version, and now when i try to deploy, partclone “tell” me that “This is not a partclone image”.
Did you change something ?Thanks for your help
-
@Tom-Elliott
I made the test with windows 10 version and this is not the same error :
Image store corrupt : Unable to locate MBR(restorePartitionTableAndBootLoaders) -
@Wayne-Workman
I saw on the wiki that there is 4 partition types :
Single Partition
Multiple Partition - Single Disk
Multiple Partition - All Disks
Raw ImageOn the web frontend
Single Disk - Resizable - (1)
Multiple Partition Image - Single Disk (Not Resizable) - (2)
Multiple Partition Image - All Disks (Not Resizable) - (3)
Raw Image (Sector By Sector, DD, Slow) - (4)As you can see the first option is different.
Then may be i would choose “Multiple Partition - Single Disk”
And it’s, may be, for this reason it failed now ? -
@Tom-Elliott
Then do you think i have to restore manually my station or it will be possible from fog ? -
@plegrand Try changing the OS type to Windows 10.
-
@Tom-Elliott
As i said before, i already done that without success -
@plegrand Can you try with it set back as XP? I don’t see that being retested.
-
@Tom-Elliott
I made the test with windows xp type on 6209 version : partclone “tell” me that “This is not a partclone image”.
Not the same error as yesterday with other version (6194) -
@Tom-Elliott Same problem with 6211
-
@Tom-Elliott
I just made the test today with 6237 version. Same problem : partclone “tell” me that “This is not a partclone image”.
Do you think there is a solution to restore image from fog or do i have to reinstall the station ? -
@plegrand there can be a solution but I have to figure out what that solution will be.
-
@Tom-Elliott
for the moment i reinstalled the station and i continu my tests. I’ve got one question :I saw on the wiki that there is 4 images types :
Single Partition
Multiple Partition - Single Disk
Multiple Partition - All Disks
Raw ImageOn the web frontend
Single Disk - Resizable - (1)
Multiple Partition Image - Single Disk (Not Resizable) - (2)
Multiple Partition Image - All Disks (Not Resizable) - (3)
Raw Image (Sector By Sector, DD, Slow) - (4)As you can see the first option is different.
What is the good one
Is it single disk or single partition ?And finally, instead opening a new thread, i’ve got a last question :
all my host have a red circle with exclamation point and this error message :
“no such device or address”. What does that mean ?Thanks for your help
-
@Tom-Elliott
Hello
i just made a test today with an other station
Dell Optiplex 760 with again 3 partitions
Here is the image definition :
default: Windows 2000/XP
Single Disk - Resizable
EverythingThe capture seems to works fine and i can see in the “images” directory :
ls -al /home/images/Optiplex760780/
total 8355044
drwxrwxrwx 2 root root 4096 févr. 23 10:09 .
drwxrwxrwx 7 root root 4096 févr. 23 10:09 …
-rwxrwxrwx 1 root root 3 févr. 23 09:44 d1.fixed_size_partitions
-rwxrwxrwx 1 root root 249 févr. 23 09:49 d1.minimum.partitions
-rwxrwxrwx 1 root root 30 févr. 23 09:49 d1.original.fstypes
-rwxrwxrwx 1 root root 0 févr. 23 09:44 d1.original.swapuuids
-rwxrwxrwx 1 root root 3706587 févr. 23 09:49 d1p1.img
-rwxrwxrwx 1 root root 8551432512 févr. 23 10:09 d1p2.img
-rwxrwxrwx 1 root root 392584 févr. 23 10:09 d1p3.img
-rwxrwxrwx 1 root root 249 févr. 23 09:44 d1.partitionsBut when i try to deploy this image on the same station i’ve got again this error message at the beginning :
“This is not a partclone image”Now the station is “dead” and cant boot “Error loading operating system”
It’s a real problem because we have a lot of this kind of station
-
I just added some more code and I think I finally found the problem.
-
@Tom-Elliott Hello
does that mean that with the latest version it will work ?
Do you want i try ?
Thanks for your help -
@plegrand Yes, would be great if you can upgrade to the latest version and see if it’s fixed. Please report back!