LinuxQuestions.org Member Success StoriesJust spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hey, every one
last i was installed backtrack final 3 and then my brother install windows then the lilo boot loader disappeared !!
please , any one tell me how can i fix this problem
Windows install may reset the bootable partition and mbr. Make sure your MBR is clean (from linux boot cd: dd if=/dev/zero of=/dev/hda1 bs=446 count=1) and use a partition manager to reset your boot partition to your lilo/grub partition.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
Quote:
Originally Posted by laitcg
Windows install may reset the bootable partition and mbr. Make sure your MBR is clean (from linux boot cd: dd if=/dev/zero of=/dev/hda1 bs=446 count=1) and use a partition manager to reset your boot partition to your lilo/grub partition.
that would just zero out the boot record of the first partition, not the MBR. hda1. the master boot record would be at the beginning of hda. I think doing this will just make things worse. If hda1 is a linux partition, you could mess up something there. If it's a windows partition, you could mess up something there.
You should be able to boot from a rescue cd and reinstall lilo from there.
when i installed fedora before i fixed the grub boot loader by using the grub shell in ubuntu live cd
can't i fix the lilo one by using the backtrack live cd ?? because i havn't the rescue one
if can then how i can do that !!??
Sure you can rebuild your boot from the live CD.
The method I use is: mount your regular root disk and chroot to it.
Mount /proc.
You may need to create a device node for you HDD using mknod (I never do, but my system is old). E.g. if your lilo.conf references /dev/hda and there is no such file, do:
cd /dev
mknod hda b 3 0
Now you should be able to run lilo without changing lilo.conf. You may get a warning about a mismatch between (I forget what) but if it's jus a warning then no need to worry.
If you had a separate /boot, you'll need to mount it (*after* doing chroot). You may need to make the device node for that disk as well - check in another window (not chroot'd) what the numbers are for that device (use ls -l)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.