-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to add #2 partition: Invalid argument: The last usable GPT sector is 503316446, but 503316449 is requested. #23
Comments
ZFS requires a clean partition before being installed, see our wiki. Also, the ZFS Installation works fine in Qemu and Native Systems, so I would suspect that this is an upstream calamares issue or kpmcore implementation. |
What exactly do you mean by my partition being "not clean"? The whole VM was just created — including the virtual hard drive. |
Okay, I've created a new hard drive and started the VM again, to see if it's ZFS related - it's not. If I select systemd-boot and ext4 as filesystem, the following error will show up:
Full log: So you're saying calamares / kpmcore does not support VirtualBox installations and I should report this as a limitation upstream? |
kpmcore has problems on real hardware to format filesystem "x" and then to zfs. I mean a clean partition table.
I can not reproduce this in QEMU still, either with testing ISO or release ISO. Actually, maybe vmbox does create a weird partition before, which kpmcore is not able to format? |
If you can give me either a reproducer on real hardware or in qemu, i can try to debug it. |
Okay, so I found the setting which causes it under VirtualBox: EFI - with BIOS it works fine. Does it work fine with QEMU when it emulates EFI? |
Yes, I test to 95% with EFI in QEMU. |
Video_2024-06-04_00-37-57.mp4Seems to work fine here on VirtualBox with EFI enabled, please try again with a Fresh VM. |
Hey @SoulHarsh007, as requested, I made a fresh VM and reproduced the issue: https://drive.google.com/file/d/1Di1TddUxyHnwdGmzC7XA-DiKe0rvtD0X/view?usp=sharing |
So will this issue be fixed or not? |
We had a discussion in the discord about this and so far looking on it, this appears to be a configuration issue on your side. You should properly configure vbox. Anyways, the partioning code is still upstream calamares and kpmcore, if you want to have it fixed, you should report the issue to them. |
Hello @RubenKelevra I was able to repro your exact issue when the virtual disk size is set to 240GO, but with smaller size like 32GO, the installation goes fine. I would recommend opening an issue at VirtualBox or kpmcore. |
@ptr1337 wrote:
I have improperly configured vbox? Could you explain what that supposed to mean? I just installed it, added your ISO to a new VM, and it just doesn't work. |
SoulHarsh wrote you, what is happening. I wasnt sure, which configuration it was and it appears the size. as written above, since the paritioning is done by kpmcore you should create their a bugreport |
@RubenKelevra |
I have no idea what to tell who exactly. So no, I won't report bugs in the software you use for you. |
@SoulHarsh007 I don't see how that is funny. Pretty hostile communication style against newbies going on here. That's all I can see. |
You can retry with the testing ISO, which contains calamares 3.3.8. There were some fixes for partioning |
Thanks I'll try that :) |
I've tried that under Linux with a VirtualBox (not Windows as before) and it works now with exactly the same settings. So unless it's a Windows Version issue which does not occur when run under Linux, it's fixed now. Thanks for the help! |
Describe the bug
I want to install CachyOS in a virtual machine running in Vbox under Windows 11.
I've tried systemd-boot and grub as bootloaders, and then select a pretty typical installation on zfs, where the installer should create the necessary partitions.
Then an error popup shows up, telling me that there were insufficient space for creating the requested partitions - which makes no sense, as I told it to use all available space.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Installation should continue until CachyOS is installed
Screenshots and Logs
https://termbin.com/70o1
The text was updated successfully, but these errors were encountered: