Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I installed Winxp once upon a time then installed Mandrake9.2 and used Lilo to dual boot between the two, then I had a bit of an accident on XP and had to reinstall it. When XP reinstalled it replaced Lilo with its bootloader.
I tried to fix the problem by booting Slackware LiveCD and doing chroot to my drive and then running /sbin/lilo, but I did that many times, and even a couple times trying to do it by just specifcing what drive from LiveCD's own Lilo, out of the like 10times I tried, Windows kept coming back... lol
Any Idears?

Don't know about XP, but if you can get a hold of a 98/Me bootdisk, boot up with it and at the prompt type, [i]fdisk /mbr[/i]. AFAIK, XP has a feature to rewrite your mbr on the install CDs. I'm sure someone else will elaborate on this.
Why are you using Slak-Live to reinstall lilo? After you rewrite the mbr with windoze, use your Mandrake CD1, boot it up, and on once in the welcome/install screen, hit F1 and type [i]rescue[/i] and a list will appear, one of them will be to reinstall lilo.

Yeah, if you boot from the XP cd, choose recovery, it'll drop you down to the recovery console, then you can do fixboot and fixmbr.

ok, I just did the fdisk command again, and I even tried the rescue thing (didn't know about that before, thanks) but Windows still won :'(

Did you create a bootdisk in Mandrake? If not, you can use Linux Rescue from your bootable Mandrake cd, and mount your Mandrake partition. From there, you can re-write lilo to the mbr.
If you can do that, but still have a problem, you can mount the partition again, wipe out the mbr:
# dd if=/dev/zero of=/dev/hda bs=512 count=1
and then re-write lilo to it -- if wiping out
your master boot record doesn't freak you out.I'll bet windoze does not win that war.
Personally, I prefer GRUB. You can boot to your OS even if you do not have an MBR.

*grins*
Yes I agree, grub is better, but I'm old fashioned. This is my first time trying mdk9.2 so I always go with what I know (normally) works(and it did til I reinstalled XP). Also, I didn't see Grub in the lists, but I know it was there, always in with *nix, just have to do some searching. Kinda like RTFM...Aight, I'm off to try wiping the mbr. Thanks, will tell ya if it works or not.

chrooting and rerunning lilo should have worked. Make sure that you are writing it to your MBR, check in /etc/lilo.conf for the line:
boot = /dev/hda
(NB I'm guesing that hda holds your MBR)

![]() |
XMMS problems
|
logon oroblem
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |