How can I add a .iso file created by APTonCD to Software Sources as a new repository.

Asked by Energizor

What are the procedures for adding a .iso file created by APTonCD to Software Sources as a new repository. Note that the .iso file is not on a CD but on an external hard drive.

I am particularly interested in how to write the APT line for the .iso file.

My understanding is that this process I described will allow me to restore all installed software and software preferences saved to the .iso file. After the new repository is added, I can installed said software and preferences without an internet connection. Is this correct?

Many thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

https://help.ubuntu.com/community/APTonCD

Mount the ISO and use the CD. It may work

Revision history for this message
Energizor (e-mailtion) said :
#2

Hi,

Thanks for the quick reply. I don't know how to mount the ISO.

I am particularly interested in how to write the APT line for the .iso file in Software Sources.

Also, are the following statements correct?:

"What are the procedures for adding a .iso file created by APTonCD to Software Sources as a new repository. Note that the .iso file is not on a CD but on an external hard drive.

I am particularly interested in how to write the APT line for the .iso file.

My understanding is that this process I described will allow me to restore all installed software and software preferences saved to the .iso file. After the new repository is added, I can installed said software and preferences without an internet connection. Is this correct?"

Thanks!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can mount the iso easily with:

sudo mkdir /media/iso

This is a mount point, you can then mount the file with:

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

Just need to change /path/to/filename.iso to the actual file you want to mount. Windows needs 3rd party apps to do this but it is native to the kernel in Linux.

Can you help with this problem?

Provide an answer of your own, or ask Energizor for more information if necessary.

To post a message you must log in.