LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Restoring LILO (https://www.linuxquestions.org/questions/suse-opensuse-60/restoring-lilo-270064/)

DOA 12-24-2004 08:37 PM

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?

zaicheke 12-24-2004 10:13 PM

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.

DOA 12-25-2004 04:31 PM

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?

zaicheke 12-26-2004 09:04 PM

su -
mount -o dev /dev/hd(x) /mnt/hd
chroot /mnt/hd
lilo -v


All times are GMT -5. The time now is 10:35 AM.