lilo ram disk error
The following error occurs while trying to reload lilo
[root@dads root]# /sbin/lilo Added 2.4.20-8 * Skipping /usr/src/linux/arch/i386/boot/bzImage Added NT Fatal: Kernel doesn't support initial RAM disks Here is some I hope relevant information [root@dads root]# fdisk -l Disk /dev/hdc: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdc1 40 1570 12297757+ 83 Linux /dev/hdc2 1 39 313236 82 Linux swap /dev/hdc4 1571 2434 6940080 f Win95 Ext'd (LBA) /dev/hdc5 1571 2434 6940048+ 4 FAT16 <32M Partition table entries are not in disk order Disk /dev/hda: 30.7 GB, 30738677760 bytes 255 heads, 63 sectors/track, 3737 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 319 2562336 b Win95 FAT32 /dev/hda2 320 957 5124735 17 Hidden HPFS/NTFS /dev/hda3 958 3737 22330350 f Win95 Ext'd (LBA) /dev/hda5 958 3737 22330318+ b Win95 FAT32 And my /etc/lilo.conf file boot="/dev/hda" prompt timeout="50" message=/boot/message root=/dev/hdc1 image="/boot/vmlinuz-2.4.20-8" label="2.4.20-8" root="/dev/hdc1" read-only initrd="/boot/initrd-2.4.20-8.img" image=/usr/src/linux/arch/i386/boot/bzImage label="Linux_Compiled" root=/dev/hdc1 read-only optional other=/dev/hda2 label="NT" image="/dev/hda1" root="/dev/hdc1" initrd="/boot/initrd-2.4.20-8.img" Any help appreciated Michael |
You just need to enable initrd support in the kernel config. Im not at a linux computer right now, but I believe its in devices or filesystems. After that recompile, run mkinitrd (just type that on the command line for an exapmle of usage) and try /sbin/lilo again with the correct initrd location and name.
Alternately, if your certain that you dont need to load any modules at boot (is your root filsystem compiled in, or loaded as a module?) you could try booting without an initrd. EDIT: By the way, why are you booting a kernel image from the source tree? |
Thanks for reply. The computer was set up, triple boot; 98, xp and red hat. I reloaded xp and lost lilo. It was while trying to get lilo back in charge that the error message came up.
Because all was working I figured that everything was supported, now I see what you mean but unsure how to configure the kernel. Michael |
All times are GMT -5. The time now is 08:59 PM. |