Re: custom debian install cd



Hello

jack (<lists@xxxxxxxxxx>) wrote:

> I need to create a custom install cd using a 2.6 kernel that has
> support for extra sata raid drivers. I've found a few sites on how to
> tackle the issue:
>
> (for example:
> http://public.www.planetmirror.com/pub/debian-netinst/kveton/)

I once built a mini iso using a recent 2.4 kernel. Problems: IDE chipset
detection does not work, and of course you only use your custom kernel
during installation. When the base system is installed, d-i will copy
the kernel that is distributed with the base system, and that is
missing the modules you need. You can also alter the base system, but
this is quite complicated. Alternatives are:

- build the SATA drivers as modules for the installation kernel and copy
them to a flotty disk. You can load the modules during installation.

- use debootstrap to install debian from a running system, e.g. a
Knoppix CD or some other Linux system that does support your chipset.

> ...though all HOWTO's i've found are using the same technique.
> (downloading and uncompressing the 2.8m rescue floppy .bin, and
> copying your vmlinuz (etc etc) to the .bin, then re-creating the iso
> with mini-iso.sh.
>
> The only problem is, my 2.6 kernel is a quite a bit bigger then the
> available space left on the 2.8m image.
>
> Is it possible to resize a .bin image to do what I need? Or is there
> any easier way to do what i'm doing?

There is a way to build your own d-i mini iso. I build by own kernel
package using make-kpkg, installed it, used linux-kernel-di-i386 and
kernel-wegde to create kernel udebs for the installer (these contained
the kernel and the modules), and rebuilt the debian installer from
source. A quick explanation can be found here:

http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/custom-kernel.txt

Please note that the Sarge installer depends on devfs support in your
kernel, which means you must use kernel 2.4 or 2.6 < 2.6.12.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@xxxxxxxxxxx>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: troubles whit lan drivers using Fedora Core 4
    ... 2> It's possible that the driver doesn't support recent kernels. ... You must compile the source code to generate rhinefet.o(rhinefet.ko in 2.6.x kernel, please remember to replace rhinefet.o with rhinefet.ko in the following sentences if you are using 2.6.x kernel) and use insmod command to insert rhinefet.o as module. ... Compile the driver source files and it will generate rhinefet.o, and copy it to correct driver installation path (The installation directory is different in different kernel versions. ...
    (Fedora)
  • Re: PCI: multiple domains not supported
    ... Installation fails on systems that have multiple PCI domains on the ... The reason is that there has been no support in the 'stock' ... linux kernel for the x86 arch until recently. ...
    (Ubuntu)
  • RE: Installation of Red Hat
    ... Installation of Red Hat ... I have downloaded Linux 9 from Fedora but my attempts to get it running ... Subject: kernel sources... ... KDE allowed me to get in and check out the drives from the shell. ...
    (Fedora)
  • Re: troubles whit lan drivers using Fedora Core 4
    ... 2> It's possible that the driver doesn't support recent kernels. ... You must compile the source code to generate rhinefet.o(rhinefet.ko in 2.6.x kernel, please remember to replace rhinefet.o with rhinefet.ko in the following sentences if you are using 2.6.x kernel) and use insmod command to insert rhinefet.o as module. ... Compile the driver source files and it will generate rhinefet.o, and copy it to correct driver installation path (The installation directory is different in different kernel versions. ...
    (Fedora)
  • SUSE Security Announcement: various kernel problems (SUSE-SA:2004:044)
    ... The following paragraphs will guide you through the installation ... contain a binary kernel in bootable form. ... verify the authenticity of the kernel rpm package using the methods as ...
    (Bugtraq)