PDA

View Full Version : [ubuntu] Ubuntu doesn't recognize my HDD



Gamer6432
September 21st, 2008, 09:08 PM
My Windows died on me because of a chipset driver error. I burned Ubuntu on to a disc and am able to boot from it just fine. The problem is that it does not see my HDD, and thus I cannot back up any information.

I am using two Western Digital 250GB SATA hard drives in a RAID 0 configuration.

Pro-reason
September 22nd, 2008, 01:05 PM
Enter these commands in a terminal:



sudo fdisk -l
sudo blkid
cat /etc/fstab

Gamer6432
September 22nd, 2008, 11:05 PM
It still won't show my HDD.

fdisk -l returns

Disk /dev/sda: 250.0 GB, 2550059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfe2afe2a

Device Boot Start End Blocks ID System
/dev/sdal * 1 60801 48838001 7 HPFS/NTFS

Disk /dev/sda: 250.0 GB, 2550059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1170168b

Disk /dev/sdb doesn't contain a valid partition table
sudo blkid returns

/dev/loop0: TYPE="squashfs"
cat /etc/fstab retunrs

unionfs / unionfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0

Pro-reason
September 23rd, 2008, 01:45 AM
It still won't show my HDD.


Disk /dev/sdb doesn't contain a valid partition table


I would suspect that this is the hard drive you are talking about. It doesn't look good.

Gamer6432
September 23rd, 2008, 05:27 AM
Technically, I"m talking about both of them. They're set up in a RAID 0 array, so the computer should see them as one drive. Currently it doesn't show anything.

Assuming the worst and there's no way to salvage data via ubuntu, would using an external enclosure work? There's very little I won't do to salvage the data these drives contain.

Pro-reason
September 24th, 2008, 01:29 AM
I was about to say something positive, but then I looked RAID 0 (http://en.wikipedia.org/wiki/RAID) up on Wikipedia, and read that “RAID 0 (striped disks) distributes data across several disks in a way which gives improved speed and full capacity, but all data on all disks will be lost if any one disk fails.”

You should, if possible, make an image of the contents of the drives, so that you can work on that image without doing anything further to the drives. This will require another, larger drive. Then do data-recovery techniques (https://help.ubuntu.com/community/DataRecovery) on the image.

Gamer6432
September 24th, 2008, 07:43 PM
You should, if possible, make an image of the contents of the drives, so that you can work on that image without doing anything further to the drives.

OK. Can you give me a link for instructions on that? (Still very new at this.)

Pro-reason
September 25th, 2008, 01:03 AM
OK. Can you give me a link for instructions on that? (Still very new at this.)

Try this guide: https://help.ubuntu.com/community/BackupYourSystem.

AnRkey
September 25th, 2008, 10:16 AM
What RAID are you using, your motherboard's raid perhaps?

WWSmith36
September 25th, 2008, 10:30 AM
I have yet to find anyone that knows how to get ubuntu to recognize hardware raid configured throught the motherboard. All I hear about is software raid / fake raid.

There is only one way I know of recovering that data. I use Ultimate Boot CD for Windows. The only problem is the you have to build the CD yourself with the i386 directory from your windows install disk. Sound like alot of work but its worth it.

Gamer6432
September 25th, 2008, 06:14 PM
What RAID are you using, your motherboard's raid perhaps?

Yes, I use the RAID configuration on my motherboard. Asus M2N SLI Deluxe.

AnRkey
September 26th, 2008, 09:15 AM
Yes, I use the RAID configuration on my motherboard. Asus M2N SLI Deluxe.

OK this should be quite easy to get around then. All you need to do is make your own Bartpe disk from an winblows XP cd. Bartpe Builder is an app that allows you to build a cd image from your winblows XP install disk, integrate drivers and boot from it for repairs/maintenance to your system.

Your onboard RAID is not easy to get working on Linux if at all. So you make a BartPE disk, add your drivers, boot up from the disk and backup your data. Then you can remove both drives from your onboard raid and use Linux raid instead. Since the onboard RAID is not proper hardware RAID anyway the performance should be close if not the same.

Here is the BartPE builder site >> http://www.nu2.nu/pebuilder/
and here is a link for setting up Software RAID on Ubuntu during install >> http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/

Some more advanced RAID info >> http://wiki.randompage.org/index.php/DistOS:Linux:RAID#Using_Software_RAID_in_Linux (A bit more tricky)

Lastly here is the Ubuntu wiki page for FakeRAID >> https://help.ubuntu.com/community/FakeRaidHowto

Good luck,

R

Gamer6432
September 27th, 2008, 03:51 AM
It still refuses to show my HDD.


What are the chances I could salvage at least most of the data using a file recovery program if I just reinstalled the OS?

AnRkey
October 1st, 2008, 10:21 AM
I have yet to find anyone that knows how to get ubuntu to recognize hardware raid configured throught the motherboard. All I hear about is software raid / fake raid.

There is only one way I know of recovering that data. I use Ultimate Boot CD for Windows. The only problem is the you have to build the CD yourself with the i386 directory from your windows install disk. Sound like alot of work but its worth it.

Yeah the onboard RAID that I have seen are all fake RAID or software RAID that is proprietary(closed source)

R