Le Mon, 24 May 2004 09:17:28 +0200
Denis Bitouz� <[EMAIL PROTECTED]> a �crit:
> Everything goes well until step 10:
>
> mkinitrd -f -v /boot/initrd-2.6.3-4mdkcustom.img 2.6.3-4mdkcustom
>
> I had the following message:
>
> /lib/modules/2.6.3-4mdkcustom is not a directory.
In fact, the trouble was that the kernel's sources were
linux-2.6.3-13mdk so the modules were installed in
/lib/modules/2.6.3-13mdkcustom.
So I tried:
1) cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.3-13mdkcustom.img
(it seems that the extension .img is missing in the doc)
2) mkinitrd -f -v /boot/initrd-2.6.3-13mdkcustom.img 2.6.3-13mdkcustom
(but no initrd-2.6.3-13mdkcustom.img in my /boot directory)
3) in my /etc/lilo.conf:
image=/boot/vmlinuz-2.6.3-13mdkcustom
label=2.6.3-13mdkcustom
root=/dev/hda6
initrd=/boot/initrd-2.6.3-13mdkcustom.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
vga=788
read-only
4) lilo -v
But it complains: to many characters (>=31) in
'/boot/vmlinuz-2.6.3-13mdkcustom'
So I changed as follows:
1) cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.3-13eci.img
2) mkinitrd -f -v /boot/vmlinuz-2.6.3-13eci.img 2.6.3-13mdkcustom
(but no initrd-2.6.3-13eci.img in my /boot directory)
3) in my /etc/lilo.conf:
image=/boot/vmlinuz-2.6.3-13eci
label=2.6.3-13eci
root=/dev/hda6
initrd=/boot/initrd-2.6.3-13eci.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
vga=788
read-only
4) lilo -v
But it complains:
[EMAIL PROTECTED] linux]# lilo -v
LILO version 22.5.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2003 John Coffman
Released 10-Oct-2003, and compiled at 18:03:01 on Feb 19 2004
Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file
Boot image: /boot/vmlinuz-2.6.3-13eci
Fatal: Kernel doesn't support initial RAM disks
Thanks for any help.
--
Denis.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Driver Linux pour modem ECI ADSL USB: http://eciadsl.flashtux.org
Archives de cette liste de diffusion: http://liste.eci.free.fr
Pour se desinscrire: mailto:[EMAIL PROTECTED]