Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing to new Laptop, no /dev/sd* [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 206

PostPosted: Sat Apr 14, 2018 9:59 am    Post subject: Installing to new Laptop, no /dev/sd* [SOLVED] Reply with quote

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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5861

PostPosted: Sat Apr 14, 2018 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 206

PostPosted: Sat Apr 14, 2018 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5861

PostPosted: Sat Apr 14, 2018 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 206

PostPosted: Sat Apr 14, 2018 10:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13987

PostPosted: Sat Apr 14, 2018 5:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Illiander
Apprentice
Apprentice


Joined: 22 Feb 2011
Posts: 206

PostPosted: Sat Apr 14, 2018 5:11 pm    Post subject: Reply with quote

Yeah, I'm being a right dumb idiot today.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum