Win7x64 : Golden Image : partitions problems ...
-
@quazz Hi,
You wants a picture of the error with the HP2530 computer ?(no usb stick or any SD cards …)
-
@jonathan-cool Yes, plus some info on the disk would be nice too.
-
I used ssh connection to copy and paste the result …
* Imaging using Partclone (gzip) Partclone fail, please check /var/log/partclone.log ! ################################################## # # # A warning has been detected! # # # #################################################### Image failed to restore and exited with exit code 1 (writeImage) Info: Partclone v0.2.89 http://partclone.org Starting to restore image (-) to device (/dev/sda2) note: Storage Location xxxxx/images/, Image name ImgUniverselle we need memory: 5247876 bytes image head 4160, bitmap 5239616, crc 4100 bytes Calculating bitmap... Please wait... get device size 159935889408 by ioctl BLKGETSIZE64, Target partition size(159936 MB) is smaller than source(171692 MB). Use option -C to disable size checking(Dangerous). Args Passed: /images/ImgUniverselle/d1p2.img* /dev/sda2 ###################################################### # # # Will continue in 1 minute # # # ##################################################### * Press [Enter] key to continue
fdisk -l on the hp2530p :
Disk /dev/ram[0 – 15] : 124 MiB, 130048000 bytes, 254000 sectors ## there is many ram disk here ... Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xc91a5cff Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sda2 206848 312581631 312374784 149G 7 HPFS/NTFS/exFAT
-
@jonathan-cool Makes sense. With 2:1 it will think that the OS partition shouldn’t get resized, so it reads the original size (which is 160GB) which in turn is bigger than the target hard drive.
I am not sure why :1 by itself wouldn’t work though.
Can you try leaving the file empty and see if that helps?
I have Dutch Windows which also doesn’t get have reserved system picked up properly and for me the file is simply empty. Which seems to work alright.
-
@quazz said in Win7x64 : Golden Image : partitions problems ...:
Can you try leaving the file empty and see if that helps?
Failed … and same error.
But i agree with your idea and, it’s make sense.Maybe i don’t use the right process to create my VM into Virtualbox …
I choosed a 160Gb Virtual Size disk … -
@jonathan-cool Dynamic or Static? (Dynamic could cause issues, not to mention it’s slow)
You do seem to have a lot of empty space in your virtual environment, but this shouldn’t really impact the deployment process, imo.
Resizable image type should be able to resize it correctly.
-
During creation process of Golden Image, in VirtualBox, i choosed Dynamic disk …
On VirutalBox, i can see : Virutal Size : 160Gb. -
I’m alone now ? …
-
@jonathan-cool Sorry, forgot to reply.
As far as I can recall, dynamic disk can give issues for resizable image type. I haven’t been able to find when/how this was a problem using the search, however.
Only advice I can give is to try and make it a fixed size drive and see if that helps at this point
-
Marked this solved as the initial issue can be circumnavigated and we have a github issue open on that topic.