LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-27-2009, 01:17 AM   #1
oxident
LQ Newbie
 
Registered: May 2009
Posts: 16

Rep: Reputation: 0
lilo: try out a new kernel on a headless system


Hi!

I want to recompile the kernel of an embedded headless MontaVista-linux system.

For me it would be really important that, if the new kernel wouldn't boot up, the old kernel will be loaded again after I reset the system.

Is there any lilo option which enables me to boot a new kernel for "one time" only?
 
Old 05-27-2009, 02:31 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Of course! :}


Leave the old, trusted kernel as the default,
add the new one, and after having run lilo w/o
arguments then run it with
lilo -R <NewKernelName>



Cheers,
Tink
 
Old 05-27-2009, 03:02 AM   #3
oxident
LQ Newbie
 
Registered: May 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks!

That's exactly what I was looking for :-D
 
  


Reply

Tags
lilo


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD burning on a headless, command-line-only system sleddog Linux - Server 3 12-30-2008 06:01 AM
Running Skype on a headless system? Foomajick Linux - Software 0 11-19-2006 09:29 AM
System Down: Broken LILO after failed kernel upgrade. Please help! Yalla-One Linux - Software 1 03-30-2005 03:53 PM
Best way to setup headless system xscott Mandriva 9 01-08-2004 04:05 PM
can i upgrade a headless system via telnet jjdonn Linux - Newbie 2 07-02-2002 12:31 PM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration