Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have a Mandrake 9.0 and a Windows 98 SE on my machine. Yesterday, I tried to reinstall my Linux. While installing LILO I made a mistake and removed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Location
    Tehran - Iran
    Posts
    3

    Restore a Windows' entry on a dual-boot machine


    Hi,

    I have a Mandrake 9.0 and a Windows 98 SE on my machine. Yesterday, I tried to reinstall my Linux. While installing LILO I made a mistake and removed the entry for my Windows from LILO boot menu. Now, choosing Windows from the boot menu, results in the following lines:

    Loading Windows...
    01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01

    After a few lines of 01s it stops and nothing more.

    Using rescue option and reinstalling LILO did not help. Is there any way to recover the Windows which I have on my machine, but cannot load it (For example, using another boot loader or something like that)?

    Shahram

  2. #2
    Linux Enthusiast Opnosforatou's Avatar
    Join Date
    Dec 2003
    Location
    Vleuten, The Netherlands
    Posts
    552
    Use a Win98 Bootdisk and type : fdisk /mbr at the dos prompt.
    This will restore the original MBR from M$.
    Then you use a linux emergency disk to boot up you linux and reinstall lilo, or better: Grub on the MBR.

    Or

    Do you know the original lines from your lilo.conf?
    The line :
    other = /dev/hda1
    label = Windows

    should work, IF /dev/hda1 is you windows partition.
    To check, bootup linux, login as root ; fdisk /dev/hdX, where X is the drive with windows on it... In case of 1 disk it's : /dev/hda
    use : p
    to display partition information, Could be that /dev/hda1 is you windows (vfat or fat32) partition.
    type : q to quit the program, make adjustments to the lilo config as needed,
    Rewrite lilo by calling: lillo
    and then reboot.

    ---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
    Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •