Boot your PC with a DOS/Win bootdisk and then, from the command prompt,
say

    fdisk /mbr

Hopefully this will restore your master boot record (because that's what
you overwrote) and let you boot Windows.

- Manas Laha

Sharninder wrote:
> 
> hi everyone,
> i installed debian/winXP on a machine and later wanted to remove debian
> from it. i removed the partition but lilo was still there. now 'smart me'
> decided to remove lilo *the geek way* .. by using dd to copy boot record
> from /dev/hda1 (WinXP) to /dev/hda (first sector of drive ??) and somehow
> decided on giving this command ...
> dd if=/dev/hda1 of=/dev/hda bs=512 count=1 .. i know this is wrong
> because when i rebooted i could'nt load windows or lilo either... and then
> when i used to debian boot CD ... and did a fdisk /dev/hda -> pto list the 
>partitions ... it gave me all crap... i guess i just fried up
> the partition table on the machine ...

<snip>

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to