Re: Cannot boot Windows after running lilo; "A disk read error occurred" "Press Ctrl+Alt+Del to restart"

From: Will Gittoes (AskMeForIt_at_NoSpam.org)
Date: 11/19/04


Date: Fri, 19 Nov 2004 16:59:40 +1300

David Jones wrote:
> Hi,
>
> My Mandrake 10.1 dual-boot (Windows XP/Mandrake) was working fine until
> I accidentally ran "lilo" (from Mandrake). The command completed
> without errors but now at the boot menu I can no longer boot into
> Microsoft Windows. It freezes with a black screen and plain text message:
>
> A disk read error occurred
> Press Ctrl+Alt+Del to restart
>
> .I can boot into Mandrake, no problem.
> From Mandrake I can mount and read the Windows (ntfs) partition, no
> problem.
> Here is my current /etc/lilo.conf:
> boot=/dev/hda
> map=/boot/map
> default="linux_kernel-2.6.3-15mdk"
> keytable=/boot/us.klt
> prompt
> nowarn
> timeout=100
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> image=/boot/vmlinuz
> label="linux"
> root=/dev/hda7
> initrd=/boot/initrd.img
> append="noapic devfs=mount splash=silent"
> vga=788
> read-only
> image=/boot/vmlinuz
> label="linux-nonfb"
> root=/dev/hda7
> initrd=/boot/initrd.img
> append="noapic devfs=mount splash=silent"
> read-only
> other=/dev/hda1
> label="microsoft_windows"
> table=/dev/hda

Try hda1

> map-drive=0x80
> to=0x81
> map-drive=0x81
> to=0x80
> image=/boot/vmlinuz
> label="failsafe"
> root=/dev/hda7
> initrd=/boot/initrd.img
> append="failsafe noapic splash=silent devfs=nomount"
> read-only
> image=/boot/vmlinuz-2.6.3-15mdk
> label="linux_kernel-2.6.3-15mdk"
> root=/dev/hda7
> initrd=/boot/initrd-2.6.3-15mdk.img
> append="noapic devfs=mount splash=silent"
> vga=788
> read-only
> image=/boot/vmlinuz-2.6.3-4mdk
> label="linux_kernel-2.6.3.4mdk"
> root=/dev/hda7
> initrd=/boot/initrd-2.6.3-4mdk.img
> append="noapic"
> read-only
> and unfortunately I have no copy of this before I ran lilo.
> Please somebody help!
>
> Regards,
> DJ

What is the output of fdisk -l (Note, that is a lowercase letter L, not
a 1, i or anything else). Needs to be run as root.

If things keep buggering up, make a windows boot disk on another
computer to see if you can boot windows at all.

Or, if you don't mind losing lilo and not being able to get into MDK
then put in the windows 2000/XP cd, get a DOS prompt and:
fixmbr

You'll have to "rescue" linux, by re-installing lilo, if you do that.



Relevant Pages

  • Re: Boot up problem... with a difference
    ... Safe mode boot is fine. ... Looked further into the last errors and noticed PXRD Driver. ... Event Type: Error ... Windows cannot unload your classes registry file - it is still in ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Slow booting xp home.
    ... What is a normal sort of boot time for an older machine? ... 30s to the windows screen? ... Installing and Registering Visual Studio Express Editions Smart Device ... Microsoft Robotics - Hardware Configuration and Troubleshooting Data ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Updating lilo win 2000 boot.ini SOLUTION
    ... turns out LILO resides in the bootsect and when I ... Make /hda2 the boot partition via cfdisk. ... Here is my Windows boot.ini: ...
    (comp.os.linux.setup)
  • Re: Cannot Boot Into any Option for Safe Mode
    ... NTLDR and NTDETECT.COM from the original XP CD maybe help? ... How To Create a Boot Disk for an NTFS or FAT Partition in Windows XP ... An upgrade will probably not fix anything where a clean install might. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Boot up problem... with a difference
    ... You should not be touching the Registry. ... What Windows XP CD do you have? ... Safe mode boot is fine. ... Event Type: Error ...
    (microsoft.public.windowsxp.help_and_support)