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

installing packages from iso file



Hello!

I installed Debian Etch on a PC box with netinstall CD.

Now I want to remove CD driver from this box.

But I want before that to copy the netisntall.iso file
to HDD on that box.

So, when I have removed the CD drive, I want that,
that apt can use this iso file to install some packages.

How can I do that?

I try Google, but cant find a solution.

I think I must first to mount these netinstall.iso with
loop device:
mount -o loop -t iso9660 netinstall.iso /mnt/iso

but this is not the right way because I want to automate
this, so I think I must edit fstab for this issue:

/dev/lo         /media/cdrom0   iso9660 loop    0       0

Then I must run 'apt-cdrom add', so I run it:

LANG=en_EN sudo apt-cdrom add

Success!

Well, I think I find a solution, but what do you think,
am I right?

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


Reply to: