Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Installer failed to create partition on disk - fresh runit-xfce iso (Read 256 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Installer failed to create partition on disk - fresh runit-xfce iso

Hi everyone. Running artix for some years now, admittedly still very much a noob.
 
hit a snag using the graphical installer today, got this message;

"Create a new partition (300.00 MiB, fat32) on ‘/dev/nvme0n1’

Job: Create new partition on device ‘/dev/nvme0n1’

Command: sfdisk --force --append /dev/nvme0n1

Job: Set the label on partition ‘/dev/nvme0n1p1’ to "EFI"

Partition table of partition ‘/dev/nvme0n1p1’ does not support setting names. Job ignored.

Job: Create file system ‘fat32’ on partition ‘/dev/nvme0n1p1’

Command: mkfs.fat -F32 -I -v /dev/nvme0n1p1

Command: sfdisk --part-type /dev/nvme0n1 1 c

Job: Set the file system label on partition ‘/dev/nvme0n1p1’ to ""

Setting label for partition ‘/dev/nvme0n1p1’ to

Command: fatlabel /dev/nvme0n1p1 -r"



So far I've tried rebooting and trying again, redownloading and making a fresh boot media, manually creating partitions in the installer, running gparted as root and reformatting the disk before trying the installer again, making sure dosfstools and also mtools were installed and updated, using fdisk to clear the partition signature and then trying the installer, checking the wiki and forum for similar issues,  and finally trying another iso (s6 xfce). The problem persists. TBQH, i dont really know what im doing.

If anyone can point me in the right direction, maybe something i missed in the artix documentation, or arch, i would be very grateful. please let me know if there is any info or specs I should share to help troubleshoot.

Re: Installer failed to create partition on disk - fresh runit-xfce iso

Reply #1
If this is a disk you don't mind erasing, open a terminal before launching calamares and issue the following:
Code: [Select]
$ sudo su
# dd if=/dev/zero of=/dev/nvme0n1 bs=1M count=1
Then run calamares as usual. If this fails too, perhaps you should consider either ditching EFI for BIOS boot or using a base installer.

Re: Installer failed to create partition on disk - fresh runit-xfce iso

Reply #2
If this is a disk you don't mind erasing, open a terminal before launching calamares and issue the following:
Code: [Select]
$ sudo su
# dd if=/dev/zero of=/dev/nvme0n1 bs=1M count=1
Then run calamares as usual. If this fails too, perhaps you should consider either ditching EFI for BIOS boot or using a base installer.


This ultimately worked for me after 2 attempts, but interestingly only when I chose the option to manually partition in calamares. The erase disk option gave the same result from op. Anyway thank you very much. Had a good laugh.

As an aside, after executing the above and installing the runit-xfce iso successfully, I decided to put my hand back in the fire and see if I would be able to get calamares to work using the erase disk option where it auto-partitions. I still a had a usb stick with the s6-xfce iso, and have been wanting to try s6, so I went for it, added some more variables to the mix by choosing btrfs (snapshots for subvolumes is on the "wanna try it out" list) and encrypting the drive. When choosing "erase disk" it threw the same error from the op.


Then on attempt #2 for s6 iso, when I again choose to manually partition it reported a successful installation. However when I powered on, after successfully decrypting the disk, and after loading the artix boot screen it threw an error that kernel wasnt loading iirc (I didnt keep a log or write it down, it was late) then after a moment it blue screened, i recall somewhere in the output seeing "kernel panic", so laughing some more I went back into the live env and dd'd again, manually created partitions again, this time choosing ext4 with separate / and home partitions, did not encrypt it, and that worked flawlessly. Posting from said install now, fun times. Thanks again for the help.


 
Artix forum uses a single cookie to remember youOK