Ubuntu Version:
Ubuntu 24.04.4 LTS
Desktop Environment (if applicable):
Installing on external SSD
Problem Description:
I am trying to install Ubuntu 24.04.4 LTS onto an external Samsung T9 Portable SSD. However, the installation fails during the partitioning stage with a “curtin command install” error.
Steps to reproduce:
-
Boot from the Ubuntu Live USB.
-
Select the installation type (Manual or Erase disk).
-
Target the Samsung T9 SSD (
/dev/sda). -
The installer starts copying/partitioning but crashes shortly after.
Relevant System Information:
Target Drive: Samsung T9 Portable SSD (Connected via USB-C).
- Current OS: Windows 10/11.
- Note: The error seems related to
sfdiskfailing to write the partition table to the external drive.
Screenshots or Error Messages:
The installer logs show a ProcessExecutionError during the sfdisk command:
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: util.subp(cmd,data=sfdisk_script.encode(‘ascii’))
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: File “/snap/ubuntu-desktop-bootstrap/494/lib/python3.10/site-packages/curtin/util.py”, line 331, in subp
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: return _subp(*args, **kwargs)
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: File “/snap/ubuntu-desktop-bootstrap/494/lib/python3.10/site-packages/curtin/util.py”, line 175, in _subp
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: raise ProcessExecutionError(stdout=out,stderr=err,
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: curtin.util.ProcessExecutionError: Unexpectederror while running command.
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Command: [‘sfdisk’, ‘–no-reread’, ‘/dev/sda’, ‘–no-tell-kernel’]
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Exit code: 1
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Reason: -
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Stdout: ‘’
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Stderr: ‘’
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Unexpected error while running command.
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Command: [‘sfdisk’, ‘–no-reread’, ‘/dev/sda’, ‘–no-tell-kernel’]
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Exit code: 1
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Reason: -
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Stdout: ‘’
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Stderr: ‘’
Mar 19 19:10:03 ubuntu subiquity_log.2843[6508]: Stderr: ‘’
Mar 19 19:10:03 ubuntu subiquity_event.2843[2843]: executing curtin install partitioning step
Mar 19 19:10:03 ubuntu subiquity_event.2843[2843]: installing system
Mar 19 19:10:03 ubuntu subiquity_event.2843[2843]: curtin command install
What I’ve Tried:
Disabled Fast Boot and Secure Boot in BIOS.
Tried different USB ports (USB 3.0 and USB-C).
Checked the drive on Windows; it works fine for data storage.