View previous topic :: View next topic |
Author |
Message |
Tae_kyon n00b


Joined: 19 Apr 2006 Posts: 71
|
Posted: Tue May 12, 2020 3:30 pm Post subject: Install CD doesn't recognise SSD |
|
|
I just bought a Lenovo laptop with no OS, it has 2 hard disks: a 1Tb one which is recognised as /dev/sda and a 128Gb SSD.
Both are visible from the boot options.
However, if I boot from the minimal installation Gentoo image on a USB drive, I see:
/dev/sda, /dev/sda1
/dev/sdb, /dev/sdb1 and /dev/sdb2.
But /dev/sdb according to cfdisk, is only 14.4 Gb.
So how do I correctly visualise and partition the SSD?[/code] _________________ We shall not cease from exploration. And the end of all our exploring
will be to arrive where we started and know the place for the first time |
|
Back to top |
|
 |
Tony0945 Watchman

Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue May 12, 2020 3:54 pm Post subject: |
|
|
A SATA SSD should be recognized. Is it an NVME? Then you need to add support to the kernel. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31538 Location: here
|
Posted: Tue May 12, 2020 3:55 pm Post subject: |
|
|
SSD is sata or nvme? If nvme try to check /dev/nvme* _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
Tae_kyon n00b


Joined: 19 Apr 2006 Posts: 71
|
Posted: Tue May 12, 2020 3:57 pm Post subject: Solved! |
|
|
Ok, I see the SSD as:
/dev/nvme0n1
Wasn't aware of these newfangled naming schemes for SSD's.
 _________________ We shall not cease from exploration. And the end of all our exploring
will be to arrive where we started and know the place for the first time |
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1933 Location: Germany
|
|
Back to top |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
 |
Tony0945 Watchman

Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue May 12, 2020 4:23 pm Post subject: |
|
|
Drives used to be /dev/hdX. I suppose that stood for Hard Drive
I suppose /dev/sdX stands for Sata Drive. I had a mixed system with IDE and SATA and it named one /dev/sda and the other /dev/hda IIRC. That machine has Win 7 on it now. I should boot a Gentoo DVD and see what they are named now. Just for curiosity.
EDIT: You might be able to use a udev rule to rename the NVME drive but I'm not sure that's a good idea.
A better idea is to assign labels to the partitions, and just refer to them by label, i.e. in /etc/fstab and in your boot command. Then, no matter how the kernel assigns the /dev, you will be addressing the correct drive and partition. |
|
Back to top |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Tue May 12, 2020 5:09 pm Post subject: |
|
|
Tony0945,
A long time ago, before the PC had hard drives ... before the IBM PC even there were real eight bit parallel SCSI drives.
They were expensive and not easy to interface to early PCs. DMA was not an optional extra with real SCSI.
Then Seagate invented the ST506.
That started the race to simplify the interface.
Next up was Compaqs Integrated Drive Electronics, better knows an IDE.
The motherboard interface was trivial. It was a cut down 16 bit ISA slot with a different connector.
Like all engineers, the designers were lazy and built on what was already documented.
The IDE interface used a subset of the SCSI command set. Essentially, all the hard bits were left out, like overlapping commands, DMA etc, which were added back in over the years as 'speed ups' and 'improvements'.
At the outset, LInux implemented IDE as /dev/hdX, where X was interface count dependent.
When libata came along, The IDE drives moved under libata and were merged back into their SCSI heritage.
I think I switched over about kernel 2.6.26. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Tony0945 Watchman

Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue May 12, 2020 5:31 pm Post subject: |
|
|
NeddySeagoon wrote: | The motherboard interface was trivial. It was a cut down 16 bit ISA slot with a different connector. | I never knew that!
NeddySeagoon wrote: | Like all engineers, the designers were lazy and built on what was already documented. | I should resent that. But it's hard to feel resentment when one is grinning from ear to ear!
NeddySeagoon wrote: | The IDE interface used a subset of the SCSI command set. Essentially, all the hard bits were left out, like overlapping commands, DMA etc, which were added back in over the years as 'speed ups' and 'improvements'. | I only knew SCSI as something mentioned in BYTE magazine. I thought it was dead.
Thank you for sharing your encyclopedic knowledge here on the forum!
That mobo I mentioned has two IDE connectors and one SATA-1 connector. It can only boot from the IDE. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Tue May 12, 2020 5:38 pm Post subject: |
|
|
Tony0945,
Real live parallel SCSI electrical interfaces are dead but the protocol is alive and well.
Almost all block devices, no matter the electrical interface, use the SCSI protocol.
UAS even :) UAS USB Attached SCSI.
I'm an engineer too :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|