LinuxQuestions.org
Visit Jeremy's Blog.
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 04-10-2004, 08:05 PM   #1
EnigmaZ
LQ Newbie
 
Registered: Jan 2004
Location: Chicago, IL
Distribution: Slackware
Posts: 29

Rep: Reputation: 15
how do you install just LILO?


Hello!

I just installed slackware, everything went like always except the LILO install...it gave me an error and skipped LILO install, everything else is installed fine. Is there any way that i can get LILO without having to reinstall slackware?

Cheers,
E.
 
Old 04-10-2004, 08:36 PM   #2
nalg0rath
Member
 
Registered: Feb 2004
Location: Stockholm, Sweden.
Distribution: Gentoo Linux
Posts: 30

Rep: Reputation: 15
First try to logon as root and type: 'liloconfig'
If this works you only have to follow the instructions on the screen.

If liloconfig don't work:
Download the Slackware package:
ftp://ftp.slackware.com/pub/slackwar...7.2-i386-1.tgz

Install the package by typing 'installpkg lilo-22.5.7.2-i386-1.tgz' as root user.
Edit the /etc/lilo.conf so that it fit your systems partitions, then run command 'lilo' to install it. You have to edit the lilo.conf so that it installs lilo on /dev/hda (MBR).
 
Old 04-10-2004, 08:41 PM   #3
EnigmaZ
LQ Newbie
 
Registered: Jan 2004
Location: Chicago, IL
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Forgot to mention one thing... (posted here) i removed all of my linux paritions, rewrote the MBR and booted to windows. I'm in windows now and i cant boot to slackware becuase when i installed slackware LILO wasn't installed. So i need an alternative way to install LILO without going into linux (boot disk, etc)
 
Old 04-10-2004, 10:27 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
" i removed all of my linux paritions, rewrote the MBR and booted to windows. "
If you actually removed your Linux partitions then you nede to recreate the Linux partitions and do a complete install. If you mean that you no longer have the lilo menu that allows you to boot into Linux because you rewrote the MBR then read on.

"So i need an alternative way to install LILO without going into linux (boot disk, etc)"

Boot your Slackware install CD into rescue mode. Mount your Linux partition (I assume that it is on /dev/hda3 and that it is an ext3 partition). Then chroot to Slackware.

mkdir /hamster
mount -t ext3 /dev/hda3 /hamster
chroot hamster

When you are in your Slackware system then you can install lilo using malg0rath's instructions.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 04-10-2004 at 10:33 PM.
 
Old 04-11-2004, 04:52 AM   #5
phase9
Member
 
Registered: Mar 2004
Location: austria, vienna
Distribution: slackware-10.2
Posts: 89

Rep: Reputation: 15
Hi

If you already have slackware installed, the package LILO should be installed too.


Try the following:

* Boot from your first slackware CD

* Mount your slack partition in /mnt
mount /dev/hda? /mnt

* check your lilo.conf file (cat /mnt/etc/lilo.conf | more) for:

boot = /dev/hda

and

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda?
label = slack-9.1

Maybe you have to edit lilo.conf with vi /mnt/etc/lilo.conf.

* invoke LILO with
/mnt/sbin/lilo -r /mnt/boot -c /mnt/etc/lilo.conf

The option "-r /mnt/boot" tells LILO to use the partion mounted in /mnt as your root partion, meaning the path to directories of that partion is relative to /mnt.
Because of this, it may be, that if you just re-run LILO from the setup menu without going through the full installation procedure, the installation of the bootloader doesn't work.

The option "-c /mnt/etc/lilo.conf" tells LILO to use the config file from the above partion.
 
  


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
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 10:07 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
install LILO after Slack install true_atlantis Slackware 1 04-28-2004 04:06 PM
failed install lilo during install process sirpelidor Mandriva 5 01-15-2004 01:51 AM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 05:50 PM


All times are GMT -5. The time now is 04:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration