You are not logged in.

#1 2022-05-16 16:21:18

Asux
Member
Registered: 2022-05-16
Posts: 3

[SOLVED] cfdisk does not recognize my harddrive.

Hey, I am a newbie here and I got a problem while installing Arch.
I was trying to dual boot Arch and Windows together so I tried doing it by watching a youtube video.
When the step came to select a harddrive, the SSD drive was not appearing.
I only saw my USB (/dev/sda1) and nothing else.
I tried lsblk and the SSD was being shown there without the free space that I created by shrinking the C drive using windows's disk management.
Can someone help me?
And I am a complete noob so yeah, I hope I don't get any complex intructions.

Last edited by Asux (2022-05-18 13:48:34)

Offline

#2 2022-05-17 10:24:02

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,202

Re: [SOLVED] cfdisk does not recognize my harddrive.

lsblk only shows disks & partitions, not empty space.

cfdisk needs to be told which drive to operate on .

example from my system :

$ lsblk 
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 465.8G  0 disk 
└─sda1        8:1    0 465.8G  0 part /data
sr0          11:0    1  1024M  0 rom  
sr1          11:1    1  1024M  0 rom  
nvme0n1     259:0    0 232.9G  0 disk 
├─nvme0n1p1 259:1    0    76G  0 part /
├─nvme0n1p2 259:2    0   155G  0 part /home
└─nvme0n1p3 259:3    0   1.9G  0 part /efi
$ 

dev/nvme0n1 is my first ssd , /dev/sda my second one.

To use cfdisk on my first ssd , i have to start it like this cfdisk /dev/nvme0n1 .

Please don't use youtube videos for installing they tend to be outdated, don't mention important details , only suitable for certain situations,  wrong.
Also we don't support installs following youtube videos. You will probably get told to ask the youtube video creator if things don't work ....

I suggest you read https://wiki.archlinux.org/title/Dual_boot_with_Windows to get an idea what things you may encounter and what changes you should make to windows before starting an arch install..

Once you have done that, check our supported guide : https://wiki.archlinux.org/title/Installation_guide


Welcome to archlinux forums.

Last edited by Lone_Wolf (2022-05-17 10:24:33)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2022-05-18 13:47:01

Asux
Member
Registered: 2022-05-16
Posts: 3

Re: [SOLVED] cfdisk does not recognize my harddrive.

Lone_Wolf wrote:

lsblk only shows disks & partitions, not empty space.

cfdisk needs to be told which drive to operate on .

example from my system :

$ lsblk 
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 465.8G  0 disk 
└─sda1        8:1    0 465.8G  0 part /data
sr0          11:0    1  1024M  0 rom  
sr1          11:1    1  1024M  0 rom  
nvme0n1     259:0    0 232.9G  0 disk 
├─nvme0n1p1 259:1    0    76G  0 part /
├─nvme0n1p2 259:2    0   155G  0 part /home
└─nvme0n1p3 259:3    0   1.9G  0 part /efi
$ 

dev/nvme0n1 is my first ssd , /dev/sda my second one.

To use cfdisk on my first ssd , i have to start it like this cfdisk /dev/nvme0n1 .

Please don't use youtube videos for installing they tend to be outdated, don't mention important details , only suitable for certain situations,  wrong.
Also we don't support installs following youtube videos. You will probably get told to ask the youtube video creator if things don't work ....

I suggest you read https://wiki.archlinux.org/title/Dual_boot_with_Windows to get an idea what things you may encounter and what changes you should make to windows before starting an arch install..

Once you have done that, check our supported guide : https://wiki.archlinux.org/title/Installation_guide


Welcome to archlinux forums.

Thanks alot, it worked.

Offline

Board footer

Powered by FluxBB