LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-17-2008, 04:43 PM   #1
okos
Member
 
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.
Code:
chroot /dev/hdc5 (my slackware partition)
lilo
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
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

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

Code:
mkdir  /sparrow
mount  -t ext3 /dev/hdc5 /sparrow (assuming / is ext3)
chroot  /sparrow
lilo
------------------
Steve Stites
 
Old 05-17-2008, 10:24 PM   #3
okos
Member
 
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

Thanks
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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