?
Solved

Lilo installation

Posted on 1997-02-23
1
Medium Priority
?
228 Views
Last Modified: 2013-12-15
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 ??
0
Comment
Question by:iomega
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
dux earned 100 total points
ID: 1626801
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

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month9 days, 1 hour left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question