• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Partclone bitmap free count err

Scheduled Pinned Locked Moved Solved
Linux Problems
2
5
6.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    ch3i Moderator
    last edited by ch3i Sep 4, 2015, 10:23 AM Sep 4, 2015, 4:21 PM

    Hi,

    I’ve a problem with an upload, I’ve a multiboot image (win7/ubuntu14), and I have that error at upload.

    upload-a1f8270d-7e04-4c91-9f75-c6a627cb8f9f

    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 ! 😉

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Sep 5, 2015, 12:13 AM

      @ch3i

      Take an image using RAW ??

      You have a really tight window here… I don’t know what else to suggest besides RAW.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      C 1 Reply Last reply Sep 8, 2015, 6:13 AM Reply Quote 0
      • C
        ch3i Moderator @Wayne Workman
        last edited by Sep 8, 2015, 6:13 AM

        @Wayne-Workman

        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 using fsck.ext4 /dev/sda3
        5/ Run the job with the command fog
        Note : I have to do it before each upload

        I’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 😉

        W 1 Reply Last reply Sep 8, 2015, 12:37 PM Reply Quote 0
        • W
          Wayne Workman @ch3i
          last edited by Sep 8, 2015, 12:37 PM

          @ch3i said:

          @Wayne-Workman

          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.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          C 1 Reply Last reply Sep 8, 2015, 12:38 PM Reply Quote 0
          • C
            ch3i Moderator @Wayne Workman
            last edited by Sep 8, 2015, 12:38 PM

            @Wayne-Workman said:

            @ch3i said:

            @Wayne-Workman

            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

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post

            161

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project