LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-14-2004, 01:45 PM   #1
elean
LQ Newbie
 
Registered: Jun 2004
Location: netherlands
Distribution: mandrake
Posts: 2

Rep: Reputation: 0
How can i restore lilo after re-installing windows?


Hi,

I had to re-install windows XP on my computer. I did this while my crappy old windows (XP) was still up (and not running) on the other hard-disk.
Now, windows has installed its own boot-loader which asks me to boot Windows XP or the other Windows XP (which is by the way deleted since).
But... NO LILO and no possibility to get back to my good old Mandrake Linux!!

If someone knows an answer to my first questions ever on this forum I would be very grateful.

1. how can I restore Lilo again
2. how do get Lilo (re-)configured
3. how do I get rid of this rudimentary Windows-XP boot-loader

Thank you.
 
Old 06-14-2004, 02:31 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
You need to boot your system to your Linux installation, then invoke "lilo", which will
rebuild your boot sector.

The hard part is probably the booting to your Linux installation. If you created a
bootable rescue floppy after your installation, then you can boot using it.

If you did not create a boot floppy, then you are going to need to boot using one of the
"rescue" Linux CD distributions, such as Bootable Business Card (http://www.lnx-bbc.org/)

Once you have booted, you need to mount your HDD partitions under some mount
point, arranged as if you had booted normally. Then cd to the mount point for your
/ partition and invoke "chroot". If you did everything successfully to this point, you can
invoke "lilo", which will rebuild your boot sector.
 
Old 06-14-2004, 02:41 PM   #3
elean
LQ Newbie
 
Registered: Jun 2004
Location: netherlands
Distribution: mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your answer. In the end the only thing I really had to do is type rescue after booting from the Mandrake distro Cd and choose restore Lilo. And everything was back to normal (except that when I choose windows (which I intend not to do much) the 'windows boot-loader' comes up again. But I should probably post that question on 'windowsquestions.org' or something.

Problem solved anyway.

Bye

 
Old 06-14-2004, 07:29 PM   #4
lapierrem
LQ Newbie
 
Registered: Jun 2004
Location: London ON Canada
Distribution: Mandrake, Fedora Core
Posts: 4

Rep: Reputation: 0
If you edit the boot.ini on your windows c drive, *linux content* from linux, as you can't edit it while windows is running, you can just take out the entry for the wrong windows installation.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove LILO and restore Windows Bootloader RobertRBuce Linux - Newbie 14 10-20-2009 05:08 AM
installing lilo while in windows makaveli0129 Linux - Distributions 10 07-14-2009 10:18 AM
Restore LILO merlin371 Slackware 6 07-14-2004 08:18 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
How do I restore LILO in the MBR? josedsilva Linux - Software 2 03-20-2003 12:51 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration