LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-13-2015, 11:09 AM   #1
Gordoon
LQ Newbie
 
Registered: Jun 2015
Posts: 5

Rep: Reputation: 0
Desktop Does Not Detect 2nd HDD


My desktop has a 2nd HDD installed, I cannot see it in Nautilus, would really like to solve this to be able to use it. Ubuntu 14.04 LTS.
Code:
$ cat /proc/partitions
major minor  #blocks  name

  11        0    1048575 sr0
   8        0  156290904 sda
   8        1  152188928 sda1
   8        2          1 sda2
   8        5    4099072 sda5
 
Old 06-13-2015, 12:00 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
first you need to check it in bios. Next, try lshw to check if device was available, or use gparted. Also you can check dmesg.
 
Old 06-13-2015, 12:10 PM   #3
Gordoon
LQ Newbie
 
Registered: Jun 2015
Posts: 5

Original Poster
Rep: Reputation: 0
2nd HDD is not showing in gparted. It is there, have actualy seen it and accessed it in Nautilus once or twice before. I really do not know what to look for in lshw or dmesg.......outputs are pretty long, didn't think it would be cool to post them.
 
Old 06-13-2015, 01:04 PM   #4
fERRARIv2
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Rep: Reputation: Disabled
Gordon, more info is best in these situations. It will allow your questions to be answered faster. I don't know what to look for in a dmesg either but the skilled do. I have a similar issue with me 2nd hdd as well.

You will want to see if your PC is set up in a raid array and what array is configured. Raid 1 is mirroring and may not show a second hdd.
 
Old 06-13-2015, 01:04 PM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,501

Rep: Reputation: Disabled
Code:
dmesg|grep sd
or possibly
Code:
dmesg|grep hd
should tell you what the system thinks it is.
(Then you can manually mount it.)

Edit: Does it have a filesystem on it, & if so which filesystem?

Last edited by fatmac; 06-13-2015 at 01:08 PM.
 
Old 06-13-2015, 01:22 PM   #6
Gordoon
LQ Newbie
 
Registered: Jun 2015
Posts: 5

Original Poster
Rep: Reputation: 0
OK....here is where I need your expertise. Output from dmesg|grep sd:

Code:
$ dmesg|grep sd
[    1.430334] sd 1:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[    1.430370] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.430396] sd 1:0:0:0: [sda] Write Protect is off
[    1.430399] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.430427] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.506303]  sda: sda1 sda2 < sda5 >
[    1.506565] sd 1:0:0:0: [sda] Attached SCSI disk
[    3.841736] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   17.528839] Adding 4099068k swap on /dev/sda5.  Priority:-1 extents:1 across:4099068k FS
[   23.440226] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   24.462069] type=1400 audit(1434133789.271:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd" pid=686 comm="apparmor_parser"
[   24.462414] type=1400 audit(1434133789.271:10): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=686 comm="apparmor_parser"
[   54.539221] type=1400 audit(1434133819.345:63): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1748 comm="apparmor_parser"
[   54.539566] type=1400 audit(1434133819.345:64): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1748 comm="apparmor_parser"
[73442.241580] type=1400 audit(1434207187.699:66): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=19485 comm="apparmor_parser"
[73442.241925] type=1400 audit(1434207187.699:67): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=19485 comm="apparmor_parser"
 
Old 06-13-2015, 02:53 PM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
that means there is no 2nd hdd, only sda. check bios, check cables and probably replace them, use another sata port....
 
Old 06-15-2015, 07:16 PM   #8
Gordoon
LQ Newbie
 
Registered: Jun 2015
Posts: 5

Original Poster
Rep: Reputation: 0
Hi, thanks for your advice......replaced the cable and HDD too while I was at it, partitioned, formatted etc., now works!
 
Old 06-16-2015, 12:40 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
glad to help you
if you really want to say thanks just click on yes
 
  


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
Slackware as 2nd os on 2nd hdd chd_lad Linux - Newbie 7 04-05-2008 03:43 PM
Why can't I see 2nd HDD? DrJon Linux - Hardware 4 10-30-2006 08:03 PM
XP on 1 HDD,Linux on 2nd HDD,remove ,other won't launch Dark Templar Linux - Newbie 3 05-07-2006 11:03 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
Can't detect 2nd HD Fedora dauphinfay Fedora 2 03-28-2004 03:15 PM

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

All times are GMT -5. The time now is 12:15 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