LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2003, 05:50 AM   #1
creznedmick
Member
 
Registered: Aug 2003
Location: Austarlia
Distribution: redhat 7.3 & 9, Mandrake
Posts: 39

Rep: Reputation: 15
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
 
Old 12-05-2003, 06:40 AM   #2
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
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?

Last edited by m0rl0ck; 12-05-2003 at 06:42 AM.
 
Old 12-05-2003, 07:13 AM   #3
creznedmick
Member
 
Registered: Aug 2003
Location: Austarlia
Distribution: redhat 7.3 & 9, Mandrake
Posts: 39

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring LiLO Error 'Initial RAM disk.... and is too big to fit between 4M-15M..' elliotfuller Linux - General 1 09-08-2005 12:22 AM
bootsplash ram disk image error huntermix Slackware 2 07-27-2004 12:53 PM
LILO Disk Error Code 0x01 Techweenie1 Linux - Newbie 3 04-25-2003 02:34 PM
Lilo boot disk error. weblion Linux - General 4 01-06-2002 08:56 PM
64 RAM, LILO, and a boot disk.. help :( Volatile Linux - Newbie 2 02-23-2001 03:23 PM


All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration