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

Image with more than 10 partitions

Scheduled Pinned Locked Moved
General
2
4
281
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 Sep 13, 2022, 6:46 AM

    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 Sep 15, 2022, 1:17 PM Sep 15, 2022, 7:17 PM

      @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 Sep 20, 2022, 10:39 AM Reply Quote 0
      • T
        tec618
        last edited by Sep 20, 2022, 10:37 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • T
          tec618 @Sebastian Roth
          last edited by Sep 20, 2022, 10:39 AM

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

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

          153

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project