cluelessdrifting ... where are you coming from?
Friday, November 25, 2005
  Mounting .ISO files as a loop device in Linux.
With the ever increasing choice of Linux distributions, I hate to burn ‘n waste those CDs, just to try out a distro. Though I use an RW disc most of the time, there are times when I hate burning even those, especially when the .ISO file in question is part of a package/optional CD set (containing extra software that can be added on top of the base system) and hence need not be booted from.

Case in point: The Gentoo packages CD that one can use, to install pre-built binaries /group packages. This is especially useful when installing huge binaries such as Kde,Gnome, Openoffice, etc. as an alternative to compiling them from source.

Here is what I do to install the software directly from the .ISO instead of burning it on the .CD. What’s more, doing it this way is much faster too without the significant overhead of reading it from media.

#su
#mkdir /packages
#mount –t iso9660 /root/gentoo-packages-amd64-2005.1.iso /packages –o loop

And here is how I install the software from the .ISO file:

#export PKGDIR=/packages
#emerge --usepkg gnome

No more wasted CD’s and no more long waits.




 
Comments:
ya.. rt.. evne there r couple of utils for Windows.. I heard Alcohol 120% does it well.

This template is simple and perfect man :)
 
Post a Comment



<< Home



recent posts:
-Blogger for Word - An awesome little proggy!
-Essential Firefox & Thunderbird Hacks
-Kanotix 64-2005-03 – An excellent Debain based Lin...
-D-Link DI-524 Airforce One 54.g Wireless Router
-Pay it forward..
 
archives:
-November 2005
-August 2010
 
blogroll:
-joel on software
-oldnewthing - raymond chen
-mark russinovich
-f-secure blog
-ms anti-malware
-workbench
-groklaw
 
links:
-arch linux
-arch wiki
-the register
-osnews.com
-anandtech.com - hardware analysis
-softpedia.com - it news
-lxer.com - linux news
-distrowatch.com - distro news
-gentoo linux
-techrepublic.com - it discussions
-register.com - antivirus news
-tapestry comic feeds
-dilbert
-askmen