View previous topic :: View next topic |
Author |
Message |
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Sat Apr 14, 2018 9:59 am Post subject: Installing to new Laptop, no /dev/sd* [SOLVED] |
|
|
I'm installing to a new laptop, and I don't have a /dev/sda (or any /dev/sd) visioble in the liveCD environment.
I have:
Code: | livecd ~ # /dev/
block/ char/ fd/ lightnvm/ net/ snd/
bsg/ cpu/ gpmctl mapper/ pts/ v4l/
bus/ disk/ input/ mqueue/ shm/ |
and that's it.
Which one is my hard drive?
Last edited by Illiander on Sat Apr 14, 2018 10:31 am; edited 1 time in total |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Sat Apr 14, 2018 10:20 am Post subject: |
|
|
There should be more than that in /dev. Out of curiosity, what's in /dev/disk/by-id/ ? _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Sat Apr 14, 2018 10:28 am Post subject: |
|
|
Code: | livecd ~ # ls /dev/disk/by-id/
ata-ST1000LM048-2E7172-part1WDETSK6S ata-ST3000LM016-1N217V_W800E5P3-part2
ata-ST1000LM048-2E7172-part2WDETSK6S ata-ST3000LM016-1N217V_W800E5P3-part3
ata-ST1000LM048-2E7172-part3WDETSK6S wwn-0x5000c5008fc94be7
ata-ST1000LM048-2E7172-part4WDETSK6S wwn-0x5000c5008fc94be7-part1
ata-ST1000LM048-2E7172WDETSK6S wwn-0x5000c5008fc94be7-part2
ata-ST1000LM048-2E7172_WDETSK6S wwn-0x5000c5008fc94be7-part3
ata-ST1000LM048-2E7172_WDETSK6S-part1 wwn-0x5000c500ac8a640e
ata-ST1000LM048-2E7172_WDETSK6S-part2 wwn-0x5000c500ac8a640e-part1
ata-ST1000LM048-2E7172_WDETSK6S-part3 wwn-0x5000c500ac8a640e-part2
ata-ST1000LM048-2E7172_WDETSK6S-part4 wwn-0x5000c500ac8a640e-part3
ata-ST3000LM016-1N217V_W800E5P3 wwn-0x5000c500ac8a640e-part4
ata-ST3000LM016-1N217V_W800E5P3-part1
|
---
Edit: I'm an idiot, tab-completion *does not* show most of the contents of /dev/ for some reason I thought it did. It shows full contents of ordinary folders.
Last edited by Illiander on Sat Apr 14, 2018 10:30 am; edited 1 time in total |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Sat Apr 14, 2018 10:30 am Post subject: |
|
|
hmm. I wonder if this is simply a bash tab fail... your disks clearly show up in by-id.
how about "ls -l /dev/sd* && ls -l /dev/hd* && ls -l nvme*" ?
edit: or "ls -l /dev/disk/by-id" to fetch the /dev node for the disk you're looking for. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Sat Apr 14, 2018 10:32 am Post subject: |
|
|
Yes, it's a bash-tab fail.
I tried a proper "ls /dev" and everything showed up.
bash-tab also failed to show the contents of /dev/disk/by-id. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21709
|
Posted: Sat Apr 14, 2018 5:05 pm Post subject: |
|
|
You tried to complete as a command, so only directories (which might contain commands) and runnable commands are shown. Make one of your disks executable and try again. More seriously, if you had tab-completed an ls, it would have done what you wanted. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Sat Apr 14, 2018 5:11 pm Post subject: |
|
|
Yeah, I'm being a right dumb idiot today. |
|
Back to top |
|
|
|