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 01-06-2002, 12:02 AM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
Lightbulb Add more then one kernels ?


Hello Friends,


1) During Redhat linux Istallation.I didn't install lilo.After installation i want to install Lilo.

Q: How can i install?

2) How can i add more than one kernels in to Lilo.conf?
and how can i boot differnt kernel?(with other distribution)

3) How can i add Password protection to a partition.

4) When lilo start, how can gather the information about Hardware.(I/O)
Exp: If more then one hardware is attached ,how lilo will deceted.


-----------------------
Thanks
Hitesh
 
Old 01-06-2002, 12:08 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The lilo How-To has most of the answers you need. And here is a section of my lilo.conf showing two kernels,
Code:
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hda1
  label = slack
  read-only
#old linux
image = /vmlinuz.old
  root = /dev/hda1
  label = slack.old
  read-only
 
Old 01-06-2002, 01:07 AM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
As Aussie said, the lilo HOWTO is full of good information. Also read the man pages for lilo and lilo.conf.
Basically, you'll have to create the config file /etc/lilo.conf if it doesn't exist already (in Redhat it might be /etc/conf.lilo, I forget). It contains global booting options, as well as (in a multi-boot situation) subsections pertaining to each OS or kernel you want to boot. The resources above describe the details. After properly configuring /etc/lilo.conf, run "/sbin/lilo", at which point lilo will install itself acording to the parameters contained in lilo.conf.

When booting more than one kernel/distro, you use the "image=" lines to point to the desired kernel. I like to keep the kernels for each distro in a single /boot directory, making sure each has a unique name. Here's lilo.conf for my dual-boot Mandrake/Redhat box:
Code:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=Mandrake
keytable=/boot/us.klt
lba32
prompt
timeout=600
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.4.3-20mdk
        label=Mandrake
        root=/dev/hda6
        vga=788
        read-only
image=/boot/vmlinuz-2.2.14-5.0
        label=Rh6.2
        root=/dev/hdb8
        vga=788
        read-only
image=/boot/vmlinuz
        label=failsafe
        root=/dev/hda6
        append=" failsafe"
        read-only
As far as getting hardware information, what exactly do you mean? Lilo is just the bootloader; it isn't responsible for detecting or configuring your hardware.
However, you can always type "dmesg|less" at any command prompt to review boot-up information regarding system initialization and device detection. There are other ways to view hardware information, but how to do it varies depending on what specific hardware you are referring to.

As far as password-protecting a single partition, I haven't run across a way to do that without, perhaps, installing a third-party utility. Remember, though, that some partitions can't really be password protected, because they need to be mounted automatically at boot, without user intervention. You could always restrict partition access using user/group permissions, if that would be enough to serve your needs.
 
Old 01-06-2002, 02:37 AM   #4
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
RE:Add more then one kernels ?

Thanks Aussie and DMR,

I got it, but where can get other kernels and where do i install in linux system.i mean in dere.so i can easly boot other kernels.

Thanks again,
Hitesh
 
Old 01-06-2002, 02:56 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You can download the latest kernels from the kernel archive, to install them you have to compile them your self, the kernel How-To has the info on that job, and if you do a search of the forum you'll find lots of threads on the subject.
 
Old 01-06-2002, 02:59 AM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
You can get the latest kernel sources from kernel.org. There's a lot of information out there on compiling kernels (including lots of useful tips right here, just search past posts), but the first thing to check out is probably the Kernel-HOWTO at the Linux Documentation Project.

Obviously, if you install another entire distro on your box, the kernel will usually live in the /boot directory for that distro.
 
Old 01-06-2002, 03:24 AM   #7
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Which kernels?

Thanks Again,

i suff this site.but i confused which kernels belongs to which distribution.so send me perfet URL.which through i can download diffrent Distrib like suse,mandrake,Caldera whet ever .

Thanks
Hitesh
 
Old 01-06-2002, 03:36 AM   #8
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
OK,

Full distros can be downloaded from Linuxiso.org. Although some of the distros can be downloaded and installed straight from a hard drive, the usual approach is to download the iso images and then burn them to CDs. Remember that you can't just copy the iso files to a CD, you must burn them as an image. There is a page at linuxiso.org with more information on that if you need it.
 
Old 01-06-2002, 03:51 AM   #9
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Kernels Distri ?

Hello DMR,

Thanks Again,i visit that page,but it show me
for Suse:
1)Intel 7.3 Live Evaluation iso (runs from cd only) ~640megs

2) Sparc SuSE-7.3-CD2.iso Binaries

3) Sparc SuSE-7.3-CD4.iso Sources only

any three of it which thing i should download.and same thing in Debain .so please send it.

Thanks Hitesh
 
Old 01-06-2002, 03:56 AM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The Sparc cd's are no good for an ix86 intel compatable machine. Suse don't provide download iso's of their latest distro, you might be able to find an older version though, otherwise if you want Suse you have to buy it. For Debian the 2.2r4 iso's are tha latest stable release and the "woody" iso's are the test version for the next release.
 
  


Reply



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
add CD-ROM? add Floppy? Devices? Kelphyr Slackware 5 10-10-2004 06:17 PM
kdevelop add folder and add new class is slow edwardt Programming 0 03-03-2004 06:04 PM
Cant add MySQL through add/remove programs Hero Doug Fedora 6 01-03-2004 10:35 PM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 10:46 PM
Miss Match IP Add and Adapter Add. ???? hitesh_linux Linux - Networking 5 02-08-2003 01:34 PM

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

All times are GMT -5. The time now is 06:40 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