Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
... presumably part of the LILO prompt, and then the PC just locks up.
My rescure floppy is giving seek errors and won't boot :-(
The good news is, I can boot the original distribution CD in "rescue mode" and can get a shell up. I can then mount hda and it seems OK. Well, there's lots of files there, and I don't seem to get seek or data read errors.
The problem is, where do I go from here? I can't run lilo because it says there is no /dev/hda device. Also I can't run e2fsck (same reason ?)
How do I create a /dev/hda device ? and will that solve my problems ?
Ultimately what I want to know is, how to make this drive bootable again. Any advice in simple steps please.
If you're not too worried about re-installing your Linux distro (either you want to get rid of it, or you have no data that is vital and needs to be kept) then try and boot from a Windows Boot Floppy (preferably the same version of Win on the floppy as you're dual booting with (are you dual booting?), i.e. if you're using Win98, don't boot from a Win95 bootdisk) and type fdisk /mbr. This should restore your MBR back to the previous version (which hopefully is the one that boots Windows and Windows only). After this, you can go about re-installing.
Obviously, this is the most basic repair. I'm in no way advocating that you should not try other methods first if you feel comfortable with them. There are plenty of other threads on this website about MBR problems. Here's a link to 'MBR' search. They're sorted into order of replies (largest first).
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617
Rep:
try posting your lilo.conf file (i know that might be a tad difficult)
if you can use your rescue disk to get at your lilo.conf an fix the problem then you need to do the following to get lilo to run.
as root go to /sbin and type
Code:
lilo -r /mnt/hda
replace /mnt/hda with whatever you named the place where you mounted your linux drive. this will tell lilo to pretend that the /mnt/hda folder is the root folder and all directory paths (in config files and in the program itself) will be referenced from here instead of the boot disk's virtual file system you are using at the moment.
you should see the normal lilo thing going
added dos *
added linux
etc.
HTH
Alex
P.S. if you can post your lilo.conf
P.P.S. try searching the forum, i think this has happened before
If you can boot into Windows, then you might want to try downloading this. It will allow you to view Linux partitions from within Windows. Do not under any circumstances use the current version of explore2fs to write to your ext2 partition as this is still under development.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.