On Wed, 17 Mar 2004 06:38, Brian Brazil wrote: > On Wed, Mar 17, 2004 at 06:00:41AM +1100, bob parker wrote: > > Because I supply various Linuxes to members of my lug, I have quite a few > > iso images on hand including the 7 for Woody r2, and soon I will have the > > 13 for Sarge plus the dvd iso images. > > > > When I use apt-get install whatever it comes back and asks for cdrom #x > > to be inserted. What I want to know is there some way I can divert this > > requirement to the corresponding iso image mounted on /mnt via the > > loopback device? > > Yip, that's my setup as my systems have no net access. Hence I can't > look at the right now. Loopback mount(avoid spaces) and then add something > like: /mnt/Debian-3.0/CD1/pool woody main contrib non-free >
apt-get does not barf but it just ignores the /mnt lines and demands a cd. Here's /etc/sources.list deb file:/mnt/Debian3.0/CD1/ pool woody unstable main contrib non-US/contrib non-US/main non-free deb file:/mnt/Debian3.0/CD2/ unstable main contrib non-free deb file:/mnt/Debian3.0/CD3/ unstable main contrib non-free deb file:/mnt/Debian3.0/CD4/ unstable main contrib non-free deb file:/mnt/Debian3.0/CD5/ unstable main contrib non-free deb file:/mnt/Debian3.0/CD6/ unstable main contrib non-free deb file:/mnt/Debian3.0/CD7/ unstable main contrib non-free deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-7 (20021218)]/ unstable contrib main non-US/contrib non-US/main deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-6 (20021218)]/ unstable contrib main non-US/contrib non-US/main <snipped the rest> I've tried various combinations of the stuff above to no avail. Here's the result of mount: /data/isos/debian/i386/woody/debian-30r2-i386-binary-1.iso on /mnt/Debian3.0/CD1 type iso9660 (rw,loop=/dev/loop0) /data/isos/debian/i386/woody/debian-30r2-i386-binary-2.iso on /mnt/Debian3.0/CD2 type iso9660 (rw,loop=/dev/loop1) /data/isos/debian/i386/woody/debian-30r2-i386-binary-3.iso on /mnt/Debian3.0/CD3 type iso9660 (rw,loop=/dev/loop2) /data/isos/debian/i386/woody/debian-30r2-i386-binary-4.iso on /mnt/Debian3.0/CD4 type iso9660 (rw,loop=/dev/loop3) /data/isos/debian/i386/woody/debian-30r2-i386-binary-5.iso on /mnt/Debian3.0/CD5 type iso9660 (rw,loop=/dev/loop4) /data/isos/debian/i386/woody/debian-30r2-i386-binary-6.iso on /mnt/Debian3.0/CD6 type iso9660 (rw,loop=/dev/loop5) /data/isos/debian/i386/woody/debian-30r2-i386-binary-7.iso on /mnt/Debian3.0/CD7 type iso9660 (rw,loop=/dev/loop6) > I'd give the exact line but as I said I don't have it handy. Note that > loop may only allow 8 mounts but that can be handled by a kernel boot > parameter/module option (max_loop=256 IIRC). I reckon when I get to Sarge I'll be just using the 2 dvd isos :-) Any other ideas. Thanks Bob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]