Wednesday, July 28, 2010

Restore LInux LOader (LILO)

Posted by Syarif | Wednesday, July 28, 2010 | Category: |

Restore LInux LOader (LILO):



If your computer have more than one operation system and you install windows after you install linux OS, maybe you get problem with LILO. Lilo (Linux Loader) is bootloader for linux for several distro like Slackware. LILO and GRUB are required for boot linux OS and other operating system in your computer that have been detected.
Windows doesn’t have loader that can detect any OS in your computer. Windows bootloader just load windows OS and overwrite the other loader.
Now, how to make your LILO back?


I use slackware 13 with LILO configuration.
To get back your LILO conf just do list above:


1. first boot from the slackware 13 CD

2. root:~#: mount /dev/hda1 /mnt (or change hda1 with your partition name)

3.
root:~#: mount /dev/hda2 /mnt/boot (or change hda2 with your partition name)


4. root:~#: mount -t proc proc /mnt/proc

5.
root:~#: mount --bind /dev /mnt/dev

6.
root:~#: chroot /mnt

7.
root:~#: lilo -M /dev/hda (or change had with your partition type)


8.
root:~#: lilo


9.
root:~#: exit

10.
root:~#: reboot


Very easy, right? So, don’t be anxious to make a dual boot computer.


Source: linuxquestion, xubuntu.wordpress,

Currently have 0 comments:


Leave a Reply