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

Re: How do I get Woody 'testing'?



What I did was install a system I wanted, with all the applications.  I
used apt-move's sync function to create a local archive.  I put the
installer on the CD like normal.  Here is the structure of the CD before
apt-move:

./images-1.44
./images-1.44/rescue.bin
./images-1.44/root.bin
./images-2.88
./images-2.88/rescue.bin
./drivers.tgz
./getbasedeb.sh
./makeiso.sh
./dselect
./README
./sources.list
./postinst.sh
./apt-move.conf
./basedebs.tar
./cdrom-2880.img

There are a number of scripts on this CD.  Lets take the ones that
matter:

Set up the installer and set up makeiso.sh:
-- BEGIN ./getbasedeb.sh --
mkdir images-1.44
cd images-1.44
wget
ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/current/images-1.44/rescue.bin
wget
ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/current/images-1.44/root.bin
cd ..
mkdir images-2.88
cd images-2.88
wget
ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/current/images-2.88/rescue.bin
cd ..
wget
ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/current/drivers.tgz
wget
ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/base-images-current/basedebs.tar
cat > makeiso.sh << EOF
dpkg --get-selections > dselect
export DATE=`date +%Y%m%d`
mkisofs -o /backup/debian.iso -R -V "Debian Testing $DATE" -v \
-T -d -D -N -b images-2.88/rescue.bin -c rescue.cat \
-A "Debian Testing $DATE" .
EOF
-- END ./getbasedeb.sh --

Post Install Routine:
-- BEGIN ./postinst.sh --
#!/bin/bash
apt-cdrom add
cat dselect | dpkg --set-selections
dselect install
cp sources.list /etc/apt/
apt-get update
-- END ./postinst.sh --

Get sources.list from the system you are building this CD from.  Once
you run ./getbasedeb.sh it sets up makeiso.sh.  Once "apt-move sync"
completes, you will basically have your own debian CD.  However, when
you install the CD, skip any apt, dselect, or tasksel.  Run postinst.sh
and it will set up your system exactly as the created system.  This all
makes sense to me, of course, I set it up.  If you have any problems,
let me know and I will do my best to assist.  This works for me.  If you
pour over the two scripts, you will get it.  Whereever your run
./getbasedeb.sh from there is where you will put the Debian mirror
created via "apt-move sync"

-- 

Arthur H. Johnson II
Senior Systems Engineer

The Linux Box
206 S. Fifth Ave. Suite 150
Ann Arbor, MI  48104

tel.  734-761-4689
fax.  734-769-8938
pgr.  734-882-0323
cel.  810-610-9583
txt.  8106109583@vmobl.com
aim.  bytor4232
irc.  By-Tor@irc.debian.org

On Thu, 10 Apr 2003, Wathen, Metherion wrote:

> Hi all,
> I've downloaded the cd iso's for woody and want to install testing instead of stable when I upgrade my system.
> My question is how do I install woody testing from cd's?
> Do I edit sources.lst the same as if I had a net connection?
>
> tia,
> mw
>
>
>



Reply to: