Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hi, Ok I've searched in google, on this forum other forums I've read all I can find and even asked a few people. This I can't seem to fix.
I was running winXP everything was fine, then I decided to install MDK 9.2 During the installation it asked me where to write the bootloader to (LILO) I picked (MBR Master Boot Record) Which was my mistake I should have never had done that. So now I couldn't get into windows at all, I tried looking at the lilo conf everything was fine. I just couldn't get into windows. So after trying to reinstall lilo upgrading to 10, doing fdisk /mbr going into windows recovery console and doing fixmbr etc I even formated the entire drive used fdisk to fix it cleared everything and thought I will start from the bottom, when I did all this and tried to install XP again it gives me the errory "missing operating system" I tried everything and it always gives me that msg the only thing I can do is install Mandrake and when done that LILO gets written to the MBR and again I can't run windows. Someone please help.
it said command not found ...What I found most weird was that it said omx@localhost omx in which on my old MDK 10 before formatting and reinstalling it was named omx@omx hmm
Tried edding the conf file for lilo even tried grub
Originally posted by homey That would appear to be the famous lba bug with kernel 2.6.? .
Check around for a fix which you are comfy with such as this one.here
Homey: This can't be, MDK 9.2 ships with 2.4.22...
I think I know how to solve your problem, something similar happened to me a while back.
All I needed to do was a: 'fixboot' in the WinXP recovery console.
Explanation: Misconfigured Lilo may have used the beggining of the XP partition(boot sector), this'll put 'ntldr' and all needed conf files back.
In grub(which I used when I had the problem), faulty commands like "setup (hd0,0)" overwrites the bootsector.
Originally posted by untaka then I decided to install MDK 9.2
Didn't you say you installed mandrake 9.2?
Make informations clear, then we'll be able to help you as effectively as possible.
Edit: Oh I see:
Quote:
Originally posted by untaka So after trying to reinstall lilo upgrading to 10
Guess I didn't understand that part, please try to say things in a more comprehensible manner.
Also, try to make the text clearer by putting empty lines: ordering the text, text like yours are difficult to read
Thanks...
Well Everything I have tried including suggestions from this forum don't seem to be working.
Well last night I formated everything made that harddrive one partition.
Cleared MBR tried fdisk /mbr even went into XP recovery console and did map ..then bootfix and even fixmbr
I tried everything I could and everytime I started to install windows when the PC would boot up I get "Missing Operating System" when I place a boodisk in and boot from there I can't see that harddrive. although in FDISK I can as well as XP install.
For Mandrake I can install 9.2 and 10 with no problems I just load up the boot CD and install.
Its weird I just can't fiqure it out for some reason it won't notice my NTFS or FAT file systems on that specific harddrive and MBR won't read windows.
Although Linux works fine, all this has become a problem since LILO was written to the Master Boot Record.
Well since you have tried everything else with no success, there should be no harm in trying this method.
Remember at first when I asked you to use sfdisk to get the information? That's because the fix I found uses sfdisk and I don't know for sure if fdisk would take the exact same command.
If you noticed the part which I highlighted......16 heads well that most likely needs to be 255 heads.
Since you said the sfdisk command was not found on your system, maybe you could boot up with a live cd of some sort like system rescue or similar.
When booted up with something which will let you use sfdisk, run the command:
sfdisk -l /dev/hda
The top line of output is the part to look at. For example, my 80gig drive looks like this...
Disk /dev/hda: 9729 cylinders, 255 heads, 63 sectors/track
The fix which I saw on the web uses the command:
Code:
sfdisk --no-reread --force -H255 /dev/hda
After you do that, check your results with sfdisk -l /dev/hda
This is quite weird, 'sfdisk -l /dev/hda' gives me:
Code:
Disk /dev/hda: 155061 cylinders, 16 heads, 63 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 155061/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Yet, I can access WinXP with no problem.
My HD is also of 80gig.
Seems like someone is lucky!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.