Re: How to create a local mirror from CD
Hi! Just make iso images from your source DVDs, then mount them to temp
folders by including appropriate lines in your /etc/fstab file. Create
folders using lndir and add them to sourslist.
So, in /etc/fstab:
/repository/LinuxIso/Debian40r0/debian-40r0-i386-DVD-1.iso /repository/LinuxIso/Debian-Etch/Deb4-1 iso9660 loop 0 0
/repository/LinuxIso/Debian40r0/debian-40r0-i386-DVD-2.iso /repository/LinuxIso/Debian-Etch/Deb4-2 iso9660 loop 0 0
/repository/LinuxIso/Debian40r0/debian-40r0-i386-DVD-3.iso /repository/LinuxIso/Debian-Etch/Deb4-3 iso9660 loop 0 0
[12:45][MayskiyJuk][zs-71-04-a][/mnt]sudo mkdir Deb4-1-Pkg
[12:45][MayskiyJuk][zs-71-04-a][/mnt]sudo mkdir Deb4-2-Pkg
[12:45][MayskiyJuk][zs-71-04-a][/mnt]sudo mkdir Deb4-3-Pkg
[12:45][MayskiyJuk][zs-71-04-a][/mnt]sudo
lndir /mnt/Deb4-1 /mnt/Deb4-1-Pkg
[12:47][MayskiyJuk][zs-71-04-a][/mnt]sudo
lndir /mnt/Deb4-2 /mnt/Deb4-2-Pkg
[12:47][MayskiyJuk][zs-71-04-a][/mnt]sudo
lndir /mnt/Deb4-3 /mnt/Deb4-3-Pkg
In /etc/apt/sources.list:
deb file:///repository/LinuxIso/Debian-Etch/Deb4-1-Pkg/ etch contrib
main
deb file:///repository/LinuxIso/Debian-Etch/Deb4-2-Pkg/ etch contrib
main
deb file:///repository/LinuxIso/Debian-Etch/Deb4-3-Pkg/ etch contrib
main
Then you must create some keys for this repo
Have a luck!
> I tried to find a simple document which explain how to create a local
> mirror, but I can't, all I found are complicated or not complete
> enough!!??
>
> My goal is simple:
> I want to create a local mirror from CD's, I downloaded CD or DVd, I
> want to create a mirror for my University ( just loacl) to install
> from there on any machine, by using netinstall. ( or thru pxe);
>
> I can't use direct connexio to internet to create Mirror (i haven't
> good link!!!), I want create it from CD.
Reply to: