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

Re: LVM enabled boot disks ?



> > To make it clear what I'm after: I want to use my mirror as the
> > installation
> > medium for new debian installations. I'd like to know what files need
> > to be
> > where for the bootfloppies to find them, what structure those files
> > must
> > have, and if tools to generate those files are available.

This is what I used to do to when I was making ISOs with just base files
on them.  Might be of help to you.  basic structure is:

lrwxrwxrwx   ./debian -> .
-r--r--r--   ./dists/sid/Release
-r--r--r--   ./dists/sid/main/binary-hppa/Packages
-r--r--r--   ./dists/sid/main/binary-hppa/Packages.gz
-r--r--r--   ./dists/sid/main/binary-hppa/Release
-rw-r--r--   ./dists/sid/main/binary-hppa/base/adduser_3.41_all.deb
... (all the other debs I wanted)
-rw-r--r--   ./dists/sid/main/binary-hppa/base/whiptail_0.50.17-7.0.1_hppa.deb
-rw-r--r--   ./dists/sid/main/disks-hppa/3.0.14-20010906/32/config.gz
... (all the other bits produced from a boot-floppies build)
-rw-r--r--   ./dists/sid/main/disks-hppa/3.0.14-20010906/root.bin
lrwxrwxrwx   ./dists/sid/main/disks-hppa/current -> 3.0.14-20010906/
lrwxrwxrwx   ./dists/unstable -> sid


So as you can see, there isn't much to it.

./dists/sid/Release contains

Origin: Debian
Label: Debian
Suite: unstable
Codename: sid
Architectures: hppa
Components: main
Description: Debian Unstable - Not Released
DATE: Thu, 6 Sep 2001 14:48:40 +0100
md5sum:
 1ab866241b09154589453958ebab8673 82 main/binary-hppa/Release
 a1ba6a4a0597c77e2f4ccd5eae8d8ec0 71324 main/binary-hppa/Packages
 a13c5ab16614add00f4501222c94ac96 22859 main/binary-hppa/Packages.gz



./dists/sid/main/binary-hppa/Release contains

Archive: unstable
Component: main
Origin: Debian
Label: Debian
Architecture: hppa



To generate the Pakages file and the first of those release files, I
ran this bit of script:

cd /usr/src/cd/debian
dpkg-scanpackages dists/unstable/main/binary-hppa/base /dev/null > \
        dists/unstable/main/binary-hppa/Packages
cd dists/unstable
gzip -c main/binary-hppa/Packages > main/binary-hppa/Packages.gz
cat > Release << EOF
Origin: Debian
Label: Debian
Suite: unstable
Codename: sid
Architectures: hppa
Components: main
Description: Debian Unstable - Not Released
EOF
echo DATE: `date -R` >> Release
echo md5sum: >> Release
for i in Release Packages Packages.gz
do
  echo '' `md5sum main/binary-hppa/$i | \
      cut -d' ' -f1` `wc -c main/binary-hppa/$i` >> Release
done




Hope that helps,

Richard



Reply to: