Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-17-2008, 04:43 PM   #1
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
How to reinstall lilo?

My xp partition is messed up and I wanted to reinstall.

During the reinstall my mbr will get overwritten.

To reinstall lilo do I just have to run a live cd.
chroot /dev/hdc5 (my slackware partition)
Is that all there is to rewriting lilo over the windows mbr?
I wanted to confirm before actually making the attempt.

Last edited by okos; 05-17-2008 at 04:46 PM.
Old 05-17-2008, 04:59 PM   #2
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,349

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
You have to chroot to a directory:

mkdir  /sparrow
mount  -t ext3 /dev/hdc5 /sparrow (assuming / is ext3)
chroot  /sparrow
Steve Stites
Old 05-17-2008, 10:24 PM   #3
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Thanks jailbait,

Yes I tried chroot /dev/hdc5
and it obviously did not work.
I had to use chroot /mnt/hdc5



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 nixel Slackware - Installation 6 05-04-2004 05:20 PM
reinstall lilo watashiwaotaku7 Linux - Software 6 05-09-2003 03:05 AM
lilo reinstall lakshman Linux - General 1 11-26-2002 09:10 PM
How do I reinstall LILO? DaDdY SnEb Linux - General 2 08-12-2002 05:18 AM
reinstall LILO? bobbinbrisco Linux - Software 4 08-01-2001 05:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 PM.

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