Sign in with
Sign up | Sign in
Your question

How can i fix this hard drive issue

Last response: in Linux/Free BSD
Share
March 16, 2011 5:07:08 PM

i updated my bios previously and when i went to boot my pc, i get this error message.


i also followed the instructions from the below post, but when i check the disk utility/partition editor (im using a livecd), my main hd (with the os on it), doesnt even show up. But its noted in my bios. my main hd is a 750gb wd 6.0gbps drive. its connected to my 6.0. the other internal hard drives show up.
http://ubuntuforums.org/showpost.php?p=7619590&postcoun...

i removed the internal hd with the os and plugged it in via dock and it shows up. its currently listed as sdh, but i know when i put it back in my pc, that will change. not sure what to do next. any suggestions?

More about : fix hard drive issue

March 16, 2011 5:43:30 PM

It's possible that the uuid of your root partition has changed. Try booting from a Live CD, mounting your root partition and changing /etc/fstab so that it refers to the device name (e.g. /dev/sda1) rather than the uuid.
m
0
l
March 16, 2011 5:47:52 PM

Ijack said:
It's possible that the uuid of your root partition has changed. Try booting from a Live CD, mounting your root partition and changing /etc/fstab so that it refers to the device name (e.g. /dev/sda1) rather than the uuid.


See, thats the thing. i have tried this. when i boot from the live cd, the device with my root partition does not show up. not unless i remove it from inside my case and place it in a dock attached via usb. when its plugged in via usb, it will have a different device name than when its plugged in to the sata port. or does this not make a difference? when plugged in to the sata port is sdd, when plug in thru the dock, its sdh.

so i guess my question is, while its plugged into the dock, how can i make it be recognized as sdd and now shd. i hope im not confusing anyone.
m
0
l
Related resources
March 16, 2011 11:28:57 PM

What motherboard? Does the liveCD have the lspci command (try it)? if so what is the output of that command?
m
0
l
March 16, 2011 11:57:42 PM

Hi you can list all devices by uuid with this:
  1. #ls -l /dev/disk/by-uuid/

or
  1. #blkid


Once confirmed edit fstab accordingly :3
m
0
l
March 17, 2011 12:07:25 AM

someone19 said:
What motherboard? Does the liveCD have the lspci command (try it)? if so what is the output of that command?


asus p6x58d
  1. ubuntu@ubuntu:~$ lspci
  2. 00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13)
  3. 00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
  4. 00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (rev 13)
  5. 00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
  6. 00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
  7. 00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
  8. 00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
  9. 00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
  10. 00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
  11. 00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
  12. 00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
  13. 00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
  14. 00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
  15. 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
  16. 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
  17. 00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
  18. 00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
  19. 00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
  20. 00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
  21. 00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
  22. 00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
  23. 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
  24. 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
  25. 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
  26. 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
  27. 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
  28. 01:00.0 IDE interface: Marvell Technology Group Ltd. Device 914d (rev 10)
  29. 02:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
  30. 03:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5750 Series]
  31. 03:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
  32. 05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
  33. 06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
  34. 08:01.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
  35. 08:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
  36. ff:00.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers (rev 05)
  37. ff:00.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath Architecture System Address Decoder (rev 05)
  38. ff:02.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Link 0 (rev 05)
  39. ff:02.1 Host bridge: Intel Corporation Xeon 5500/Core i7 QPI Physical 0 (rev 05)
  40. ff:03.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller (rev 05)
  41. ff:03.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder (rev 05)
  42. ff:03.4 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Test Registers (rev 05)
  43. ff:04.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registers (rev 05)
  44. ff:04.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registers (rev 05)
  45. ff:04.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers (rev 05)
  46. ff:04.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers (rev 05)
  47. ff:05.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registers (rev 05)
  48. ff:05.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registers (rev 05)
  49. ff:05.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers (rev 05)
  50. ff:05.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers (rev 05)
  51. ff:06.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registers (rev 05)
  52. ff:06.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registers (rev 05)
  53. ff:06.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers (rev 05)
  54. ff:06.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers (rev 05)
m
0
l
March 17, 2011 12:08:15 AM

skittle said:
Hi you can list all devices by uuid with this:
  1. #ls -l /dev/disk/by-uuid/

or
  1. #blkid


Once confirmed edit fstab accordingly :3

nothing happens when i type those commands in the terminal.
m
0
l
March 17, 2011 12:41:23 AM

heres what i get from running fdisk
  1. ubuntu@ubuntu:~$ sudo fdisk -l
  2.  
  3. Disk /dev/sda: 40.0 GB, 40000000000 bytes
  4. 255 heads, 63 sectors/track, 4863 cylinders
  5. Units = cylinders of 16065 * 512 = 8225280 bytes
  6. Sector size (logical/physical): 512 bytes / 512 bytes
  7. I/O size (minimum/optimal): 512 bytes / 512 bytes
  8. Disk identifier: 0xd0f4738c
  9.  
  10. Device Boot Start End Blocks Id System
  11. /dev/sda2 * 8 4430 35527747+ 42 SFS
  12.  
  13. Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
  14. 255 heads, 63 sectors/track, 121601 cylinders
  15. Units = cylinders of 16065 * 512 = 8225280 bytes
  16. Sector size (logical/physical): 512 bytes / 512 bytes
  17. I/O size (minimum/optimal): 512 bytes / 512 bytes
  18. Disk identifier: 0xd8f3c04b
  19.  
  20. Device Boot Start End Blocks Id System
  21. /dev/sdb1 * 1 121602 976759808 7 HPFS/NTFS

the drive in question doesnt even show up. but it shows in bios and is listed as the second option after the boot cd.
m
0
l
March 17, 2011 5:08:42 AM

type it without the # :lol: 

  1. ls -l /dev/disk/by-uuid/
m
0
l
March 17, 2011 12:22:25 PM

got it fixed. i had to go into my bios and change the sata from ide to ahci. thanks for the help guys
m
0
l
March 17, 2011 12:27:32 PM

Ah! Should have thought of that. Looks like the BIOS update reset the defaults.
m
0
l
!