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

Re: rescue disk with modules?

On Mon, Mar 22, 1999 at 08:42:28PM +0100, Kristoffer H. Rose wrote:
> Hi,
> I want to build a Debian rescue disk for a PCMCIA-floppy machine (the
> Toshiba Libretto 50).  This means that I must build the floppy as a
> PCMCIA-loadable module (using the floppy_cs_1.02 kernel patches).
> So my question is this: it seems that "just" compiling the kernel with the
> appropriate support and then adding /lib/modules/2.0.36 (as it were) and
> /etc/modules plus the pcmcia stuff is not enough ... do you guys know of
> any particular magic incantations needed?

It may be tricky... (of course, it's not supported!). ;-)

The current installation system (dbootstrap) installs the modules and the
pcmcia stuff using a shell script (install.sh) found on the drivers disk.
That script unpacks the tgz files on the /target partition and do some
symlinks from the root partition. Later, dbootstrap will use the config
files in /target/etc to configure the pcmcia stuff. If you include the
modules and pcmcia stuff on the initial root disk, you must put the
symlinks the other way round.  There are a few things that may break
later though...
PS: If you know of anyone that can donate me a PCMCIA-floppy machine for 
development, I'll add support for that on the next boot-floppies set. :-)
Enrique Zanardi					   ezanardi@ull.es

Reply to: