[SOLVED] lsblk and cfdisk show different results
from someoneFromInternet@lemmy.ml to linux@lemmy.ml on 28 Apr 10:29
https://lemmy.ml/post/29275647

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

#linux

threaded - newest

2xsaiko@discuss.tchncs.de on 28 Apr 10:35 next collapse

Try running partprobe.

someoneFromInternet@lemmy.ml on 28 Apr 13:21 collapse

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 on 28 Apr 13:31 collapse

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 on 28 Apr 13:55 collapse

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 on 28 Apr 15:26 collapse

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

ik5pvx@lemmy.world on 28 Apr 11:21 next collapse

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 on 28 Apr 13:24 collapse

same as lsblk thank you for advice. <img alt="" src="https://lemmy.ml/pictrs/image/e385feff-120b-436d-9066-f9a48d26700b.jpeg">

onTerryO@lemmy.ca on 28 Apr 11:35 collapse

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 on 28 Apr 14:11 collapse

helped