Skip to main content

Capturing a Linux image (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 compatible with the Medulla Imaging module.

The process includes:

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

1. Installing Linux Mint

1. Start the OEM installation

Boot the virtual machine, then select:

OEM Install (for manufacturers)

876012009-image.png

2. Select 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. Choose the time zone

Select the desired time zone.

876017152-image.png

7. Set the computer name

Set:

  • The computer name
  • The oem user 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 computer has restarted, close the First steps window

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/installing-medulla/page/step-4-installing-the-medulla-agent

3. Prepare the computer for the end user

Launch: Prepare for shipment to the end user

876034413-image.png

876035415-image.png

Authenticate, then shut down the virtual machine.


3. Capturing the image

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:

In:

Imaging → Manage boot services

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

  • continue
  • backup

image.png

image.png

Then return to:

Imaging → Default boot menu

Check the menu and adjust it if necessary using:

  • Up
  • Move down
  • Edit

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

2. Register the computer

Boot the virtual machine via PXE, then select:

Register

image.png

Name the computer, 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 computer will restart automatically and the PXE menu will appear.

You can then shut down the computer.


4. Creating the master

In Medulla:

Computers → All computers GLPI

Click the action:

Imaging management

corresponding to the computer from which the image was captured.

1. Locate the captured image

In the tab:

Images and Masters

Find the captured image.

image.png

2. Convert the image to a master

Click:

Edit Image

Name the master and then enter a description.

Then click:

Convert to master → Save

image.png

The master will then be available in:

Imaging → Manage masters