1270
Comment:
|
2155
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
| debian-installer}}} | | debian-installer | tmp (for initrd repacking and goodies)}}} |
Line 10: | Line 11: |
Required packages: * `apt-get install kernel-wedge build-essential subversion fakeroot` |
=== Required packages: === * `apt-get install kernel-wedge build-essential subversion fakeroot wget` |
Line 17: | Line 18: |
[[BR]] | |
Line 19: | Line 19: |
Dealing with kernel-wedge: | === Dealing with kernel-wedge: === |
Line 25: | Line 25: |
Dealing with debian-installer: | === Dealing with debian-installer: === |
Line 28: | Line 28: |
* `sed -ie 's/DEBIAN_RELEASE = | * `sed -ie 's/DEBIAN_RELEASE = .*/DEBIAN_RELEASE = lenny/g' ./config/common` * `fakeroot make build_monolithic` {{{ Now, in the dest/ directory contains your new monolithic .iso. Two problems are: * It doesn't contain the atl2 installer script * It isn't a usb image, only a LiveCD It is quite easy to convert a LiveCD to a USB image, but the atl2 installer script is not as easy to inject. If you have a better way than the way portrayed below, feel free to add it to this page. }}} === Dealing with the atl2 script: === * `cp dest/monolithic/initrd.gz ../../../tmp` * `cd ../../../tmp` * `gunzip initrd.gz` * `cpio -i < initrd` * `rm initrd` * `cd ./usr/lib/pre-pkgsel.d/` * `wget http://bbqsrc.net/eeepc/debian/05atl2-install` * `chmod +rx 05atl2-install` * `find ./ | cpio -H newc -o > ./initrd` * `gzip initrd` |
The exact process for mastering the sid-usb.img.gz linked from ["DebianEeePC/HowTo/Install"] was not documented the first time. In brief, we followed ["DebianInstaller/Modify/CustomKernel"] to build a lenny installer with the atl2 module. The following instructions require a sid build system.
These instructions will assume a directory structure of: {{{| (base directory) \
- | kernel-wedge | debian-installer | tmp (for initrd repacking and goodies)}}}
Required packages:
apt-get install kernel-wedge build-essential subversion fakeroot wget
download and dpkg -i: [http://packages.debian.org/lenny/linux-image-2.6.22-3-486]
download and dpkg -i: [http://packages.debian.org/lenny/atl2-modules-2.6.22-3-486]
svn co svn://svn.debian.org/svn/d-i/trunk debian-installer
download, cd kernel-wedge, tar xf http://packages.debian.org/unstable/source/linux-kernel-di-i386-2.6
Dealing with kernel-wedge:
cd linux-kernel-di-i386-2.6
echo atl2 >> ./modules/i386/nic-modules
kernel-wedge build-all
cp -r ../*.udeb ../../debian-installer/installer/build/localudebs/
Dealing with debian-installer:
cd ../../debian-installer/installer/build
sed -ie 's/#monolithic/monolithic/g' ./config/i386.cfg
sed -ie 's/DEBIAN_RELEASE = .*/DEBIAN_RELEASE = lenny/g' ./config/common
fakeroot make build_monolithic
Now, in the dest/ directory contains your new monolithic .iso. Two problems are: * It doesn't contain the atl2 installer script * It isn't a usb image, only a LiveCD It is quite easy to convert a LiveCD to a USB image, but the atl2 installer script is not as easy to inject. If you have a better way than the way portrayed below, feel free to add it to this page.
Dealing with the atl2 script:
cp dest/monolithic/initrd.gz ../../../tmp
cd ../../../tmp
gunzip initrd.gz
cpio -i < initrd
rm initrd
cd ./usr/lib/pre-pkgsel.d/
wget http://bbqsrc.net/eeepc/debian/05atl2-install
chmod +rx 05atl2-install
find ./ | cpio -H newc -o > ./initrd
gzip initrd