LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-09-2005, 09:14 PM   #1
moosegoose
Member
 
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
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 572

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>

Cheers,
Eddie
 
Old 11-10-2005, 12:53 AM   #3
rkrishna
Member
 
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,
boot:
bare.i root=/dev/hdaX noinitrd ro (where X is ur hard disk partition no)

i think running lilo wil do the job
#/sbin/lilo
 
Old 11-10-2005, 04:55 PM   #4
moosegoose
Member
 
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
mjjzf
Member
 
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
Thanotos
Member
 
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:

code:
mkdir /mnt/slackware
mount /dev/hdd2(or whatever you use) /mnt/slackware
chroot /mnt/slackware
source /etc/profile
/sbin/lilo
init6

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

Good luck
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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