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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-21-2019, 08:20 PM
|
#1
|
LQ Newbie
Registered: Nov 2019
Posts: 5
Rep: 
|
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
|
|
|
11-21-2019, 08:31 PM
|
#2
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,251
|
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?
|
|
|
11-21-2019, 08:45 PM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,744
|
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?
|
|
|
11-21-2019, 08:58 PM
|
#4
|
LQ Newbie
Registered: Nov 2019
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by RandomTroll
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.
|
|
|
11-21-2019, 08:58 PM
|
#5
|
LQ Newbie
Registered: Nov 2019
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
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
|
|
|
11-21-2019, 11:07 PM
|
#6
|
LQ Newbie
Registered: Nov 2019
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by Dush28
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
|
|
|
11-21-2019, 11:08 PM
|
#7
|
LQ Newbie
Registered: Nov 2019
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
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.
|
|
|
11-22-2019, 01:06 PM
|
#8
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,251
|
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.
|
|
|
All times are GMT -5. The time now is 01:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|