PDA

View Full Version : [SOLVED] Ubuntu setup unable to find harddrive



aevare
December 7th, 2010, 10:02 PM
When I start the Live CD I can see my harddrive and access it.
But when I start the setup, it cant find the harddrive and I can not choose it.
Ive tryed more than one cd's and another distro (built on Ubuntu).

The hard drive works fine, Ive got Windows 7 already on it (help me change back to linux).
I know the computer works fine as I once used another computer to install ubuntu on the harddrive and then moved the harddrive to my computer.

Has anyone else had this problem?

pricetech
December 7th, 2010, 11:56 PM
May be an issue with the drive controller in Ubuntu. Check your BIOS and see if there are different modes for the drive and try them.

Might also look at a BIOS update, which could help.

Quackers
December 8th, 2010, 12:34 AM
Do you currently have a raid setup or has the hard drive ever been used in a raid array?
Have you recently resized or changed any Windows partitions?
How many primary partitions are already on the hard drive?

Old_Grey_Wolf
December 8th, 2010, 02:38 AM
Also, what version of Ubuntu are you trying to install? The installer for Ubuntu 10.10 is different from 10.04 and earlier versions.

aevare
December 11th, 2010, 04:10 PM
Do you currently have a raid setup or has the hard drive ever been used in a raid array?
Have you recently resized or changed any Windows partitions?
How many primary partitions are already on the hard drive?


Ive tried both 10.10 and older.
I did manage to setup arch linux and then ubuntu server 9.4 over it.
That isnt what I was looking for though..
Now when I do os-prober I get error.. isw: wrong # of devices in RAID set "some name" [1/2] on /dev/sda..
So Im guessing that meens this disk has been in a raid array.

Quackers
December 11th, 2010, 04:29 PM
Beware, if you are using a raid array (and don't know it) this command will destroy it and may lose your data/OS

In a terminal enter

sudo dmraid -rE /dev/sda

Is anything reported in the terminal screen?

sikander3786
December 11th, 2010, 05:58 PM
Try switching your HDD mode from Bios menu. Switch the HDD mode to 'ahci' or 'compatible' instead of 'IDE' or 'Raid' and try installation again.

Added: Before switching the HDD mode from Bios, it'd be better to post the output of this command from Applications > Accessories > Terminal.


sudo fdisk -l

aevare
December 11th, 2010, 06:54 PM
Beware, if you are using a raid array (and don't know it) this command will destroy it and may lose your data/OS

In a terminal enter

sudo dmraid -rE /dev/sdaIs anything reported in the terminal screen?

This worked! thank you all very much :)

Quackers
December 12th, 2010, 01:17 AM
Aha! That's excellent news :-)
Enjoy yourself!