Resizing issue maybe?
-
@Wayne-Workman Oh, I don’t plan to. I’ll still be looking at things on my end to see if anything pops out at me. I’m just hoping it’s not because of that one partition that has the windows image itself on it. Haha.
-
How much data was on the 500GB HDD?
-
@Quazz Actually I was wrong with one of the partitions. It’s a 24gb partition but has nothing in it. Only dedicated to recovery I guess. Here’s what that drive has in total.
24GB partition 100% free space
300MB partition 100% free space
441GB partition 95% free spaceSo all in all it’s only really has like 20GB total being used.
-
Maybe it will work if I just remove the 24gb partition? I’ll wait on what you all have to say :).
-
i would take a backup of the drive with clonezilla and play around with removing/resizing the wasted space partitions with gparted
-
@Junkhacker Alright. I can do that. I’ll give you all an update once I’ve done that.
-
@adame You might be able to get this fixed by shuffling around with your partitions but we also might be able to get this fixed from our side as well - not promising anything but we might be able.
Please run a debug upload job from the old HDD (schedule a normal upload but just before you click “CREATE UPLOAD TASK” there is a checkbox for debug). The client boots up and drops you to a shell. Run
sfdisk -d /dev/sda
. Please take a picture an upload it here.[edit] Just a blind shot: Edit /images/<image-name>/d1.fixed_size_partitions file. I guess it reads
1:
right now. Make it1:2
and try deploying again to the SSD.[/edit] -
@Sebastian-Roth Ok I’ll give that a shot.
-
Sorry. Had to put out some fires, haha. So far I got this part done. I’ll do the other thing after I put out another fire.
-
I changed that file to 1:2 and so far it went on to the next process. So I’m farther than I was. I’ll let you know once it’s finished if it’s all good to go.
-
@Sebastian-Roth Setting the image to 1:2 worked like a charm. Loaded up windows just fine after it finished. Will I need to do that with every image or is that something on your end you can do? I don’t mind if I have to edit it manually for each one.
-
@adame Thanks for the picture. This things is your partition layout is not really “the typical clean install of windows” that we usually have. So FOG is kind of tripping. You have two hidden NTFS partitions (type 27) which is kind of unusual. I’ll see if we can change the scripts to work for your partition layout as well.
What is that first partition for anyway??? Second is the boot partition and third is windows, right? But the first?!?
-
@Sebastian-Roth Sorry for the late response. These came from Panasonic. The 3rd partition is the system recovery partition so we are able to restore to factory settings. Also has 64 and 32-bit of the OS in it. They don’t send out recovery media at all. Kind of sucks. We spend like $3,000 a piece on these and we can’t even get $5 jump drive with the recovery media on it without requesting to get one for a small fee.
-
@Sebastian-Roth But I’m assuming that’s where a lot of laptops have been going these days. Granted most still come with recovery media but they have that extra partition primarily for factory resets. The thing I’m going to love about fog is if that hard drive took a crap I have a “factory reset” on the fog server so I don’t have to purchase the media.
-
@adame said:
But I’m assuming that’s where a lot of laptops have been going these days.
Absolutely. Lots and lots of different setups and it’s not very easy to kind of auto-discover and do assumptions on partition scheming! There are too many things that can go wrong. I checked our scripts and thought about adding a check to see if windows boot files are found on one of the partitions.
@Tom-Elliott what do you think about this idea? Find BCD on one of the partitions and if we find it mark this partition and all the ones before it as fixed size! Not sure if this would break other weird partition layouts.
-
@Sebastian-Roth And if you can’t, it’s not the end of the world I’m sure but you might want to add it to the wiki on how to do this so you don’t have a bunch of posts regarding this. I only need to do it to maybe 10 images. The rest are desktops with the general Windows partitions. I just imaged a desktop and it flew right through it without any edits.
-
Is there a potential update on any of this?
-
@Tom-Elliott Well, I am still waiting for you to tell me your opinion on my suggestion of adding a script that can run on the FOG server which will go through the images and try to add
d1.partitions
andd1.mbr
to all the old legacy images that are missing those files. As I told you we should able to extract the information needed to do this from the*.img
files.
An alternative way would be to do the information extraction on every deploy if those files are missing. I don’t really like that idea! Better do it once and update the image with that information I find. What do you think? -
@Sebastian-Roth I’m totally up for it, just have no idea what I’m doing.
-
@Tom-Elliott No worries, I’ll do it! You’ll see…