[SOLVED] lsblk and cfdisk show different results

I want to install voidlinux. So I partitioned disk using cfdisk, but void-installer(and lsblk) show me different results. lsblk tells me that I have 4 partition, when cfdisk tells me only about 3. These partitions also have different sizes.

cfdisk

lsblk

19 points · 9 comments · view on lemmy.world

9 Comments

onTerryO@lemmy.ca · 6 pts · 1y (1 reply)

If you can, try deleting all the partitions and re-create them using GPT instead of DOS (MBR) and see if it then shows the same. Also agree that you should make your boot partition 1G.

someoneFromInternet@lemmy.ml · 2 pts · 1y

helped

ik5pvx@lemmy.world · 5 pts · 1y (1 reply)

What does /proc/partitions say?

Also, if you plan to use that 256MB partition for /boot, make it bigger. I go for 1G lately.

someoneFromInternet@lemmy.ml · 1 pts · 1y

same as lsblk thank you for advice.

2xsaiko@discuss.tchncs.de · 4 pts · 1y (4 replies)

Try running partprobe.

someoneFromInternet@lemmy.ml · 1 pts · 1y (3 replies)

partprobe says: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.

2xsaiko@discuss.tchncs.de · 1 pts · 1y (2 replies)

Block size? I’ve never seen that message before and I don’t think it’s relevant here. It should redetect the partitions to what they actually are though, but I assume it doesn’t for you.

Also, are you sure you want MBR on that disk instead of GPT? (At least, I think that’s what “Label: dos” means)

someoneFromInternet@lemmy.ml · 4 pts · 1y (1 reply)

Actually, I don't really know differences between. Just all guides use cfdisk and I forgot about mbr and gpt. But I changed mbr to gpt using gdisk(after start he say, that I have mbr and gpt and which I want to use. I chose "create blank gpt" and now I can use gdisk to partition disk. And after gdisk lsblk show right information! Thats it

2xsaiko@discuss.tchncs.de · 2 pts · 1y

Nice! Pretty sure cfdisk also can create a new partitioning scheme but I don’t know how right now