Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-09-2005, 09:14 PM   #1
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 48

Rep: Reputation: 15
Reinstalling LILO?

I just had to reinstall Windows, and my Linux partition is still there. Can I put LILO back on so I can get back into my slackware install?

If so, how?
Old 11-10-2005, 12:25 AM   #2
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 578

Rep: Reputation: 38
In which case, I'm guessing that you had lilo in the MBR, and it was already configured to choose between WinBlows and Linux.

So, you'll need to boot a Linux system from somewhere. Maybe the Slack CD, or Knoppix. Then mount your original Slack partition somewhere. Then its: lilo -r <mount point>

Old 11-10-2005, 12:53 AM   #3
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
i used slax live cd and booted into machine
so the slax wil mount your harddisk partition in /mnt/diskpartX
you could check it then do
chroot /mnt/diskpartX
then run lilo #/sbin/lilo
(lilo will check what is written in lilo.conf)

u could use slackware cd itself to boot into computer at the boot prompt ie,
bare.i root=/dev/hdaX noinitrd ro (where X is ur hard disk partition no)

i think running lilo wil do the job
Old 11-10-2005, 04:55 PM   #4
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 48

Original Poster
Rep: Reputation: 15
Alright, I will give it a try. Thanks.
Old 11-11-2005, 02:22 AM   #5
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
I have done this occasionally, but I have merely used the Slackware CD to boot into the existing Slackware system and do a 'liloconfig'. That requires less work.
Old 11-11-2005, 02:35 PM   #6
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Rep: Reputation: 15
This has worked for me ...
insert Slackware disk 1 and follow the commands:

mkdir /mnt/slackware
mount /dev/hdd2(or whatever you use) /mnt/slackware
chroot /mnt/slackware
source /etc/profile

Essentially you are copying the lilo file from the CD avoiding a re-install.

Good luck


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
Problem reinstalling lilo thebored Linux - Software 4 04-19-2005 01:30 AM
reinstalling lilo bootloader free kevin Linux - Newbie 5 08-02-2004 03:14 PM
reinstalling lilo deft Linux - Software 8 04-08-2004 10:03 AM
reinstalling lilo in gentoo? bigjohn Linux - Newbie 11 02-18-2004 06:46 PM
LILO reinstalling help Andrew Hruska Slackware 3 01-05-2004 08:53 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration