I am trying to install Lubuntu on a laptop but not even 10 seconds into the start of the install, I receive an error saying that the partitioning failed. The error message is the following:
The installer failed to create a partition table on WDCWD10JPVX-60JC3T1
======================================================
Create a new partition table (type: gpt) on 'dev/sda'
====================================================== ======================================================
Job: Create a new partition table (type: gpt) on 'dev/sda' ====================================================== =======================================================
Command: sfdisk /dev/s
===================================================== I suspect that it has to do with the boot/efi partition, but I am not sure. The laptop is currently booting on UEFI mode and has Windows 10 installed which will be overwritten once I am done. Here's my latest partitioning table that failed for some reason:
/boot/efi, 1.0 GiB with "boot" flag
no mount point, 16.0 GiB with "swap" flag
/ (root), 30.0 GiB with "root" flag
/home, 100.0 GiB with no flag
The rest of the space has no mount point and is just formatted with ext4 for storage.
Is something wrong with my configuration? I feel like I need a partition with GRUB (or something similar) mount point. I tried to stay true to the recommended partitioning scheme that I read on the Ubuntu wiki. Any help is highly appreciated.
UPDATE:
It turns out that there was a partition (on the current state of my hard drive) with a lock sign and a cd-rom mount point that could not be unmounted/modified in any way. I erased that partition on Windows 10 and now the installing is running fine, so far at least.
Also, I thought. that Lubuntu is lightweight and would do fine with 30 GiB of memory? Even Windows 10 doesn't use that much. But If I am creating a new partitioning table, should Windows 10 mess with it somehow? Won't It will be overwritten anyway?
– Unrivalled confusion Feb 13 '21 at 22:18On the other hand, there is one partition with a lock sign next to it in my current scheme. I attempted and failed to use unetbootin to run Lubuntu installer from a hard drive partition a few hours ago (before I found my USB drive). It is that very same partition (with a cd-rom mount point). I cannot unmount or modify it using KDE partition manager, I think this may cause the problem I am having.
– Unrivalled confusion Feb 13 '21 at 22:35/
, but then no flag on "home"? That's not consistent. Also, if you plan an additional data partition formatted as ext4, then why so big home? If you keep your data in the additional ext4 data partition, then 10GB would plenty suffice for a home partition. Make the root (/
)a bit bigger, minimum 40GB. EFI is recommended at 512MB, but 1GB can't hurt much... – Levente Feb 13 '21 at 22:59In that case, I will make the root partition 45 GB and see how it works.
I'll just try out this manual scheme and if it gives me too much headache, I'll switch to the default options.
– Unrivalled confusion Feb 13 '21 at 23:01Regarding the error message, I thought the same but there was nothing else to show. I tried scrolling but nothing else came up. If it comes up again, I'll check more carefully. In any case, please let me know if my partition scheme is at least theoretically alright.
– Unrivalled confusion Feb 13 '21 at 23:18calamares
can finally handle it; same applies Ubuntu Studio usingcalamares
) – guiverc Jul 26 '22 at 22:51fallocate
to create space for a swap file – Charles Green Jul 27 '22 at 16:35