[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "apt-cdrom add" using an ISO image



On Thu, Sep 20, 2007 at 08:57:28AM +0300, Andrei Popescu wrote:
> On Thu, Sep 20, 2007 at 07:35:07AM +0200, Tshepang Lekhonkhobe wrote:
> > Hi,
> > 
> > I'd like to loop-mount an ISO image and do an "apt-cdrom add" from it.
> > I looked around and couldn't find the option. Is it possible?
> 
> From the manpages I think this should to the trick (untested)
> 
> mount /my/image.iso /mountpoint -oloop
> apt-cdrom -d=/mountpoint add
> 
> And /mountpoint must be listed in fstab.
> 

For this, I would suggest creating a dedicated mount point and puting
the whole thing in fstab.  This way, aptitude can have apt mount the CD
without any further intervention from you.

Doug.



Reply to: