
To temporary mount, which survives till next boot – sudo mount -o loop /path/to/ /mnt/mount-iso/ We need to make a directory on which ISO image will be mounted. This will make sure your mount will survive after every reboot. Open the file with a text editor – sudo nano /etc/fstabĪnd, add following entries – /path/to/iso/eoan-server-amd64.iso /mnt/mount-iso iso9660 loop,ro,auto 0 0 Therefore, to make the mount permanent we need to make the following entries in /etc/fstab file. You need to mount ( mount -o loop /path/to/ /mnt/mount-iso/) the ISO image every time you log in to your system.
LINUX ISO FILE FOR UBUNTU INSTALL
Now, you can install required packages available in CD-ROM. Hence, replace the following line – deb file:/mnt/mount-iso eoan main To get rid of the issue, we need to add in the /etc/apt/sources.list. This error basically tells us that release file for Ubuntu distribution is not found on ISO image. If everything has been done as mentioned up till now. sudo nano /etc/apt/sources.listĪnd, add the following entries in /etc/apt/sources.list deb file:/mnt/mount-iso eoan mainĮ: The repository ‘file:/mnt/mount-iso eoan Release’ does not have a Release file. Open /etc/apt/sources.list in a text editor, we have used nano. Now, we will mount the ISO image on /mnt/mount-iso/ through mount command – mount -o loop /path/to/ /mnt/mount-iso/ Make a directory to mount the ISO – sudo mkdir -p /mnt/mount-iso/ Thereafter, we would make relevant entries in /etc/apt/sources.list file. Manually edit the SourcesListįirstly, we need to mount the ISO image. There are two methods through which we can add a CD-ROM repository. In case you don’t have one, then contact your System Administrator for assistance. Note: Following operations would require you to have superuser privileges. Now, we will discuss each of these operations step-by-step and explain it with examples wherever necessary. Thereafter, we can mount the ISO and fetch the relevant packages. For instance, if we want to install Firefox web browser then issue the following in terminal – sudo apt updateīut, installing a package from CD-ROM requires you to add the repository in /etc/apt/sources.list first.
LINUX ISO FILE FOR UBUNTU UPDATE
All we need to do is update the repository and then install the relevant packages. To install the required packages we have two options available –ĭownloading a package over internet is pretty straight-forward. We can install required packages as and when required. It makes sense not to install all the packages available on CD/DVD beforehand. These packages can be installed either during Ubuntu installation or later. The bootable ISO image of Ubuntu distribution contains hundreds of packages.
LINUX ISO FILE FOR UBUNTU HOW TO
In this article, we would discuss how to add ISO image as CD-ROM repository in Ubuntu distribution.
