LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2006, 03:51 AM   #1
Hondro
Member
 
Registered: Mar 2006
Location: Lithuania
Distribution: Slackware-12.2
Posts: 102

Rep: Reputation: 15
LILO with two kernels


Hi, i have a default kernel in slack 10.2 (bare.i) and i have heard some where that it is possible in lilo to put two(maybe more) kernels and in boot time choose one of them.
I want to try for example other slackware kernel for example "lowmem.i" and put it in lilo so i can choose it in boot time: bare.i or lowmem.i kernel.
How can i do that, or maybe somebody can give some links with examples of lilo with more kernels?
 
Old 07-14-2006, 04:03 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That would be non-trivial if they share the same module-directory.
It's NO problem if you have several kernels that define their individual
kernel-versions, and have their own /lib/modules/`uname -r` directory.

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-2.4.31
  root = /dev/hda7
  label = yeppers
  append="LOCATION=yeppers"
  password=xxxxxxx
  restricted
  read-only
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz-minik
  root = /dev/hda7
  label = test
  append="LOCATION=home"
  password = xxxxxxxx
  restricted
  read-only
# Linux bootable partition config ends



Cheers,
Tink
 
Old 07-14-2006, 05:08 PM   #3
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Also, don't forget to run

#lilo -v

in order to write the new changes to the boot partition. The -v is optional but gives you verbose output.
 
  


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
System.map - what to do when I have multiple kernels in LILO? brgr88 Linux - Kernel 4 04-19-2006 11:20 AM
lilo.conf ---> how do i dual boot between kernels? nenyo Linux - Software 5 08-18-2005 10:46 PM
Lilo on a floppy, multiple kernels escapee Linux - Newbie 9 05-11-2004 07:22 PM
How do I have many kernels options on LILO? hotplainrice Slackware 3 01-13-2004 07:14 AM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:18 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
Open Source Consulting | Domain Registration