Mount local debian iso as cdrom repositry

From AcrodusWiki

Command to mount the .iso as a cdrom

sudo mount -o loop /path/to/.iso /media/cdrom


Must add the repository using the apt-cdrom add command, should look similar to the below in sources.list

deb [trusted=yes] cdrom:[Debian GNU/Linux 12.5.0 _Bookworm_ = Official amd64 STICK16GB Binary-1 with frimaware 20240210=11:28]/ bookworm contrib main non-free-firmwasre