[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

Old operating system?

I tried to install DOS 6.22 to a computer that had another OS (perhaps Unix or Linux or something like this). Idid format the hard disk from o bootable floppy, installed DOS to HD but when I boot I had the message:
LILO Loading Lx... and the system halted. I tried again using the FDISK command (I mean I did delete the primary partition, create a new, reformat HD) but still the same message. What seems to be the problem?
0
zozefina
Asked:
zozefina
1 Solution
 
TimCaturaHouserCommented:
Try this:  from the floppy, use FDISK /MBR
0
 
swwelshCommented:
TimCaturaHouser has it right. Lilo is a boot loader for linux. It is installed in your master boot record. Fdisk /mbr rebuilds the mbr and removes lilo. You should be set to go after this.
0
 
richrussellCommented:
As above, but just to close the question here's a little more info on LILO:

LILO stands for LInux LOader. It sits in the Master Boot Record (MBR) of the hard disk, outside of the partitioned area (this is why deleting partitions doesn't affect it). It calls the main part of it's code from this loader, by jumping to the appropriate sector on the drive. If you've formatted the drive, this will have gone. It indicates this error by stopping at LI.

So in order to remove it from the MBR, you need to write a DOS (95 and NT use the same MBR as DOS) MBR to the drive. This is done with FDISK /MBR, an undocumented option of FDISK.

So, boot off a DOS floppy, do FDISK /MBR, reboot, partition the drive with FDISK, reboot and install DOS.
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now