failed to create required partitions returning to step 1

When you run into problems installing MX Linux XFCE
Message
Author
codestruggler
Posts: 10
Joined: Fri Mar 29, 2019 12:52 am

failed to create required partitions returning to step 1

#1 Post by codestruggler »

Hello MX team,

After learning good things about MX Linux wanted to try it out on one of my machines. The machine earlier had ArcoLinux installed(A spin off of Arch). I created the live USB changed the boot order and started with the installation.
I selected "Auto-install using entire disk".
But while installing I get this error

failed to create required partitions returning to step 1

I came across one of the post about someone facing a similar issue but the solution is too technical for me to understand.
viewtopic.php?t=42541

Thanks and Regards

User avatar
BitJam
Developer
Posts: 2283
Joined: Sat Aug 22, 2009 11:36 pm

Re: failed to create required partitions returning to step 1

#2 Post by BitJam »

codestruggler wrote: Fri Mar 29, 2019 1:06 am Hello MX team,

After learning good things about MX Linux wanted to try it out on one of my machines. The machine earlier had ArcoLinux installed(A spin off of Arch). I created the live USB changed the boot order and started with the installation.
I selected "Auto-install using entire disk".
But while installing I get this error

failed to create required partitions returning to step 1

I came across one of the post about someone facing a similar issue but the solution is too technical for me to understand.
viewtopic.php?t=42541
Welcome! That was excellent research you did (I'm not being sarcastic). The solution in the thread you found is simple. Just reboot the live system and try again.

If that doesn't work then I have a more drastic solution that will quickly wipe out everything on your hard drive so you can start over. If you don't want to wipe out everything on your hard drive then DO NOT DO THIS. To wipe out a drive and start over, run this command in a terminal:

Code: Select all

sudo live-usb-maker --force=usb
It should list all of your drives, including your internal hard drive. Select that device. Then in the next menu select "Clear the partition table on a usb device". Then tell it to go ahead when it asks. This will clear out the partition table really well and allow gparted and/or parted to work.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

codestruggler
Posts: 10
Joined: Fri Mar 29, 2019 12:52 am

Re: failed to create required partitions returning to step 1

#3 Post by codestruggler »

I tried your solution but I get the same error. I also restarted but its the same.
I also restarted the last time around.

No matter how many times I format the sda gparted later always shows something like this.
http://i.imgur.com/sbCtqDb.png

May be mine is a really peculiar case.
Anything else that I may try ?

Thanks a lot.

User avatar
BitJam
Developer
Posts: 2283
Joined: Sat Aug 22, 2009 11:36 pm

Re: failed to create required partitions returning to step 1

#4 Post by BitJam »

I'm sorry it didn't work and I'm a little surprised. It looks like there is plenty of space to partition manually even if that ESP partition was not totally wiped out. The next thing to try is to manually partition. Here is a video: Using MX Linux 17 installer, partitions,format,UEFI. You may have a few more questions about it but this is not my area of expertise. The experts should be getting up in a few hours and they can help you further if you do have questions.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

User avatar
dolphin_oracle
Developer
Posts: 20000
Joined: Sun Dec 16, 2007 1:17 pm

Re: failed to create required partitions returning to step 1

#5 Post by dolphin_oracle »

I suggest the following.

1. Check the md5sum of the downloaded iso to make sure the download was good.

2. Run gparted from the menu (not from inside the installer)

3. With gparted format your drive as you want. The autoinstaller would make the following partitions
512 MB VFAT with an esp flag set
2GB. Swap
Remainder as root partition formatted ext4

Close gparted when done

4. Run the installer from the terminal
sudo minstall

5. In the installer choose "custom" rather auto. Choose your swap and root partitions. Leave home and boot set to "root" if you followed the partition scheme above.

6. When asked if.you want to format the partitions say NO (they are already formatted).


Let us know of any failure points. In the installer fails please also provide via copy and paste the output that will be in the terminal window.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Eadwine Rose
Administrator
Posts: 11948
Joined: Wed Jul 12, 2006 2:10 am

Re: failed to create required partitions returning to step 1

#6 Post by Eadwine Rose »

Shouldn't the media with which the install is made also be checked?
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

codestruggler
Posts: 10
Joined: Fri Mar 29, 2019 12:52 am

Re: failed to create required partitions returning to step 1

#7 Post by codestruggler »

I followed the video exactly but still get the same error.
Edit:
Sorry I did not see dolphin's reply, I will try his steps and report back.

User avatar
Adrian
Developer
Posts: 8266
Joined: Wed Jul 12, 2006 1:42 am

Re: failed to create required partitions returning to step 1

#8 Post by Adrian »

Dolphin's steps should help you with this, if you want to pinpoint the problem you can launch the installer from terminal "sudo -E minstall" and see what's the last messages that it spits when it tries to format the partitions that might give us a clue of what is going on on your system.

codestruggler
Posts: 10
Joined: Fri Mar 29, 2019 12:52 am

Re: failed to create required partitions returning to step 1

#9 Post by codestruggler »

Hello Adrian I already did the steps that dolphin_oracle mentioned before I saw your reply only difference is that i did
sudo minstall instead of sudo -E minstall.
I have screenshots of the step by step process that I followed while following Dolphins steps.

1. Partitions using gparted
http://i.imgur.com/bhvsZAE.png

2. launching minstall through terminal
http://i.imgur.com/cyMiMIL.png

3. Choosing partitions manually
http://i.imgur.com/wn75riB.png

4. I selected No when it asked me to format the partitions and got this error.
Failed to prepare the chosen partitions returning to step 1
http://i.imgur.com/PcY9xjo.png

User avatar
dolphin_oracle
Developer
Posts: 20000
Joined: Sun Dec 16, 2007 1:17 pm

Re: failed to create required partitions returning to step 1

#10 Post by dolphin_oracle »

the text in the terminal behind your screen shots might be handy.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “Installation”