I’m new for Ubuntu
Last night I tried to install Ubuntu, but unfortunately I received an error during installation.
To summarize:
From Windows 7, I shrunk my D:\ partition, and the remaining free space was not listed as NTFS, but as 150 GB of “available space.”
Then, from the boot menu, I booted from the USB drive where I had my Ubuntu image made with Rufus (version 4.11 running on a Windows 10 PC).
I went to the manual configuration, setting:
- ext4 mount / of 130 GB
- swap of 4 GB
- and then I saw that it had also flagged a FAT32 /boot/efi of 1 GB.
At that point, I ran the installation, but after a few minutes, it returned a load of code that I think looked like this:
…
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: util.subp(cmd, data=sfdisk_script.encode(‘ascii’))
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: File “/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/util.py”, line 323, in subp
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: return _subp(*args, **kwargs)
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: File “/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/util.py”, line 172, in _subp
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: raise ProcessExecutionError(stdout=out, stderr=err,
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: curtin.util.ProcessExecutionError: Unexpected error while running command.
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Command: [‘sfdisk’, ‘–no-reread’, ‘/dev/sda’]
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Exit code: 1
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Reason: -
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Stdout: ‘’
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Stderr: ‘’
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Unexpected error while running command.
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Command: [‘sfdisk’, ‘–no-reread’, ‘/dev/sda’]
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Exit code: 1
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Reason: -
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Stdout: ‘’
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Stderr: ‘’
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]:
Feb 04 21:30:38 ubuntu subiquity_log.4328[7238]: Stderr: ‘’
Feb 04 21:30:38 ubuntu subiquity_event.4328[4328]: curtin command install
Feb 04 21:30:38 ubuntu subiquity_event.4328[4328]: executing curtin install partitioning step
Feb 04 21:30:38 ubuntu subiquity_event.4328[4328]: installing system
Feb 04 21:30:38 ubuntu subiquity_event.4328[4328]:
…
It seems like I can’t create and/or write to some partitions, right?
Could it be that “just” shrinking the D:\ partition with Windows 7 has left the free space empty? Should I just delete the D:\ partition? Or use some other tool to free up space?
Or try installing Ubuntu 22.04 LTS instead of 24.04 LTS, for example?
My PC is an old ASUS with an Intel Core i3 2.2 GHz, 4 GB of memory, and a 640 GB HDD, running Win7 Pro.
I found these possible causes online:
The curtin.util.ProcessExecutionError during Ubuntu installation usually indicates a failure in disk partitioning, target drive wiping, or networking, particularly with Ubuntu 24.04. Key solutions include ensuring a stable network, wiping the target drive, using a fresh ISO, and, if necessary, disconnecting from the internet during installation
Could I try removing web connections and installing the older version of Ubuntu 22.04?
Thanks everyone in advance.





