Image with more than 10 partitions


  • 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.


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


  • This post is deleted!
  • Moderator

    @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
    

294
Online

9.9k
Users

16.2k
Topics

149.0k
Posts