:: Re: [DNG] Devuan migrate and instal…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: aitor_czr
Fecha:  
A: richard lucassen, dng
Asunto: Re: [DNG] Devuan migrate and install

Hi Richard,

On 06/14/2016 04:21 PM, richard lucassen <mailinglists@???> wrote:
> I run a PXE server. For Debian I can download an "initrd.gz" and a
> "vmlinuz" to start a net install. Each version has its own
> vmlinuz/initrd.gz. The repository I use is an apt-cacher-ng proxy,
> this works like a charm. Has this been realized for Devuan yet? And if
> yes, does someone have a URL pointing to these two files?


It depends on your purposes. For example, an initrd.gz taken from a
netinst image will not be valid for a live system, because it doesn't
contain the live-install udeb package, which is essential for a live image.

But you can build your own initrd.gz and vmlinuz building debian-installer:

*HOW TO BUILD DEVUAN-INSTALLER*

1) Download the sources:

apt-get source debian-installer

2) Check the build dependencies and install them:

cd debian-installer-201507023+devuan.alpha4
dpkg-checkbuilddeps
apt-get install ... bla bla bla ...

3) Download the udeb packages using debmirror:

debmirror -h ftp.es.mirror.devuan.org \
           --dist=jessie \
           --root=/merged \
           --di-arch=i386,amd64,armhf \
           --section=main/debian-installer \
           --nosource \
           --progress \
           --ignore-release-gpg \
           --method http \
           --diff=none \
           /home/richard/localudebs


4) Customize your *.udeb pcakages, if you want. For example rootskel-gtk.

5) Copy all the *.udeb packages to
debian-installer-201507023+devuan.alpha4/localudebs and build d-i:

cd build
make build_cdrom_isolinux

The first attempt allways fails. No worries :)

Copy the content of the sources.list.udeb -generated automatically
during the failed attempt- into a new file named sources.list.udeb.local
In my case, the content of this file is:

# This file is automatically generated, edit sources.list.udeb.local
instead.
deb [trusted=yes]
copy:/home/aitor/d-i/debian-installer-201507023+devuan.alpha4/build/
localudebs/
deb http://packages.devuan.org/merged jessie main/debian-installer

6) Clean the content generated by the failed attempt and try again:

apt-get autoremove
make build_cdrom_isolinux

The initrd.gz and the vmlinuz will be generated in the dest folder :)

HTH,

Aitor.