Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
quick background: I built a machine with a SATA HD mapped (in the BIOS) to primary IDE, so it came up as /dev/hda in Linux. Turns out the SATA controller was screwed up on that machine (only operated in PIO mode), so I swapped it out with another machine that had an IDE HD.
The machine that now has the SATA drive has a diff mobo with a crummy BIOS - I'm not sure exactly how the SATA port is mapped (it's not very clear in the BIOS), but it boots up fine using the SATA HD. The problem is that /etc/fstab is trying to put the swap on /dev/hda3, but there's no /dev/hda. How do I find out where this drive is?
Did you run 'fdisk -l' ?
SATA drives are often named the same way ide drives are.
For ide:hda=primary master,hdb=primary slave...
With SATA:Sometimes they come first and push the names of the ide drives up, or they come last, like maybe hde,hdg.
::sigh:: thanks guys - I didn't know that you could do fdisk -l without an argument.
the HD is on /dev/hdc, so guess it thinks it's on secondary master. Usually that's my CD-ROM, but I've removed the CD-ROM from that machine. Never put 2 & 2 together that hdc was showing up & the CD wasn't there.
What is nothing? Either u get a list of available hard drives (and list of partitions on them) or u get an error message (plz note that -l in fdisk -l is L not I). You can also get any empty list of partitions if u dont have any hard drive in your virtual machine. I have used Slackware on VmWare and it worked without problem.
Anyway I would recommend u to create virtual machine manually in vmware bc default linux machine has SCSI hard drives.
Hi all.....I have been having the same problem with gentoo as well, but alas it is no longer so.
all you have to do as mentioned above is do a
$ fdisk -l
and it will list your partions
in my case the were /dev/hdb1 rather than the hankbook example of /dev/hda which would be the most common set up.