LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-21-2019, 08:20 PM   #1
Dush28
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Rep: Reputation: Disabled
Linux cannot detect SATA ssd


Hello,
in the pcb board i have the slot for M.2 sata ssd. when i installed the sata ssd and connect to the linux os, linux cannot detect the sad.
however when i do fdisk -l, it shows /dev/sda 119 G( sata ssd is lenovo sl700 128 Gb)
linux version is ubuntu 16.04.4 (xenial xerus).
my bios setting is in uefi mode. i don't have ahci driver.

about the ahci i have read somewhere, to install this driver, linix can detect the ssd.
i am new to the linux.

help me with this issue, why not detect the ssd? if by installing the ahci driver can work, let me know about how to install the ahci.

thanks
 
Old 11-21-2019, 08:31 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,953

Rep: Reputation: 270Reputation: 270Reputation: 270
Linux has detected this drive: fdisk tells you so. Have you partitioned it? Is there an /dev/sda1 file? I suspect you haven't partitioned and formatted it yet. Caution: this would erase the data you have on it. What disk are you booting on?
 
Old 11-21-2019, 08:45 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Welcome to LinuxQuestions.

To elaborate on RandomTroll's post manufactures typically label the size of their drives in GB but fdisk uses GiB i.e. 119 GiB = 128 GB.

Are you running Ubuntu as a live system or is it installed somewhere else?
 
Old 11-21-2019, 08:58 PM   #4
Dush28
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RandomTroll View Post
Linux has detected this drive: fdisk tells you so. Have you partitioned it? Is there an /dev/sda1 file? I suspect you haven't partitioned and formatted it yet. Caution: this would erase the data you have on it. What disk are you booting on?
hello, fdisk -l showing dev/sda 119g, but it is now showing /dev/sda1. i haven't done partition.
and also by doing lspci -l | less it is showing that kernel driver in use: ahci

i have seperate disk, it is empty.
 
Old 11-21-2019, 08:58 PM   #5
Dush28
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Welcome to LinuxQuestions.

To elaborate on RandomTroll's post manufactures typically label the size of their drives in GB but fdisk uses GiB i.e. 119 GiB = 128 GB.

Are you running Ubuntu as a live system or is it installed somewhere else?
ubunbtu installed somewhere else, seperate system
 
Old 11-21-2019, 11:07 PM   #6
Dush28
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Dush28 View Post
hello, fdisk -l showing dev/sda 119g, but it is now showing /dev/sda1. i haven't done partition.
and also by doing lspci -l | less it is showing that kernel driver in use: ahci

i have seperate disk, it is empty.
now it is showing the the sata ssd

by making the seperate folder in the media and using mkfs.ext4 command, partition is done.

thanks for the help
 
Old 11-21-2019, 11:08 PM   #7
Dush28
LQ Newbie
 
Registered: Nov 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Welcome to LinuxQuestions.

To elaborate on RandomTroll's post manufactures typically label the size of their drives in GB but fdisk uses GiB i.e. 119 GiB = 128 GB.

Are you running Ubuntu as a live system or is it installed somewhere else?
now it is showing the the sata ssd

by making the seperate folder in the media and using mkfs.ext4 command, partition is done.
 
Old 11-22-2019, 01:06 PM   #8
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,953

Rep: Reputation: 270Reputation: 270Reputation: 270
That /dev/sda1 exists proves that you have partitioned the disk; that you can make a filesystem on it confirms that. The latter is what was missing. If the problem is solved, you can mark this thread as solved.
 
  


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
Sata 3 SSD vs PCI-E SSD (DELL 5520 laptop) my.forums Linux - Hardware 3 07-08-2016 05:08 PM
Fastest SATA SSD or pair of RAID 0 SSD's under aprox $200 Ulysses_ Linux - Hardware 1 03-26-2016 09:45 AM
Access To Encrypted SSD Partition With Native Password in SSD>SATA Enclosure skidvicious Linux - Hardware 5 12-03-2015 04:40 PM

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

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