LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linux cannot detect SATA ssd (https://www.linuxquestions.org/questions/linux-hardware-18/linux-cannot-detect-sata-ssd-4175664717/)

Dush28 11-21-2019 08:20 PM

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

RandomTroll 11-21-2019 08:31 PM

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?

michaelk 11-21-2019 08:45 PM

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?

Dush28 11-21-2019 08:58 PM

Quote:

Originally Posted by RandomTroll (Post 6060577)
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.

Dush28 11-21-2019 08:58 PM

Quote:

Originally Posted by michaelk (Post 6060580)
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

Dush28 11-21-2019 11:07 PM

Quote:

Originally Posted by Dush28 (Post 6060583)
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

Dush28 11-21-2019 11:08 PM

Quote:

Originally Posted by michaelk (Post 6060580)
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.

RandomTroll 11-22-2019 01:06 PM

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 05:56 AM.