| |
Raspberry Pi OS (64-bit)
|
| |
| |
Enabling
PCIe interface |
| |
First, enable the external PCIe port on the Raspberry Pi CM5.
Edit /boot/firmware/config.txt and add the following at the bottom:
|
| |
| pi@raspberrypi ~
$
sudo nano /boot/firmware/config.txt
|
|
|
| |
# Enable the PCIe external connector
dtparam=pciex1

WARNING
The Raspberry Pi CM5 is not
certified for Gen 3.0 speeds, and connections to PCIe
devices at these speeds may be unstable. |
| |
Save and exit. In nano, you do that by hitting CTRL + X,
answering Y and hitting Enter when prompted. |
| |
|
| |
Reboot the
Raspberry Pi |
| |
| pi@raspberrypi ~
$
sudo reboot |
|
|
| |
|
| |
To view a list of
your PCIe devices, use the lspci command
in the terminal. |
| |
| pi@raspberrypi ~
$
sudo lspci |
|
|
| |

|
| |
|
| |
How to Install OS on Raspberry Pi
Compute Module 5 with eMMC Storage
|
| |
| |
Pre-Requirement: Disable boot from eMMC, then
connect to your PC |
| |
Make sure to connect a jumper to the pins that disable
booting from the eMMC prior to flashing the OS. |
| |
|
| |
|
| |
CAUTION! Remove the jumper after programming, otherwise the
system will fail to boot. |
| |
|
| |
Installing
Raspberry Pi OS From Windows Machine |
| |
1.
Download and Install RPI Boot Installer |
| |
|
|
-
Download the RPI boot installer from the
official Raspberry Pi website
here.
|
|
|
- Run the setup and follow
the prompts.
|
|
|
- During installation,
command windows will open multiple times to
install necessary drivers. Wait for the process
to finish and click “Next” until the setup
completes.
|
|
| |
|
| |
2. Start
the Mass Storage Gadget |
| |
|
|
- Open the Start Menu and
search for “CM4/CM5 Mass Storage Gadget.”

|
|
|
-
Click on it to open a command window.
|
| |
- When the command window
shows “Waiting for BCM2835/6/7/2711/2712…” wait
a moment.

|
|
|
- The green light on the IO
board will turn on when the binaries start
flashing onto the eMMC module. Once the light
remains green, the eMMC storage will be
accessible on your computer.

|
|
| |
3. Use
Raspberry Pi Imager |
| |
|
|
|
|
|
- Select the desired OS and
the detected eMMC storage.
|
| |
- Click “Next” to flash the
OS onto the eMMC storage.

|
|
| |
|
| |
openmediavault 7 |
| |
| |
When using the X150x series IO
boards equipped with a 2.5G Ethernet port, a clean
installation of OpenMediaVault is necessary. Avoid using a
preloaded OpenMediaVault OS MicroSD card used for other
boards, as this could result in the system failing to obtain
an IP address.
|
| |
|
| |
How to
Format and Mount an HDD or SSD on Raspberry Pi OS |
| |
| |
How to
Format and Mount the HDD/SSD on Raspberry Pi |
| |
Install
Gparted on Raspberry Pi |
| |
You can either use
a terminal, and simply use the following commands: |
| |
sudo apt update
sudo apt install gparted |
|
 |
| |
Or via the graphical tool (“Add/Remove Software”), open the
package manager and look for Gparted: |
|
 |
| |
Check the box corresponding to gparted, and click “Apply” to
start the installation. |
| |
Once installed, Gparted should be available in the main
menu, under System Tools: |
|
 |
| |
|
| |
Use
Gparted on Raspberry Pi |
| |
When you start
Gparted, you need to type your password (administrator
privileges are required).
Then, you’ll get an interface looking like: |
|
 |
| |
Start by picking the disk you
want to modify in the top-right corner.
Reminder: It’s not possible to make changes on the
disk you are currently using. You have to install Raspberry
Pi OS on another device, and then plug the drive you want to
edit.
Once done, you can change anything with a right-click on the
partition name or in the graphical representation. I will
show you how to resize a partition or create a new one.
|
| |
Resize a partition
You need to unmount the partition before resizing it.
That’s why you can resize the system partition once
the system is loaded.
As Raspberry Pi OS will automatically mount all partitions,
the first step is to right-click on it, and choose
“Unmount”:

Then, you have access to the Resize/Move option in the menu:

You can either move the cursor on the graphical
representation to resize the current partition or type the
new size in the form. Then, click on “Resize/Move”
to save your changes.
The last step is to click on the green tick to
apply the changes on your disk.

Raspberry Pi OS should now automatically mount the partition
each time.
Create a new partition
Once the disk is selected, make sure you have some
unallocated space available to create a new partition.
If not, you need to resize an existing partition first (or
just delete one if you don’t need it anymore).
Then, click on the unallocated space, and choose
“New” in the dropdown menu.
A form will show up. Make sure to check the values where I
added a red arrow:

At least, you need to set the new size (it will use
all the space by default), the file system (fat32 for a
small partition that you want to read on Windows, ext4 if
you’ll only use it on the Raspberry Pi).
You can also choose a label, that will be used in the file
explorer.
Once done, click “Add”. You’ll directly see the
impact of your changes in the graphic representation.
But you need to click on the green check to apply the
changes on the disk.
It may take a few minutes, depending on the partition size
and hardware you use.
Once done, you’ll get a success message like this
one:

If you want to access the new partition within the file
explorer, the easiest way is to unplug the USB jumper and
plug it in again. Raspberry Pi OS will automatically mount
the new partition:

That’s it, you can now use it and create files in
this folder. |
| |
|