RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

Add ISO image to apt sources.list

Here is a way how to include Debian/Ubuntu ISO image into your /etc/apt/sources.list file. This kind of hack can prove handy in terms of reducing package download during the installation or if you do not have CD/DVD drive available ( or is broken ) on your system.


Let's assume that we have a Debian ISO image downloaded at the location: /mnt/storage/iSO/debian-i386-DVD-1.iso. As a first step we need to create a mount point to where this ISO image will be mounted to:

mkdir /mnt/debian-dvd

Now we need to add a /etc/fstab entry so the ISO image will be mounted every time we boot the system. Open up /etc/fstab and add a following line:

/mnt/storage/iSO/debian-i386-DVD-1.iso /mnt/debian-dvd/ udf,iso9660 loop 0 0

Once done we can include this local repository into /etc/apt/sources.list. Open up /etc/apt/sources.list file and add:

NOTE: change wheezy with your version.

deb file:/mnt/debian-dvd/ wheezy main contrib

All done. What remains is to mount the actual image:

# mount /mnt/debian-dvd/

and update apt's depository:

# apt-get update

Share this linux post:

Submit Add ISO image to apt sources.list in Delicious Submit Add ISO image to apt sources.list in Digg Submit Add ISO image to apt sources.list in FaceBook Submit Add ISO image to apt sources.list in Google Bookmarks Submit Add ISO image to apt sources.list in Stumbleupon Submit Add ISO image to apt sources.list in Technorati Submit Add ISO image to apt sources.list in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download