LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2009, 04:33 PM   #1
clcbluemont
Member
 
Registered: Feb 2009
Distribution: Slackware
Posts: 116
Blog Entries: 3

Rep: Reputation: 15
Lilo not booting ramdisk


I need to get LILO to boot a ramdisk in which the root file system is on /dev/ramdisk. I have tried many iterations of lilo.conf files. The following is one that I would think would work because it worked under 2.4 kernels:
default=linux
boot=/dev/hda
install=/mnt/flash/boot/boot.b
map=/mnt/flash/boot/map
lba32
verbose 3

image=/mnt/flash/boot/vmlinuz-2.6.25.14
label=linux
initrd=/mnt/flash/boot/bos.img
read-write
root=/dev/ram0
append = "ramdisk=262144"

The boot starts out good saying:
Loading Linux .............................


And that is where it stops. It seems as though it either runs out of ramdisk space or it can't find the kernel? The OS in the ramdisk is CentOS 5 and grub with the same ramdisk and setup works fine. Unfortunately I am required to use lilo.
 
Old 02-25-2009, 01:17 PM   #2
clcbluemont
Member
 
Registered: Feb 2009
Distribution: Slackware
Posts: 116

Original Poster
Blog Entries: 3

Rep: Reputation: 15
Grub vs. Lilo

This works, why doesn't lilo work where the following grub configuration does?
#boot=/dev/hda
default=0
timeout=10
hiddenmenu
title DOOW (2.6.25.14-3)
root (hd0,0)
kernel /boot/vmlinuz-2.6.25.14 rw root=/dev/ram0 ramdisk_size=262144
initrd /boot/bos.img
 
Old 02-26-2009, 05:17 PM   #3
clcbluemont
Member
 
Registered: Feb 2009
Distribution: Slackware
Posts: 116

Original Poster
Blog Entries: 3

Rep: Reputation: 15
Solved:
The problem was that old installations were running an old version of LILO and 2.4 kernels. When I copied the new ramdisk over and the new 2.6 kernel over to running systems, I was running lilo meant for the old days. The new version of LILO works fine, however I have some chicken and egg stuff going on with this tricky update.
 
  


Reply

Tags
boot, lilo, ramdisk



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
How to bypass login: prompt after booting kernel and ramdisk janardhan@eilabs.com Linux - Security 1 02-29-2008 09:23 AM
Problem booting kernel without initial ramdisk m4mach Linux - General 25 08-03-2007 09:16 AM
booting read only - how do I load /dev files in ramdisk? drkstr Slackware 4 07-19-2006 01:56 AM
the size limit of LILO to load a ramdisk golien Linux - General 0 03-31-2005 12:32 AM
Slow booting ramdisk (isolinux) Dark Carnival Linux - General 1 11-09-2004 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 PM.

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
Open Source Consulting | Domain Registration