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

Re: DebianInstaller does not include a driver for my xyz network card ...



On Sunday 02 April 2006 14:29, Jean-Didier Garaud wrote:
> Can you explain me howto add this driver to the installer ?

There is a bit of a chicken-and-egg problem here: to compile the driver so 
you can use it in the installer you will need access to a system that 
already has Debian installed for the correct architecture.

Here is a rough overview:
- find out which kernel is used in the version of the installer you want
  to use; for this, boot the installer, switch to VT2 and enter 'uname -a'
  Example:
  # uname -a
  Linux (none) 2.6.15-1-486 [...]
- on the system already running Debian, install the kernel source and the
  kernel image corresponding to the version found by 'uname -a':
  # aptitude install linux-2.6 linux-image-2.6.15-1-486
- extract the kernel source:
  $ cd /usr/src
  $ tar xjf linux-source-2.6.15.tar.bz2
- copy the configuration file from the kernel used by the installer
  $ cd linux-source-2.6.15
  $ cp /boot/config-2.6.15-1-486 .config
- do whatever is needed to build the kernel and your driver; this is
  documented in other places, like the Debian kernel handbook

To use the module in the installer there are several options:
- put the module on a floppy or usb-stick and just copy it into the right
  place before the network configuration stage
- add the module to the initrd and remaster the CD
- create a custom udeb containing the module and make sure that gets
  loaded

Attachment: pgpKG29LLJDxT.pgp
Description: PGP signature


Reply to: