LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-22-2013, 11:04 PM   #1
swilsy
Member
 
Registered: May 2012
Distribution: Ubuntu Server 16.04/Lubuntu 18.04
Posts: 36

Rep: Reputation: Disabled
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.

Here is a link to the user manual for the Dell Optiplex 170L I'm working with http://support.dell.com/support/edoc...g/smtabout.htm

Last edited by swilsy; 02-22-2013 at 11:14 PM. Reason: Adding reference
 
Old 02-23-2013, 08:14 AM   #2
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Is there any mention of the disk or it's controller in the output of dmesg?
 
Old 02-23-2013, 01:43 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
And, if not, does your (current) BIOS know anything about the drive? There might be a BIOS upgrade you need to install.
 
Old 02-23-2013, 01:44 PM   #4
swilsy
Member
 
Registered: May 2012
Distribution: Ubuntu Server 16.04/Lubuntu 18.04
Posts: 36

Original Poster
Rep: Reputation: Disabled
I'll post dmesg output. Also, I was reading somewhere that some BIOS configuration for master and slave drives has to be done. Is that the case?
 
Old 02-23-2013, 03:13 PM   #5
swilsy
Member
 
Registered: May 2012
Distribution: Ubuntu Server 16.04/Lubuntu 18.04
Posts: 36

Original Poster
Rep: Reputation: Disabled
dmesg output is attached. I don't see anything a about a second drive.
Attached Files
File Type: txt dmesg.txt (37.2 KB, 41 views)
 
Old 02-23-2013, 04:20 PM   #6
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
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.
 
Old 02-23-2013, 05:09 PM   #7
swilsy
Member
 
Registered: May 2012
Distribution: Ubuntu Server 16.04/Lubuntu 18.04
Posts: 36

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] freshly installed squeeze doesn't have gdm(X server)? wch705 Debian 5 09-24-2010 06:50 AM
Freshly Installed Ubuntu 9.10 freezing up gribbsy Ubuntu 1 11-06-2009 06:33 PM
On (x)Ubuntu 9.04, usb hard drive isn't listed in /dev/sd*, yet seen by lsusb. cfp Linux - Hardware 1 07-28-2009 04:10 PM
hard drive freshly wiped (no file system) will not pick up UBUNTU chaoticanarchyX Linux - Hardware 11 10-02-2007 03:25 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration