Principe:
Utiliser fdisk pour lire les infos d'une image RAW d'un disque dur
Le challenge

fdisk -l

Le mount n'était pas utile pour ce challenge, mais le sera pour la suite
#!/bin/bash
fdisk -l ../../fcsc.raw
#
#
# This will probably be usefull again for other challenges
# Disk ../../fcsc.raw: 10 GiB, 10737418240 bytes, 20971520 sectors
# Units: sectors of 1 * 512 = 512 bytes
# Sector size (logical/physical): 512 bytes / 512 bytes
# I/O size (minimum/optimal): 512 bytes / 512 bytes
# Disklabel type: gpt
# Disk identifier: 60DA4A85-6F6F-4043-8A38-0AB83853E6DC
#
# Device Start End Sectors Size Type
# ../../fcsc.raw1 2048 4095 2048 1M BIOS boot
# ../../fcsc.raw2 4096 1861631 1857536 907M Linux filesystem
# ../../fcsc.raw3 1861632 20969471 19107840 9,1G Linux filesystem
#