archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Drive detect

Open negiot opened this issue 2 years ago • 6 comments

Hi, the script doesn't see my second drive. I can't use it

negiot avatar Jun 08 '22 15:06 negiot

Can you run lsblk -a -o+TYPE,MODEL,FSTYPE,PTTYPE,HOTPLUG,STATE,MODE,VENDOR,TRAN,PKNAME and post the output?

Apologies for the many additional fields as i cannot be sure of which is relevant to the issue at this time.

Torxed avatar Jun 09 '22 05:06 Torxed

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS TYPE MODEL                FSTYPE PTTYPE HOTPLUG STATE   MODE       VENDOR   TRAN   PKNAME
sda           8:0    1     0B  0 disk             disk SD/MMC CRW                               1 running brw-rw---- Generic- usb    
nvme1n1     259:0    0 238.5G  0 disk /           disk INTEL SSDPEKKF256G8L ext4                0 live    brw-rw----          nvme   
nvme0n1     259:1    0 238.5G  0 disk             disk INTEL SSDPEKKF256G8L        gpt          0 live    brw-rw----          nvme   
├─nvme0n1p1 259:2    0   260M  0 part /boot       part                      vfat   gpt          0         brw-rw----          nvme   nvme0n1
├─nvme0n1p2 259:3    0    16M  0 part             part                             gpt          0         brw-rw----          nvme   nvme0n1
├─nvme0n1p3 259:4    0 237.2G  0 part             part                      ntfs   gpt          0         brw-rw----          nvme   nvme0n1
└─nvme0n1p4 259:5    0  1000M  0 part             part                      ntfs   gpt          0         brw-rw----          nvme   nvme0n1

negiot avatar Jun 13 '22 15:06 negiot

Nothing really stands out, except that the drive itself is used as a partition. I son't think I've ever seen a disk being formatted with ext4 and used as /.

Is it nvme1n1 that doesn't show up?

Torxed avatar Jun 13 '22 18:06 Torxed

Yes nvme1n1!

negiot avatar Jun 13 '22 21:06 negiot

I'll have a look, but this is most likely a corner case and not something that affect a lot of people. You can work around it by manually resetting the disk (⚠️ and the data) by doing parted /dev/nvme1n1 mklabel gpt or reset it using dd. This is most likely because the disk is behaving like a partition and archinstall works with disks :)

Torxed avatar Jun 14 '22 07:06 Torxed

Hi, no I don't believe. In my opinion the discs have the same id and the script only sees one.

negiot avatar Jun 14 '22 09:06 negiot

This is probably resolved with the switch to pyparted if not we can reopen it

svartkanin avatar Sep 17 '23 09:09 svartkanin