LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 05:43 PM   #1
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
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 05:46 PM.
 
Old 05-17-2008, 05:59 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
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, 11:24 PM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 37
Thanks jailbait,

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

Thanks
 
  


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


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