LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-04-2004, 08:30 AM   #1
nixel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Slackware 9.1
Posts: 71

Rep: Reputation: 15
reinstall lilo


well. i screwed up the re-installation of slackware 9.1 and i need to reinstall lilo. but when i load the cd and go to "configure" the damn thing just wont go! any suggestions?

edit: i didnt create a bootdisk/rescue disk...whatever its called =\
 
Old 05-04-2004, 08:48 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The Slackware CD can be used as a rescue disk, just type "linux root=/dev/your-root-partition" at the boot prompt (where you would type bare.i if you were installing), and when you say "reinstall lilo" do you mean reinstall the lilo package or reinstall lilo to the MBR?
 
Old 05-04-2004, 08:49 AM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,575

Rep: Reputation: 220Reputation: 220Reputation: 220
If you have a knoppix cd, you can boot into knoppix from the cd and run lilo from a chroot enviroment by opening a console and running:

$ su
<hit "Enter" key>
# umount /mnt/hdxx
# mount /dev/hdxx /mnt/hdxx
# chroot /mnt/hdxx
# lilo -v

where "xx" corresponds to the location of your slack root partition.
 
Old 05-04-2004, 08:49 AM   #4
nixel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Slackware 9.1
Posts: 71

Original Poster
Rep: Reputation: 15
thanks for the reply. what does "linux root=/dev/your-root-partition" do? just want to know what im doing while im doing it. and when i say reinstall lilo i mean reinstall it to the MBR.

kilgoretrout: i dont have knoppix, but thanks anyways.
 
Old 05-04-2004, 09:08 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
It boots your slackware install, replace /dev/your-root-partition with the location of your root partition, for mine it would be /dev/hde2, the second partition on my first sata drive.
Primary Master = /dev/hda
Primary Slave = /dev/hdb
Secondary Master = /dev/hdc
Secondary Slave = /dev/hdd
To reinstall lilo to the MBR just login as root, open your lilo.conf in mcedit with "mcedit /etc/lilo.conf", check to see that it's all correct, save with <F2> and then run lilo, you can use the -t option to test first without writing to the MBR, "lilo -t".
 
Old 05-04-2004, 10:01 AM   #6
nixel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Slackware 9.1
Posts: 71

Original Poster
Rep: Reputation: 15
thanks aussie got it.
 
Old 05-04-2004, 06:20 PM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Glad I could help :-)
 
  


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 watashiwaotaku7 Linux - Software 6 05-09-2003 04:05 AM
lilo reinstall lakshman Linux - General 1 11-26-2002 10:10 PM
LILO Reinstall Stephanie Linux - General 2 08-23-2001 11:49 AM

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

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