Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
i rebooted my desktop computer last night after attempting to install windows XP on another partition, xp made me restart and now the drive stops my machine from getting past POST, when i unplug the drive i can boot into a live CD, but if i try to hotplug the drive i get nothing, can someone please tell me how to recover the MBR of this disk so that i can use it again?
You could change the boot order in the BIOS to the cd 1st then use the LiveCD to restore your bootloader. It seems that XP overwrote the bootloader. Hopefully you didn't format the whole drive.
BTW, M$ is notorious for this. You should install you M$ product first then your Linux. Backup all the systems so you can restore when problems of this type occur.
i know this, but the cd is the first boot device, POST fails, it doesn't get as far as a boot loader, when the HDD is plugged in i cant actually access the BIOS to change anything
I assume the drive is a external USB or just a SATA on the buss.
Remove the drive. Then boot the 'LiveCD' and plug the hdd back after you have the system up. Check your logs to see if you have any errors or relevant information.
dmesg output does not change when i plug the drive in, the computer does not pick it up, just to clarify, this is an INTERNAL SATA 160GB HDD it is the only drive in the machine other than optical
How do you have the hdd configured in the BIOS? Do you see it while in the BIOS? Just curious as to how you have things configured in the BIOS? How do you have your drive configured in the BIOS with type and what about AHCI? Tried Legacy?
I thought your statement about the POST was that the system was failing. So the machine just doesn't detect it.
Which Livecd? What about passing parameters to the kernel at boot?
the machine detects it at post and hangs, it's an ubuntu 9.04 live cd, the drive is configured to S-ATA/P-ATA mode so that the bios prefers sata over pata, other options are PATA and SATA, i can only boot the machine past post if the drive is disconnected or sata mode is disabled
I would try to burn a copy of PartedMagic 4.4 to see if it boots with the HDD present. PM 4.4 has Super Grub Disk for repair as a boot option . You might also try the latest SystemRescueCD.
If not...
I would also look to the interplay of the BIOS settings and how you have configured the HDD. As onebuck intimates, you can use the BIOS alternatives IDE/SATA/AHCI and the set-up configuration of the HDD to try to get the BIOS to co-operate with a live-cd to find the HDD. It is not supposed to disappear.
An advantage of using PartedMagic or SystemRescue is that, while playing with the BIOS and the HDD jumpers, you can use cheat codes to give yourself added variations, if that helps.
If I couldn't get either PM or SystemR to boot, I would try to set the BIOS to Fail-Safe Defaults and try again, changing the HDD to follow BIOS setting given under Fail-Safe.
I would be useful if you followed the querying admonition of the wise onebuck and supplied much more detailed information.
Last edited by thorkelljarl; 08-17-2009 at 10:12 AM.
Depending on the motherboard chipset, you may have a motherboard that is sataI and a drive that is sataII. Most of the sataII drives have a jumper to set the drive to sataI. I have seen several Seagate drives behave similarly.
If you want more advice on your problem, you need to tell us what are your equipment specifications and settings, what you tried, and what the result were.
If you are not more perseverant, neither you nor we will make much progress. onebuck had many useful suggestion for ways forward; try some.
In practice, I would pull the HDD so I could get into Setup and start to experiment with the BIOS, reinstalling the HDD to see if it is recognized by a live-cd. The HDD was recognized before, it should be again. However, there are several variables. Why it isn't is a bit of a mystery. There is no standard answer.
Last edited by thorkelljarl; 08-17-2009 at 10:49 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.