Computing.Net > Forums > Linux > Lilo Problems

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Lilo Problems

Reply to Message Icon

Name: Khipset
Date: January 4, 2004 at 20:54:50 Pacific
OS: Mandrake 9.2 krnl 2.4.22
CPU/Ram: AMD-AthlonXP-2600/1Gig PC
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: estatik
Date: January 5, 2004 at 00:35:20 Pacific
Reply:

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.



0

Response Number 2
Name: Khipset
Date: January 5, 2004 at 08:25:42 Pacific
Reply:

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.


0

Response Number 3
Name: Khipset
Date: January 5, 2004 at 08:32:58 Pacific
Reply:

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 :'(


0

Response Number 4
Name: unixhead
Date: January 5, 2004 at 16:19:10 Pacific
Reply:

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.


0

Response Number 5
Name: Khipset
Date: January 5, 2004 at 18:14:13 Pacific
Reply:

*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.


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: January 8, 2004 at 05:08:57 Pacific
Reply:

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)


0

Sponsored Link
Ads by Google
Reply to Message Icon

XMMS problems logon oroblem



Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Lilo Problems

Suse 7.3 LILO problems www.computing.net/answers/linux/suse-73-lilo-problems/7185.html

LILO Problem www.computing.net/answers/linux/lilo-problem/16306.html

LILO problem www.computing.net/answers/linux/lilo-problem/20657.html