LinuxQuestions.org
Help answer threads with 0 replies.
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 03-08-2003, 09:41 PM   #1
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
reinstall lilo


i did something rather stupid i updated lilo for slack then forgot to run it before rebooting, does anyone know of a way to reinstall lilo?
 
Old 03-08-2003, 10:11 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,870

Rep: Reputation: 87
Quote:
i updated lilo
As in adding to or changing the configuration file, or installing a newer version?
/sbin/lilo as root will install the current settings.
You are not having a problem booting, right?
 
Old 03-08-2003, 10:23 PM   #3
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
no i am having problems booting, i reinstalled the mbr for windows so that i can get to linuxquestions.org so i effectively have no lilo linux should be working perfectly, IF i can get to it i know that if i installed another version of linux i could do it but that would invovle much repartitioning of my drive...but i might do it anyways
 
Old 03-08-2003, 10:44 PM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,870

Rep: Reputation: 87
No boot floppy?
Perhaps you can boot with the Slack install CD and check for rescue options?
I am not where I can try mine out to check.
 
Old 03-09-2003, 12:11 AM   #5
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
no there isnt a rescue option on teh slack cd that i can find, i got impatient and just did the messy stuff with partitioning my hdd to give me 500 mb of ext2 and installed it again there to get a bootloader back so its all good now thanks a lot though
 
Old 03-09-2003, 12:57 AM   #6
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 48
To do it right, you need to do something like the following:

Boot using the install CD (there's no rescue option, but you can
do it yourself).

log in as root
mount the root partition, save a copy of your existing lilo.conf
e.g.,
Code:
mount /dev/hda1 /mnt
cp /mnt/etc/lilo.conf /mnt/etc/lilo.conf.rescue
run liloconfig
Code:
/sbin/liloconfig
set up LILO. I always use expert mode and install on the MBR,
but you can probably get away with simple mode.
reboot.
copy your /etc/lilo.conf.rescue over your /etc/lilo.conf
rerun lilo.
 
Old 05-09-2003, 04:05 AM   #7
gowking
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Hello,

I have a similar question. I was loading RH8 tonight in a multi boot environment and when prompted for a boot loader/manager my choices were to use Grub, LILO or none. Stupidly thinking that I could sellect none because I was using Bootmagic left me with a Linux install that can only be booted from floppy. Is there a way to make the / partition bootable so that i can add it to Bootmagic? I think that what I want is LILO to be added into the / partition?

Thanks for any help

Regards,

Thomas
 
  


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
reinstall LILO . bruse Linux - Newbie 1 08-23-2005 12:42 PM
Want to reinstall lilo the_imax Linux - General 9 01-02-2005 06:04 AM
reinstall lilo nixel Slackware - Installation 6 05-04-2004 06:20 PM
lilo reinstall lakshman Linux - General 1 11-26-2002 10:10 PM
LILO Reinstall Stephanie Linux - General 2 08-23-2001 11:49 AM


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