Skip to main content

Capturing an image on Linux (Mint 22.3)

Applies to: Imaging / Linux Mint
Version: All
Environment: On-Premise
Category: Imaging

Background

This procedure allows you to prepare a Linux Mint master image compatible with the Medulla Imaging module.

The process includes:

  • Installing Linux Mint in OEM mode
  • Preparing the system
  • Capturing the PXE image
  • Creating the master image in Medulla

1. Installing Linux Mint

1. Starting the OEM installation

Boot the virtual machine, then select:

OEM Install (for manufacturers)

876012009-image.png

2. Choose the language

Select the desired language.

876013895-image.png

3. Choose the keyboard layout

Select the keyboard layout that matches your environment.

876014843-image.png

4. Choose additional components

Configure the additional components.

876015495-image.png

5. Configure the installation type

Set the parameters exactly as indicated.

876016167-image.png

876016773-image.png

6. Select the time zone

Select the desired time zone.

876017152-image.png

7. Set the machine name

Set:

  • The machine name
  • The oem user’s password

876018767-image.png

8. Complete the installation

Let the installation run until it is complete.

876023281-image.png

876027924-image.png

Then restart the virtual machine.


2. Preparing the master

1. Close the startup wizard

Once the machine has restarted, close the window:

First steps

2. Install the Medulla Linux agent

Open a terminal and install the Medulla Linux agent according to the official documentation.

https://docs.medulla-tech.io/books/installation-medulla/page/etape-4-installation-de-lagent-medulla

3. Prepare the machine for the end user

Run:

Prepare for shipment to the end user

876034413-image.png

876035415-image.png

Log in, then shut down the virtual machine.


3. Image capture

Prerequisites

  • The VM must be able to boot via PXE first
  • The BIOS must be configured for PXE boot
  • The DHCP server must point to the Medulla PXE server

1. Check the Medulla PXE menu

The default Medulla PXE menu must be configured as follows:

In the module:

Imaging → Default boot menu

image.png

If this is not the case:

Go to:

Imaging → Manage boot services

Click the action to add the service to the menu to:

  • continue
  • backup

image.png

image.png

Then return to:

Imaging → Default boot menu

Check the menu and adjust it if necessary using:

  • Up
  • Down
  • Edit

The Edit action allows you to set the selected item as the default.

2. Save the machine

Boot the virtual machine via PXE, then select:

Register

image.png

Give the machine a name, then confirm.

image.png

image.png

3. Start the capture

After restarting, select:

backup

Wait for the disk capture to finish.

image.png

image.png

After the capture, the machine will automatically reboot and the PXE menu will appear.

You can then shut down the machine.


4. Creating the master

In Medulla:

Computers → All GLPI Computers

Click on the action:

Imaging management

corresponding to the machine on which the image was captured.

1. Locate the captured image

In the tab:

Images and Masters

Locate the captured image.

image.png

2. Convert the image to a master

Click:

Edit Image

Name the master and enter a description.

Then click:

Convert to Master → Save

image.png

The master will then be available in:

Imaging → Manage masters