1

How can I restore Linux LILO boot loader after the installation of Windows 7 without using any external data storage (burning the CD or pendrive)?

Hennes
  • 65,804
  • 7
  • 115
  • 169
Mulligun81
  • 31
  • 3

1 Answers1

1

You can set up another server with a linux image and PXE (network) boot. Then after you have booted the Linux image from the network restore LILO in the normal way.

Alternatively you can install some virtualisation software (e.g. vmware-player or virtual box, just to name two free ones). Point it as your ISO file and the guest will see it as if it was a physical CD/DVD in a real drive. Configure tell the virtual PCs BIOS to boot from CD. This will get you into a new linux setup.

Usually you also tell it to use a file on the windows partition as a fake HDD, but in this case you want to tell the VM software to grant access to a physical disk. This will give you a Linux environment and access to the disk on which you want to restore LILO.

But as per Dr. Pings' comment:
Any method mounting and writing to disk images indeed requires no mistakes.

Hennes
  • 65,804
  • 7
  • 115
  • 169