LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-23-2003, 11:50 AM   #1
sramelyk
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 79

Rep: Reputation: 15
Do I need LILO?


Is LILO just for giving me the option were to boot from? I want to turn on my "LINUX ONLY" computer and have it boot automatically.. Is LILO neccassary?
 
Old 08-23-2003, 12:00 PM   #2
Tarts
Member
 
Registered: Feb 2003
Distribution: Slackware 9.1 (exclusively) ;)
Posts: 344

Rep: Reputation: 30
If you want to boot straight into Linux, that's what LILO is for.
:)
{edit} someone correct me if i'm wrong, but i think that when you you install Linux it doesn't atomatically change your MBR, like window's, so LILO is to give you the option of how to boot, just incase a proprietary computer won't let you change the MBR, like for example, my 3 year old compaq.

Last edited by Tarts; 08-23-2003 at 12:06 PM.
 
Old 08-23-2003, 12:08 PM   #3
sramelyk
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 79

Original Poster
Rep: Reputation: 15
Ok. But if LILO is not installed what would happen? It would find the partition flagged as "boot"...
 
Old 08-23-2003, 12:17 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Linux needs some sort of boot loader as does every OS to my understanding. Like in Windows, when you don't have multiple OS's installed, it will detect this and just load up Windows, but you don't see what's going on as it just usually goes straight to the splash screen, etc.

You can make it so Linux loads from Lilo in any amount of time and is the default, so you don't see the Lilo prompt for too long if that is what your wanting. Maybe set it to load Linux in 2 seconds or something like that.
 
Old 08-23-2003, 12:20 PM   #5
sramelyk
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 79

Original Poster
Rep: Reputation: 15
Perfect.. Exactly what I was looking for.. Thank you!
 
Old 08-23-2003, 12:21 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Glad to be of help...
 
Old 08-23-2003, 12:26 PM   #7
sramelyk
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 79

Original Poster
Rep: Reputation: 15
--- Actually.. One more question on LILO.. Is it possible to set aside, say .. 50-100MB of space in a seperate partition linux partition.. And is this more stable, or advisable?
 
Old 08-23-2003, 12:29 PM   #8
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
What would this partition be used for? You shouldn't have any problems setting up a 50-100mb partition in Linux.
 
Old 08-23-2003, 12:36 PM   #9
sramelyk
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 79

Original Poster
Rep: Reputation: 15
I mean actually dedicating this partition just for LILO.. It seems like I read something somewhere that this might be a good idea.. To actually keet it away from your 'root' partition..
 
Old 08-23-2003, 12:38 PM   #10
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Yah you can do that, but you'd be wasting alot of space dedicating 50 to 100 megs to it. 16 to 32 megs would be more feasible I would think.
 
Old 08-23-2003, 01:31 PM   #11
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi sram

As I understand it - LILO can be installed to:

The boot sector of a floppy disk

The MBR of the first hard disk

The boot sector of a Primary partition on the first hard disk (of a Linux filesystem)

The boot sector of an extended partition on the first hard drive

Is there any reason you dont want it in the MBR?
 
Old 08-23-2003, 01:35 PM   #12
sramelyk
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 79

Original Poster
Rep: Reputation: 15
I have no idea were to put it.. I am new to linux, have a spare pc that I am playing with.. And honestly am just hashing things out..

I can't get anything to work unless I use the floppy boot disk I made.. If I don't use the floppy, and try and use the hard drive to boot, then nothing happens.. Just a flashing cursor and no response.. But with the boot disk I get to my /dev/hda2 and can see that I've installed all the files.. I am a little new here so I am just starting to get the feel of the command line.. I don't know how to fix the booting problem and figured it must have something to do with LILO or the kernal I chose, which doesn't make since, because its the same as the bootdisk.. AHH! This is fun.. Really..
 
Old 08-23-2003, 01:41 PM   #13
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
As a matter interest which distro have you tried to install? Were did you chose to put LILO?
 
Old 08-23-2003, 02:04 PM   #14
sramelyk
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 79

Original Poster
Rep: Reputation: 15
I have a 20g hd.. I partitioned 1g for a swap partition /dev/hda1 .. And 19g for my root partition /dev/hda2.

I installed Slackware 9.0 and put it in /dev/hda2. I also chose to install 'LILO' into the /dev/hda2 partition as well.. I have tried the 'auto' version of LILO configuration and last time I chose the expert mode, which I liked much better, because I could actually see what I was doing.

Hope this helps..
 
Old 08-23-2003, 02:24 PM   #15
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
Err... yes... so, just to be as redundant as I can possibly be...



.... try installing it to the MBR. It helped for me when my boot kept hanging at "L 99 99 99 99 99 99 99 99 ..." ad infinitum.



-zsejk

P.S.: type "liloconfig" at the prompt to facilitate this re-install

Last edited by zsejk; 08-23-2003 at 02:31 PM.
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM


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