installer icon indicating copy to clipboard operation
installer copied to clipboard

Device is not a valid LUKS device

Open vjr opened this issue 5 years ago • 2 comments

While trying to test the installer from git master from within an Odin instance itself, I get the error Device /dev/nvme0n1p3 is not a valid LUKS device. and the partitioning view does not show my disk layout.

Not sure if this is because I'm in a running OS with some partitions mounted by here is the output of sudo fdisk -l - note that the partition in question is of type "Microsoft reserved":

Disk model: Samsung SSD 950 PRO 512GB               
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CDEB4029-736D-4E06-A09D-2FA82AF7A683

Device              Start        End   Sectors   Size Type
/dev/nvme0n1p1       2048     923647    921600   450M Windows recovery environment
/dev/nvme0n1p2     923648    1128447    204800   100M EFI System
/dev/nvme0n1p3    1128448    1161215     32768    16M Microsoft reserved
/dev/nvme0n1p4    1161216  507628064 506466849 241.5G Microsoft basic data
/dev/nvme0n1p5  507629568  508692479   1062912   519M Windows recovery environment
/dev/nvme0n1p6  508694528  708694015 199999488  95.4G Linux filesystem
/dev/nvme0n1p7  708694016  908693503 199999488  95.4G Linux filesystem
/dev/nvme0n1p8  908693504  951662591  42969088  20.5G Linux filesystem
/dev/nvme0n1p9  951662592  990574590  38911999  18.6G Linux filesystem
/dev/nvme0n1p10 990574592  994631678   4057087     2G EFI System
/dev/nvme0n1p11 994631680 1000214526   5582847   2.7G Linux swap


Disk /dev/mapper/cryptswap: 2.68 GiB, 2857893376 bytes, 5581823 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes```

vjr avatar Sep 12 '20 10:09 vjr

Not sure if this error is originating from https://github.com/pop-os/distinst

vjr avatar Sep 12 '20 10:09 vjr

If my use of log messages sprinkled in the code is okay the error output appears to be coming from disks = Distinst.Disks.probe (); at https://github.com/elementary/installer/blob/master/src/Views/PartitioningView.vala#L119

vjr avatar Sep 12 '20 11:09 vjr