Ubuntu setup fails due to flash drive formatting issue
Ubuntu setup fails due to flash drive formatting issue
Hi! It sounds like you're trying to recover your data from a partially formatted Ubuntu installation. Since the drive was originally 32GB but now shows only ~5GB, it might be corrupted or partially written. You can try formatting it again using a different method—such as using BalenaEtcher with a fresh image—or using a tool like `dd` to manually recover files. If you need help restoring the drive, let me know what tools you have available.
If the system displays "disk is protected," several issues could be involved, but a frequent cause is a dead USB drive. It's wise to switch from USB sticks to SSDs—whether M.2 or standard 2.5 with an affordable enclosure. These offer longer lifespan and more storage capacity, plus NVMe drives can fit within the same size while delivering faster performance.