Pero tengo una duda, como puedo agregar un CD a la lista de repositorios de este sistema?
No dispongo del CD, sino que copie una ISO del mismo (debian-502-i386-CD-1.iso) al /chroot/root/debian-502-i386-CD-1.iso. Luego ingreso al SO en la jaula:
Código:
#chroot /chroot/ /bin/bash
Y una vez dentro monto el CD haciendo:
Código:
root@faku-desktop:/# mount -t iso9660 /root/debian-502-i386-CD-1.iso /mnt/cd/ -o loop
root@faku-desktop:/# ls /mnt/cd/
README.html README.mirrors.txt README.txt css dedication.txt doc g2ldr.mbr install.386 md5sum.txt pool tools
README.mirrors.html README.source autorun.inf debian dists g2ldr install isolinux pics setup.exe win32-loader.ini
root@faku-desktop:/# ls /mnt/cd/
README.html README.mirrors.txt README.txt css dedication.txt doc g2ldr.mbr install.386 md5sum.txt pool tools
README.mirrors.html README.source autorun.inf debian dists g2ldr install isolinux pics setup.exe win32-loader.ini
Osea hasta ahi todo bien, pero quiero instalar ciertas cosas, y el lugar de descargarlas de los repositorios de Lenny, quiero agregar este cd (montado en /mnt/cd dentro de la jaula chroot) al source.list.
Eh probado con:
Citar
root@faku-desktop:/# apt-cdrom -d /mnt/cd
apt 0.7.20.2 for i386 compiled on Apr 20 2009 21:52:46
Usage: apt-cdrom [options] command
apt-cdrom is a tool to add CDROM's to APT's source list. The
CDROM mount point and device information is taken from apt.conf
and /etc/fstab.
Commands:
add - Add a CDROM
ident - Report the identity of a CDROM
Options:
-h This help text
-d CD-ROM mount point
-r Rename a recognized CD-ROM
-m No mounting
-f Fast mode, don't check package files
-a Thorough scan mode
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See fstab(5)
apt 0.7.20.2 for i386 compiled on Apr 20 2009 21:52:46
Usage: apt-cdrom [options] command
apt-cdrom is a tool to add CDROM's to APT's source list. The
CDROM mount point and device information is taken from apt.conf
and /etc/fstab.
Commands:
add - Add a CDROM
ident - Report the identity of a CDROM
Options:
-h This help text
-d CD-ROM mount point
-r Rename a recognized CD-ROM
-m No mounting
-f Fast mode, don't check package files
-a Thorough scan mode
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See fstab(5)
Pero no logro hacerlo, al mirar el contenido de /etc/fstab (todo esto siempre dentro de la jaula chroot) obtengo:
Citar
root@faku-desktop:/# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYST
# UNCONFIGURED FSTAB FOR BASE SYST
Y bueno..queria saber si hay alguna forma de agregar y usar es ISO con apt en lugar de descargar los paquetes desde internet o tener que quemar la ISO en un CD.
Saludos y muchas gracias.
PD: No se si me eh explicado bien
