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

    Image with more than 10 partitions

    Scheduled Pinned Locked Moved
    General
    2
    4
    282
    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.
    • T
      tec618
      last edited by

      Hi guys.

      I made some searchs on the forum but I didn’t find an answer.

      We have a multi-OS image whose hard drive has 12 partitions.

      Is it possible to upload (or download) a single partition such as /dev/sda11?

      How can I do this?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @tec618 I think there is an easy fix for you. Login to your database and add entries for more partitions…

        First grab the database user and password from your /var/ww/html/fog/lib/fog/config.class.php - user is usually fogmaster - or root if you have a really old setup. Then connect to the database using the credentials and add the partition entries:

        shell> mysql -u fogmaster -p
        Password:
        ...
        mysql> use fog;
        Database changed
        
        mysql> INSERT INTO imagePartitionTypes VALUES (13, 'Partition 11 only', '11');
        Query OK, 1 row affected (0.01 sec)
        
        mysql> INSERT INTO imagePartitionTypes VALUES (14, 'Partition 12 only', '12');
        Query OK, 1 row affected (0.01 sec)
        
        mysql> quit
        

        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

        T 1 Reply Last reply Reply Quote 0
        • T
          tec618
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            tec618 @Sebastian Roth
            last edited by

            @sebastian-roth Thank you very much for your answer!! it works perfectly

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

            172

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project