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

HDD size missmatch error.

Scheduled Pinned Locked Moved
General Problems
2
6
619
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
    chris_unit
    last edited by Sep 20, 2021, 3:13 PM

    Hi there,

    The original system disk used to take image:
    lsblk
    sda 477G

    the destination disk is:
    lsblk
    sda 447.1G

    in fog, the image on disk size is 288GB

    it’s a dual partition windows / ubuntu image.

    it’s set to ‘Single Disk - Resizeble’

    When I try to put the image on the smaller disk it says there’s not enough space even tho it’s resizeable with far less than the full disk size used.

    Any ideas how to resolve without replacing disks because there’s 30mb size difference?

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Sep 20, 2021, 9:22 AM Sep 20, 2021, 3:21 PM

      @chris_unit Which version of FOG do you use? Is this image you talk about setup in UEFI mode (GPT partition layout)?

      Best if you can post the contents of the text file d1.minimum.partitions here in the forums.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      C 1 Reply Last reply Sep 20, 2021, 4:46 PM Reply Quote 0
      • C
        chris_unit @Sebastian Roth
        last edited by Sebastian Roth Sep 20, 2021, 11:43 AM Sep 20, 2021, 4:46 PM

        @sebastian-roth
        Here you go

        C
        chris_unit
        16 minutes ago

        @sebastian-roth said in HDD size missmatch error.:

        d1.minimum.partitions
        

        Its fog version 1.5.9

        d1.minimum.partitions

        label: dos
        label-id: 0x1b3934fb
        device: /dev/sda
        unit: sectors
        sector-size: 512
        
        /dev/sda1 : start= 2048, size= 102400, type=7, bootable
        /dev/sda2 : start= 104448, size= 439331328, type=7
        /dev/sda3 : start= 999156224, size= 1056768, type=27
        /dev/sda4 : start= 439437822, size= 559718402, type=5
        /dev/sda5 : start= 439437824, size= 559718400, type=83
        
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sep 20, 2021, 5:49 PM

          @chris_unit said in HDD size missmatch error.:

          Its fog version 1.5.9
          d1.minimum.partitions
          label: dos
          …

          Sorry but this is an old school legacy BIOS install (DOS partition table) and it’s pretty much impossible to automatically shrink this to a smaller size disk because the the bootloader probably points to fixed sector count for booting and we would break things if we’d move a partition forward after shrinking the other ones.

          You can try manually shrinking this layout using tools like gparted or comercial stuff to manage partitions. FOG won’t be able to do this for you automatically.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • C
            chris_unit
            last edited by Sep 29, 2021, 11:56 AM

            @chris_unit said in HDD size missmatch error.:

            d1.minimum.partitions

            Hi there
            i’ve now deleted the windows partition so that is unused space
            but i’m still getting the error

            unit@fog_ubuntu_v80:/images/VFX-UbtuntuTesting-02nowindows$ cat d1.minimum.partitions
            label: dos
            label-id: 0x1b3934fb
            device: /dev/sda
            unit: sectors
            sector-size: 512

            /dev/sda3 : start= 999156224, size= 1056768, type=27
            /dev/sda4 : start= 439437822, size= 559718402, type=5
            /dev/sda5 : start= 439437824, size= 559718400, type=83

            here’s the layout on ubuntu
            sda 8:0 0 477G 0 disk
            ├─sda3 8:3 0 516M 0 part
            ├─sda4 8:4 0 1K 0 part
            └─sda5 8:5 0 266.9G 0 part /

            You can see here it’s a 477G drive but i just want the data not the unused space taht isn’t in these partitions above.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Sep 29, 2021, 8:41 AM Sep 29, 2021, 2:38 PM

              @chris_unit As I said, this is a legacy BIOS partition layout and we can’t move around partitions on that.

              Sorry if you got my last message wrong. Simply deleting the first partitions won’t help. You’d need to move the still existing ones forward. But doing that in a rush could kill your Linux system. Depending on the boot loader used it might point to a certain sector on the disk.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

              248

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project