LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-24-2004, 08:37 PM   #1
DOA
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 14

Rep: Reputation: 0
Restoring LILO


I had my system set up with a dual-boot between WinXP and SuSE 9.2 with LILO as the boot loader. After some problems with windows I re-installed it and now it overwrote my MBR. My system just boots into windows without going to the LILO boot menu. How can I get LILO back?
 
Old 12-24-2004, 10:13 PM   #2
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
Suse should have a repair option on it's install cd but if it doesn't you can just do it with a live cd. Boot the live cd, mount the harddrive, chroot into the mounted parition and run lilo.
 
Old 12-25-2004, 04:31 PM   #3
DOA
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
How and where do I mount my linux partition to? I understand the steps that you listed but can you provide the commands I need to issue?
 
Old 12-26-2004, 09:04 PM   #4
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
su -
mount -o dev /dev/hd(x) /mnt/hd
chroot /mnt/hd
lilo -v
 
  


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
Removing Lilo, restoring to windows boot loader seeker131 Linux - Newbie 7 03-01-2005 05:26 PM
Restoring /boot, lilo problems. Duo Slackware 5 02-07-2005 11:16 AM
help. . .restoring win2k mark001 Linux - Newbie 7 11-23-2004 07:07 PM
Restoring LILO Lai Linux - Newbie 3 05-26-2003 12:35 PM
restoring tty0 rock_sg Linux - General 1 05-04-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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