LinuxQuestions.org
Visit Jeremy's Blog.
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, 07: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, 07:48 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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, 07:49 AM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,983

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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, 07: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, 08:08 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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, 09: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, 05:20 PM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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 11:42 AM
Want to reinstall lilo the_imax Linux - General 9 01-02-2005 05:04 AM
reinstall lilo watashiwaotaku7 Linux - Software 6 05-09-2003 03:05 AM
lilo reinstall lakshman Linux - General 1 11-26-2002 09:10 PM
LILO Reinstall Stephanie Linux - General 2 08-23-2001 10:49 AM

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

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