lilo.conf ---> how do i dual boot between kernels?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
lilo.conf ---> how do i dual boot between kernels?
i have an OLD laptop and i just put vectorlinux 3.2 on it. i want to upgrade the kernel to 2.4.31 or 2.6(not sure if it would run it though). since im a total novice with the whole kernel thing i want to be able to boot back into the old kernel to retry WHEN i screw it up. if i set up the old one as vmlinuz.old and boot from that it would be perfect.
i know how to do this with grub but is there a way with lilo? if so how.
:::::::: justification (my predicament) ::::::::
i will probably put grub on it later but for now im using lilo. i need to get network support to start downloading stuff for setup. in order to do this i need ndiswrapper for my wireless card because the computer has no networking capabilities other than a pc card slot. ndiswrapper require that i upgrade to 2.4.20 first.
Having an old computer shouldn't be a problem for the kernel. It's detecting hardware, and unless they've dropped support for your older hardware, a 2.6.x.x should work fine.
Also use the instructions in Jesper Juhl's super fast 2.6 guide for getting it installed. Here's an example of my /etc/lilo.conf for two different boxen. One is a Slackware only box with two kernels, the other has a Windoze boot and several Slackware kernels.
Code:
mingdao@slackbox:~$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.12.5
root = /dev/hda2
label = Slack-2.6.12.5
read-only
image = /boot/vmlinuz
root = /dev/hda2
label = Slack-2.4.31
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
Code:
mingdao@james:~$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
# Bitmap in BMP format: 640x480x4
bitmap = /boot/slack.bmp
# Colors fg,bg,sh,h-fg,h-bg,h-sh
bmp-colors = 9,0,9,0,9,0
# Location of the option table: x,y,column,lines,space
bmp-table = 61,15,1,8
# Timer x,y,fg,bg,sh
bmp-timer = 73,29,0,9
#append="elevator=cfq"
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.12.5
root = /dev/sda2
label = 2.6.12.5
read-only
image = /boot/vmlinuz-2.6.12.4
root = /dev/sda2
label = 2.6.12.4
read-only
image = /boot/vmlinuz-2.6.12.3
root = /dev/sda2
label = 2.6.12.3
read-only
image = /boot/vmlinuz-2.6.12.2
root = /dev/sda2
label = 2.6.12.2
read-only
image = /boot/vmlinuz-2.6.12.1
root = /dev/sda2
label = 2.6.12.1
read-only
image = /boot/vmlinuz-2.6.12
root = /dev/sda2
label = 2.6.12
read-only
image = /boot/vmlinuz-2.6.11.11
root = /dev/sda2
label = 2.6.11.11
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = WinXP
table = /dev/hda
# Windows bootable partition config ends
thanks but i already did that. i guessed thats how one is supposed to do it and gave it a try. i then coppied yours and changed the info to fit my comp. that didn't work either. when i boot up it still shows only one option in the list.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.