Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2005, 09:05 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
2000 took over MBR

I had mandrake 10 and then afterwared i install win2000. no lilo doesnt load and i cant enter Linux. I dont have the mandrake cds. is there anyway to enter linux and restore Lilo to dual boot both OS.
Old 02-21-2005, 09:27 AM   #2
LQ Newbie
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0

go to this site:

download the "grub.img" and "rawrite.exe"

make a grub floppy disk.

reboot the PC with grub floppy in the drive (in BIOS boot sequence, the floppy should be first)

once in grub, type

root (hdx,y)

where x is the disk where is your linux /boot (x=0 is hda, x=1 is hdb ...) and y is the partition (counting from 0, then hd0,0 is the /dev/hda1)

then you can access your kernels. try to type:

kernel /vmlinuz ro root=/dev/hdjk

where jk is your / partition (like hda2 or whatever). NOTE if the /boot partition is the same as / partition you should use

kernel /boot/vmlinuz ro root=/dev/hdjk

then try to type

initrd /initrd.img

(or initrd /boot/initrd.img if you have /boot and / on the same partition)

if you do not get errors like "file not found", type


and your linux should boot (with some errors, but able to reinstall /sbin/lilo)

If you have problems, you must study the grub commands in more detail (or tell us the partitions of you disk and the parameters used by lilo to boot your kernel). To check the exact configuration used by lilo, you can cat the /etc/lilo.conf in the grub shell. Just use:

cat (hdz,g)/etc/lilo.conf

where z is the disk and g is the partition (both in the grub syte) of you / partition

beware when you reinstall lilo: you might lose windows XP! check lilo.conf carefully.

Bye, Marco.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
BASH 2000 (windoze 2000 that is), or how i fell in love with the atomic bomb soylentgreen General 2 03-14-2005 11:23 PM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
why won't my mbr fdisk /mbr? jamessp007 Mandriva 13 01-03-2004 01:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration