[SOLVED] Freshly installed second hard drive not listed in fdisk- Ubuntu Server
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Freshly installed second hard drive not listed in fdisk- Ubuntu Server
I set up a web/file server by retrofitting a Dell Optiplex 170L desktop (Pentium 4 processor, 2gig DDR ram) with Ubuntu Server 12.04. This is not a dual boot, just Linux.
I wanted to expand my disk space and use a second hard drive to store files for a samba share. The machine had an 80G IDE Seagate internal hard drive installed at the factory. I was able to find some specs from dell by searching google which said that two hard drives could be run simultaneously as long as one has IDE and the other has a SATA interface. So, I purchased a 2TB western digital 7200rpm SATA interface hard drive, along with a SATA data cable and SATA power converter cable. I found the SATA connection labeled on the motherboard, and installed the addition hard drive. When I plugged everything back in and turned the power on, the grub menu appeared. I chose the top option (it seemed like it basically said boot up as usual). I logged in then typed sudo fdisk -l. /dev/sda shows up as an 80G physical volume, and all of my logical volumes are listed as well (/dev/mapper/...), but I see no sdb with 2TB. If I can't see it, I can't format it, mount it, and add it to fstab. Can someone help? Did I miss something? I tried to do all of my homework on this to make sure I used compatible hardware.
Nope, me neither.
Check BIOS, is it seeing it?
Check cables, check the disk has power, can you hear it spinning?
These lines:
[ 0.644276] ata3: SATA max UDMA/133 cmd 0xfe00 ctl 0xfe10 bmdma 0xfea0 irq 18
[ 0.644284] ata4: SATA max UDMA/133 cmd 0xfe20 ctl 0xfe30 bmdma 0xfea8 irq 18
would lead me to believe the controller is functional and the kernel is talking with it.
Ok I figured it out. I had to go into BIOS and first enable SATA primary drive. Then set Primary slave drive to auto. Now fdisk -l picked up 2TB drive at sdb. Now I'm up and running. Thank you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.