0

I have a brand new ~465GiB SSD that I am trying to partition for Ubuntu 18.04.3.

I may have made the mistake of turning it into a startup disk using the startup disk creation tool.

I have since had trouble installing Ubuntu on it. To try to fix the issue, I created an installation USB stick and I was able to successfully boot into it and can see the SSD on the system.

Following instructions from here, I was able to successfully partition the SSD into an EFI(255MiB), swap(12GiB) and /root(rest of space) during the 5th part of the installation process. (My ram is 8GiB)

However, whenever I click “install now” I always get a “Failed to create swap area on partition #x.” The are no other devices connect to the system so installer only sees the SSD.

I ran these two commands in terminal; commands

And the SSDs mountpoint is listed as /cdrom

Could this be what’s causing the swap creation failure in the installer? If it is, how can I fix it? If it isn’t what commands can I run to troubleshoot this issue?

NB: I do not have a CD-ROM with Ubuntu on it. I’ve only got the USB stick.

Thanks.

4
  • obviously you made mistakes when you partitioned the drive and you don't need that big swap, read here help.ubuntu.com/community/SwapFaq also help.ubuntu.com/community/DiskSpace
    – JoKeR
    Dec 8, 2019 at 23:04
  • With a smallish 500G SSD, don't manually partition the drive, let the Ubuntu installer do it. Lay down a fresh GPT partition table (this will wipe the drive) and reinstall Ubuntu. Report back. Start comments to me with @heynnema or I may miss them.
    – heynnema
    Dec 9, 2019 at 17:17
  • @heynnema I wiped the drive and reinstalled Ubuntu with 1 issue; grub could not be installed but I was able to manually install it later on and reboot into the SSD with no issues. Thanks!
    – leebyte
    Dec 10, 2019 at 3:50
  • Glad it's working for you. Thanks for the update.
    – heynnema
    Dec 10, 2019 at 3:53

1 Answer 1

0

Using the live USB I unmounted, and edited the SSD via the Disks tool; resetting it to its default state, then rebooted and reinstalled Ubuntu with no issues. I didn’t have to manually partition the drive like before.

Thanks @heynnema

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .