Partition Resizing (expanding) not working. Windows 7 Single Partition (Resizable)
-
In FOG 1.2.0, all the way back to 1.0.0, we were running into issues attempting to assign the disk size to 100% because not all disk geometry’s are the same. To maintain some kind of compatibility, we made the 100% not a required thing and so I could ensure all disks worked, we set the disk size to 99% of the size leaving about 1% of the disk unused/unallocated. I’m thinking this is likely what you’re currently seeing.
We’ve since learned how to deal with the disks on a much nicer side and disks are now back to using the 100% (without literally specifying 100%.) So I think this is likely the issue. You’re not necessarily going to see anything wrong with the disk, you’re just seeing it using 99% of the available disk space rather than 100% as is usually the case.
-
@TomElliot: This is not the case, see attached pictures, this time I deployed the image on a different hardware and the outcome is the same. See attached pictures.
[url=“/_imported_xf_attachments/1/1390_FirstMessage_onLogin.jpg?:”]FirstMessage_onLogin.jpg[/url][url=“/_imported_xf_attachments/1/1391_HDD_Allocation.jpg?:”]HDD_Allocation.jpg[/url][url=“/_imported_xf_attachments/1/1392_FirstMessage_onLogin.jpg?:”]FirstMessage_onLogin.jpg[/url]
-
Why i feel that Tom is thinking of me when we speak of 100% partition problem ?
-
No, I think this is still EXACTLY the case. The issue is the partition size that gets created is outside the size of your written to disk (as specified earlier in the thread.)
The issue isn’t in the creating of the disk size to contain the data. As does and it writes the data to the disk after. However, when the “parted” system ran, it couldn’t build your disk even to 99% of the new size of the disk because the partition table was outside the size of the real disk. I know, weird.
If you right click on the partition and tell it to expand within windows, I’ll bet everything will be perfectly fine. I’m also starting to think you have a “resizer” in the unattend that’s telling the windows system the disk is already a specific size?
-
[quote=“jmeyer, post: 37196, member: 6537”]Why i feel that Tom is thinking of me when we speak of 100% partition problem ? :D[/quote]
Your stuff should be perfectly fine now.
-
Is it normal that it display current blocks and total blocks for a resizable upload ?
I don’t remember having this (maybe i just don’t take time to look during download and upload).
This let me think about RAW format. -
And How’s that possible, My Virtual Disk is 35GB, my partition in VirtualBox is 34.8GB and is now 7GB free (I’ve cleaned some unnecessary software) and I’m deploying it to a 80GB disk and to 500GB disk. You see my Universal Image Disk is much smaller to the ones I’m deploying to. And I did not had any fixed size or autoexpanding stuff in my unattended.xml file. I did put just now the clause about the ExpandOSPartition in my unattend file, I’ll test it and get back to you.
P.S. So somebody tell me how to fix (workaround) my problem. -
Are you sure that your image type is on resizable single partition on FOG web page ?
-
[quote=“Tom Elliott, post: 37198, member: 7271”]Your stuff should be perfectly fine now.[/quote]
Not exactly.
I will explain somewhere else that on this topic. -
Absolutely
-
I don’t use ExpandOSPartition on my sysprep so this shouldn’t be needed i think.
Have you only one partition on the drive (other than the small one for system created by Windows) ? -
Yes I do have only one, beside 100MB boot partition.
-
What looks extremely strange to me is the order your partitions are listed. It’s almost like the “main partition” is the first partition and the recovery partition is the second. This may be the issue?
-
No, no. See below where is the disc geometry. At the top I accidently clicked on the name column and changed the view order.
-
just as a test, could you try replacing the init.xz and init_32.xz files with the versions located here
[url]http://sourceforge.net/p/freeghost/code/HEAD/tree/trunk/packages/web/service/ipxe/[/url]
( if you’re running ubuntu they’re located on your server at /var/fog/service/ipxe/ )
and try deploying the image again -
Directly checking deploy problem ?
Maybe image isn’t saved the right way on the server and already has a fixed drive size after upload ? -
I’m running the latest svn build, so this file is the correct one, e. g. I’ve tested with this one and it’s not working.
-
Just to clarify: It’s not my first time making images with FOG, the image is selected rightfully, single disk, multiple partition (resizable), taken down from the VirtualBox and then uploaded to a real hardware. The image is made as described by the thread about Universal Windows 7 with SAD drivers deploying in this forum and It was working superbly up until now. I’m using the latest SVN trunk (2353). When using clonezilla for creating and deploying the same image i’ve noticed that just after deploying image and restarting the process and booting from HDD, the first thing that is being done is disk checking by the automated Windows 7 hardware independable installation and all is GOOD, but my failing FOG deployment does not run Windows disk checking.
P.S. Tomorrow I’ll run Single Disk, Multiple Partitions (not Resizable) type of image. -
“latest svn build” is basically meaningless to me since the “latest” version changes multiple times a day. also, you should NOT run a svn version as a production server unless you are doing so to address a specific issue you had with the official release, and it was recommended by a developer.
in your first post, you said “Using FOG 1.2” which is NOT TRUE, invalidating many of the assumptions that were made while trying to help you. -
It was 1. 2 but after this problems I decided to use latest as of time svn 2353 build and that did not change nothing