PDA

View Full Version : [SOLVED] Hard Drive Not being recognized/seen during installation



residualbit
January 14th, 2011, 05:49 AM
Hey all,

I've been a Ubuntu user since Warty and have recently run into a problem that has thrown me for a loop.

I have a fairly new Desktop, an HP 210y, that I would like to install Ubuntu on. I have tried everything I can think of and the issues I will describe below happen with 10.04 and 10.10.

Essentially, it seems like Ubuntu isn't seeing my hard drive during the install process. I started this endeavor having a full install of Windows 7 64 bit. After putting in the live cd, whether i tried to install or just boot, i would end up getting the "(initramfs) Unable to find a medium containing a live file system" error from BusyBox. I then opted for a USB/Thumbdrive install attempt. This got me a little farther in that I was able to boot into a live session. Beyond that, when I tried to install, I would get to the part where the partition selection would be. I have always seen an option to 'Erase and use entire disk' with previous attempts on other PCs, but this took me to what I think is the manual partition editor, which was completely empty. When I tried to continue with the install, i got a 'no root filesystem is defined' error. In a last ditch effort, I used gparted to wipe out all existing (windows 7) partitions and I now have 1TB of unallocated space. Still no go. I'm sort of lost at this point. In the live session, i can see the hard drive fine, gparted sees it, can make changes to it, etc, but I can't install Ubuntu. I am running off the live usb now. Help!

-Nate

residualbit
January 14th, 2011, 06:01 AM
I have linked a screen shot showing that a) gparted can see my 1tb drive's unallocated space, and b) step 4 in the install sees absolutely nothing. I am currently using 10.04 64bit from a live USB.

http://img217.imageshack.us/img217/2870/screenshottv.png

nuclearwasted
January 14th, 2011, 06:37 AM
Try tinkering in the bios.

Quackers
January 14th, 2011, 09:03 AM
How many primary partitions were on the drive?

Rubi1200
January 14th, 2011, 10:33 AM
Few things to look at:

1. check that BIOS is capable of seeing the drive; a lot of older BIOS can only see the first 137GB

2. read this: http://www.rodsbooks.com/missing-parts/index.html

3. check there is no RAID metadata on the drive: http://www.uluga.ubuntuforums.org/showpost.php?p=9447593&postcount=3

4. also look here: http://ubuntuforums.org/showpost.php?p=9464066&postcount=3

Hydrosis
January 14th, 2011, 01:44 PM
You need to format it to a file system type. Unallocated means unallocated!


http://gparted.sourceforge.net/screens/gparted_7_big.png

SqRt7744
January 14th, 2011, 01:45 PM
I had a similar problem until I did the following:

Downloaded the *alternate* install cd & created a usb stick with the "Startup Disk Creator" tool (System->administration->Startup Disk Creator). Don't use unetbootin, it won't work. When you get to the partition setup step you should be able to see everything properly. If this doesn't work for you, post back.

residualbit
January 14th, 2011, 02:10 PM
Apparently there was RAID meta data. I ran this
sudo dmraid -r -E /dev/sda and removed it. I will try to reboot and let you know. One question though, I have linked a screen from my bios. In the advanced settings, the only thing that jumped out at me was the sata controller mode. It was set to RAID, but gives the option for IDE or AHCI as well. Should I change it?

http://img715.imageshack.us/i/img20110114010435.jpg/

Rubi1200
January 14th, 2011, 02:18 PM
Yes, you need to change it to IDE mode.

Was the drive part of a RAID array previously?
No matter, we have seen this before and removing the metadata usually clears up any issues.

residualbit
January 14th, 2011, 02:22 PM
Removing the meta data got seems to get me to where i need to be in the install in that the drive is being seen and I have the ability to erase and use entire disk. I'll reboot one more time and change the controller mode to IDE. It was never setup with RAID. It's a prebuilt HP desktop that was purchased from Best Buy, so I have no idea why it would have had those setting be default...weird. Thanks for all the help!

Rubi1200
January 14th, 2011, 02:25 PM
Let me know what happens and if changing to IDE is also okay.

Regarding the metadata; what can I say? It is odd, I agree.

residualbit
January 14th, 2011, 02:27 PM
Pardon my ignorance, but I will admit that I am not too familiar with advanced motherboard and bios options/configurations. Is there any downside to having it set in IDE vs. RAID vs. AHCI?

cascade9
January 14th, 2011, 02:39 PM
Yes, there is. IDE mode disables NCQ (native command queing) so there is a performance hit. AHCI is the way to go.

Rubi1200
January 14th, 2011, 02:47 PM
Yes, there is. IDE mode disables NCQ (native command queing) so there is a performance hit. AHCI is the way to go.
Thanks for the clarification; it's appreciated.

cascade9
January 14th, 2011, 03:00 PM
I did a little digging, it seems that system uses a foxconn H-RS880-uATX motherboard. I cant find detailed specs, the best I could find was here-

http://h10025.www1.hp.com/ewfrf/wc/document?lc=en&dlc=en&cc=us&lang=en&docname=c01925486&product=4007354#N299

It doesnt specify which southbridge they used, but since its a AMD 785G chipset it should be using the SB600, SB700, SB710 or SB750 southbridge. I havent tried using the SB700 or SB750 southbridge, but I have used the SB 600 and I'm currently on SB710. Both worked fine with AHCI, I'd think that your setup should as well.

If it doesnt and you can only use IDE, its not a huge difference between IDE and AHCI. Its bigger than the benchmarking/testing on the net could lead you to believe (as NCQ is most useful when under heavy read/write loads, and that isnt a situation that most benchmarks use), but its not worth getting overly worried about.


Thanks for the clarification; it's appreciated.

No problem ;)

residualbit
January 14th, 2011, 07:08 PM
Hey Guys,

The install went well, but I did run into one minor issue on reboot (and every boot.) See linked image:

http://img703.imageshack.us/i/img20110114090757.jpg/

If it type exit at the initramfs prompt, it boots right into Ubuntu with no problems almost immediately. Weird. I haven't really had any time to tinker with it as I had to go to work, but if anyone has seen this or has any ideas, let me know and I will give them a try when I get home.

Thanks.

Rubi1200
January 14th, 2011, 07:43 PM
What graphics card do you have installed?

residualbit
January 14th, 2011, 08:01 PM
It's an ATI 5450, but now that I think about it, there was a restricted driver available. When I get home, I'll install that and any updates. After that, I'll let you know if there are still any lingering issues.

Rubi1200
January 14th, 2011, 08:17 PM
Sounds like a good plan; let me know how it goes.

residualbit
January 15th, 2011, 02:49 AM
no luck. I am still having the same thing (see my image link above) after installing all updates and restricted drivers. I actually had to type exit at the initramfs prompt about 10 times to get it to move along.

residualbit
January 15th, 2011, 05:13 AM
I've done a little digging. On a side note, it appears that part of my initial troubles with installing from a cd are because my disk drive isn't supported by ubuntu yet.

Anyway, as far as the boot issue after install, it looks like this may be due to me installing from a flash drive. I noticed that when I was booting, I wasn't seeing anything about grub. On a whim, I stuck the thumb drive back in and tried to boot as normal. Grub popped up as I am used to, i picked the first option (forget what it was) and that eventually got me to the same 'gave up waiting for root device' error pictured a few posts up. Baby steps.

It seems to me that installing from the flash drive possibly didn't actually copy over all necessary boot files?

residualbit
January 15th, 2011, 06:06 AM
The initial, title problem has been solved. I have created a new thread for the new issue(s):

http://ubuntuforums.org/showthread.php?p=10359327#post10359327

Thanks for all of your help!