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.
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.
helped
What does /proc/partitions say?
Also, if you plan to use that 256MB partition for /boot, make it bigger. I go for 1G lately.
same as lsblk thank you for advice.
Try running partprobe.
partprobe says:
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
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)
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
Nice! Pretty sure cfdisk also can create a new partitioning scheme but I don’t know how right now