Partclone bitmap free count err
-
Hi,
I’ve a problem with an upload, I’ve a multiboot image (win7/ubuntu14), and I have that error at upload.
To solved it I check the /dev/sda3 (the partition which have the error in partclone : ubuntu) and correct the problem. But after that parclone won’t upload the partitions /dev/sda1 and sda2 (100 mb reserved and windows partitions)…
Below the installation :
/dev/sda1 100mb Windows Reserved /dev/sda2 Windows OS /dev/sda3 Ubuntu OS / /dev/sda4 Extended Partition /dev/sda5 swap linux /dev/sda6 /data linux (free for use) /dev/sda7 d: Windows (free for use)
The image folder :
-rwxrwxrwx 1 root root 0 sept. 4 17:48 d1.has_grub -rwxrwxrwx 1 root root 1048576 sept. 4 17:48 d1.mbr -rwxrwxrwx 1 root root 47 sept. 4 18:11 d1.original.swapuuids -rwxrwxrwx 1 root root 8446231 sept. 4 17:48 d1p1.img -rwxrwxrwx 1 root root 16551042857 sept. 4 18:05 d1p2.img -rwxrwxrwx 1 root root 20 sept. 4 18:05 d1p3.img -rwxrwxrwx 1 root root 512 sept. 4 18:11 d1p4.ebr -rwxrwxrwx 1 root root 512 sept. 4 17:48 d1p5.ebr -rwxrwxrwx 1 root root 512 sept. 4 17:48 d1p6.ebr -rwxrwxrwx 1 root root 29789683 sept. 4 18:11 d1p6.img -rwxrwxrwx 1 root root 512 sept. 4 17:48 d1p7.ebr -rwxrwxrwx 1 root root 442202 sept. 4 18:11 d1p7.img -rwxrwxrwx 1 root root 483 sept. 4 17:48 d1.partitions
And the d1.partitions :
label: dos label-id: 0x22e01a61 device: /dev/sda unit: sectors /dev/sda1 : start= 2048, size= 677888, type=7, bootable /dev/sda2 : start= 679936, size= 92129280, type=7 /dev/sda3 : start= 92825600, size= 94035968, type=83 /dev/sda4 : start= 186861568, size= 125716480, type=5 /dev/sda5 : start= 186863616, size= 8388608, type=82 /dev/sda6 : start= 195254272, size= 76285952, type=83 /dev/sda7 : start= 271542272, size= 41035776, type=7
To be sure that both partitions do not overlap, I also tried add free space between both.
I’ve 20 labs with that image (that’s is very hard to install - no time to create new image) and 3 days to solve my problem.I’ve seen that partclone have a method to correct that :
-fsck-src-part-y
Help !
-
Take an image using RAW ??
You have a really tight window here… I don’t know what else to suggest besides RAW.
-
To solve my problem I had to correct the /dev/sda3 before upload in debug task :
1/ Add free space before and after partition (2Mo for each)/dev/sda1 100mb Windows Reserved /dev/sda2 Windows OS free space (2mo) /dev/sda3 Ubuntu OS / free space (2mo) /dev/sda4 Extended Partition /dev/sda5 swap linux /dev/sda6 /data linux (free for use) /dev/sda7 d: Windows (free for use)
2/ Launch task from Web UI (upload in Debug)
3/ Start computer and boot PXE
4/ Check partition usingfsck.ext4 /dev/sda3
5/ Run the job with the commandfog
Note : I have to do it before each uploadI’ve tested before without free space after : no success, now it’s OK.
I use that method because I have not the time to make a fresh install of my Master. I’ll reinstall it after the rush
-
@ch3i said:
To solve my problem I had to correct the /dev/sda3 before upload in debug task :
1/ Add free space before and after partition (2Mo for each)/dev/sda1 100mb Windows Reserved /dev/sda2 Windows OS free space (2mo) /dev/sda3 Ubuntu OS / free space (2mo) /dev/sda4 Extended Partition /dev/sda5 swap linux /dev/sda6 /data linux (free for use) /dev/sda7 d: Windows (free for use)
Glad you got it solved. How did you add free space between the partitions? I’m curious.
-
@Wayne-Workman said:
@ch3i said:
To solve my problem I had to correct the /dev/sda3 before upload in debug task :
1/ Add free space before and after partition (2Mo for each)/dev/sda1 100mb Windows Reserved /dev/sda2 Windows OS free space (2mo) /dev/sda3 Ubuntu OS / free space (2mo) /dev/sda4 Extended Partition /dev/sda5 swap linux /dev/sda6 /data linux (free for use) /dev/sda7 d: Windows (free for use)
Glad you got it solved. How did you add free space between the partitions? I’m curious.
Parted