[OPEN] swap partition creation failures

Post Reply
_sasmw
Crewman
Posts: 3
Joined: Fri Aug 14, 2020 7:40 pm

I've tried to install arcoplasma, and I'd like to have swap with hibernation, I tried installation without hibernation, but no success.
I don't know if this is related, but I have 192GB RAM, and swap partition was to be 102GB.

Here is the log https://termbin.com/ch4m
User avatar
erikdubois
Captain
Posts: 5950
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Try it without LUKS
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
_sasmw
Crewman
Posts: 3
Joined: Fri Aug 14, 2020 7:40 pm

Umm, but I need luks.
Actually, I tried to find that sfdisk command from my local git clone, but I truly do not understand how this part of iso creation is built.

Maybe gdisk command would succeed, but I do not know whether this is part of Calamares installer or not.
User avatar
fennec
Ensign
Posts: 189
Joined: Wed Dec 28, 2022 9:54 pm
Location: UK
Contact:

_sasmw wrote: Wed Sep 18, 2024 6:28 pm Umm, but I need luks.
Actually, I tried to find that sfdisk command from my local git clone, but I truly do not understand how this part of iso creation is built.

Maybe gdisk command would succeed, but I do not know whether this is part of Calamares installer or not.

Code: Select all

2024-09-18 - 12:34:13 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
2024-09-18 - 12:34:13 [1]:     ERROR: Installation failed: "The installer failed to create partition on disk 'Samsung SSD 990 PRO 2TB'." 
2024-09-18 - 12:34:13 [6]:     .. - message: "The installer failed to create partition on disk 'Samsung SSD 990 PRO 2TB'." 
2024-09-18 - 12:34:13 [6]:     .. - details: 
Create a new partition (102.78 GiB, luks) on ‘/dev/nvme0n1’


Job: Create new partition on device ‘/dev/nvme0n1’


Command: sfdisk --force --append /dev/nvme0n1

Failed to add partition ‘New Partition’ to device ‘/dev/nvme0n1’.

Failed to add partition ‘New Partition’ to device ‘/dev/nvme0n1’.

The command Calamares is trying to run is

Code: Select all

sfdisk --force --append /dev/nvme0n1
The src code is at: https://github.com/calamares/calamares/ ... ob.cpp#L50
There isn't much to go on here in terms of understanding the root cause of the failure.

Look on https://github.com/calamares/calamares/issues and see if anyone has reported anything similar failing that create a new one.
_sasmw
Crewman
Posts: 3
Joined: Fri Aug 14, 2020 7:40 pm

Thank you, fennec!

Yes, I looked calamares issues, and this one was listed.
Post Reply

Return to “Live-iso”