hard drive replacement questions
Tony Baechler
tony at baechler.net
Thu Sep 20 02:07:07 UTC 2012
You're way overcomplicating things. If your drive is called /dev/hda, it's
IDE, but newer Linux kernels use the SATA syntax for all drives, so your
drive is probably called /dev/sda on 2.6.26 and later. However, there is a
simple way to answer your questions:
hdparm -iI /dev/sda
Make sure the hdparm package is installed. At a minimum, it should tell you
the brand and model which you can look up on Google, but it should also tell
you if the drive is IDE or not. IDE drives are pretty much impossible to
find nowadays, so I hope it's SATA.
As for moving your Linux partition to another drive, dd should usually work
fine unless you have unusual circumstances.
More information about the Blinux-list
mailing list