Lilo installation

I am a Linux-beginner. After formatting my harddisk,
the Lilo in MBR(Master Boot Record) disappear.
How can I reinstall it in MBR again ??
iomegaAsked:
Who is Participating?
 
duxConnect With a Mentor Commented:
If you still have the Linux partition, boot with boot disk, and type at the "boot:" prompt:
mount root=/dev/hda1
if you have root partition on first partition, or
mount root=/dev/hda2
if you have root partition on second partition, and so on (hdb1, hdb2, ... if you have diferent phisical disks).
After booting, login as root and type "lilo" command. This reinstall your LILO.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.