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

Re: cdrom upgrade



On Mon, Nov 29, 2004 at 07:51:00AM +0000, rogerwphx wrote:
> I installed debian and it boots up in bash ok, but the cdrom images are 
> .iso images. How do you upgrade the installation from bash with iso's.

I don't quite understand - did you download the cdrom images
but not burn them onto CDs or something?

The best thing to do would be to burn the .isos onto CDs.

It IS possible to get Debian to install packages directly from .iso cdrom
images, it is not commonly done though, and not easy unless you know what
you're doing.



the way to do it is something like this (as root):

modprobe loop
cd /media
mkdir debian-cd1 debian-cd2
mount /home/roger/debian-cd1.iso /media/debian-cd1 -o loop
mount /home/roger/debian-cd2.iso /media/debian-cd2 -o loop


and add lines something like this to /etc/apt/sources.list:

deb file:/media/debian-cd1/debian sarge main contrib non-free
deb file:/media/debian-cd2/debian sarge main contrib non-free

  I'm not sure about this bit, I don't have any debian CDs or images
  lying around to check!

and then install packages using apt-get or aptitude or whatever

If you plan to do this often, you would want to update /etc/fstab
to mount the isos on boot.



Sam



Reply to: