Hallo! Am Dienstag, den 21.06.2005, 10:48 +0200 schrieb Peter Blancke: > Walter Saner <[EMAIL PROTECTED]> dixit: > > > Ohne initrd müssen alle für den Zugriff auf das Root-FS > > notwendigen Treiber fest in den Kernel eingebaut sein, also für > > I/O-Subsystem, Chipsatz, Platten, Dateisystem. > > Ist das erst ab 2.6er Kernel erforderlich? Nein, das ist schon fast solange ich denken kann so :) Wenn du z.B.: die MODULE für dein Dateisystem oder ähnliches NICHT mit im KERNEL hast DANN MUSST du eine INITRD erstellen um überhaupt booten zu können.
Das ganze ist aber schon 10000 mal durch die Liste gegangen!
>
> Ich habe am letzten Sonntag auf einer Sarge erst einen zusaetzlichen
> 2.4.31 ins System integriert; die Grub-Eintraege lesen sich wie
> folgt dazu:
>
> ,----[ Aus: /boot/grub/menu.lst ]
> | title Debian GNU/Linux, kernel 2.4.31
> | root (hd0,1)
> | kernel /linux-2.4.31 root=/dev/hda5 ro
> | savedefault
> | boot
> `----
>
> Der Kernel arbeitet einwandfrei.
>
> Andererseits habe ich mich in mkinitrd ueberhaupt noch nicht
> eingearbeitet, weiss gar nicht, wozu das gut ist, etc.
man mkinitrd....
## schnipp ##
DESCRIPTION
The mkinitrd script constructs a directory structure that can
serve as an initrd
root file system. It then generates an image containing that
directory structure
using mkcramfs(8), which can be loaded using the initrd
mechanism. The kernel mod-
ules for the specified kernel version will be placed in the
directory structure.
If version is omitted, it defaults to the version of the kernel
that is currently
running.
The directory structure can be customised by placing scripts into
confdir/scripts.
They will be run using run-parts(8) just before the
directory is fed to
mkcramfs(8). If there are scripts
in /usr/share/initrd-tools/scripts, they will be
run prior to the scripts in confdir.
You can also specify modules to load by putting them in
confdir/modules, whose for-
mat is identical to that of /etc/modules, which is described in
modules(5).
When the system boots using an initrd image created by
mkinitrd(8), the linuxrc
will wait for an amount of time which is configured through
mkinitrd.conf(5), dur-
ing which it may be interrupted by pressing ENTER. After that,
the modules speci-
fied in confdir/modules (and possibly others if ROOT is not
null) will be loaded,
followed by any actions generated when ROOT is not null. Finally
any scripts or
executables in /scripts will be run in alphabetical order.
If the directory /lib/modules/version/initrd exists, the
modules in it will be
included on the initrd image. They will be loaded at boot time.
## schnapp ##
>
> Gruss
>
> Peter Blancke
>
> --
> Hoc est enim verbum meum!
>
>
--
--
Ich widerspreche der Nutzung oder übermittlung meiner Daten
für Werbezwecke oder für die Markt- und Meinungsforschung
(§ 28 Absatz 3+4 Bundesdatenschutzgesetz).
VCard zum downloaden: http://www.kernel-error.de/kernel.vcf
#####################################################
# GPG-INFO #
# Finger-Print #
# AC4E 5829 62C9 9CE6 F3D0 C209 6BB8 FE16 5CD6 50F3 #
# Den oeffentlichen bekommt ihr unter: #
# http://www.kernel-error.de/kernel-error-mobil.asc #
#####################################################
signature.asc
Description: This is a digitally signed message part

