HELP! Arch installation failing every time.
I'm so confused. No matter what I do, I always get stuck at the pacstrap installation part of Arch. I do
"pacstrap /mnt base linux linux-firmware nano amd-ucode" and then in the end, it said "error: failed to commit transaction (conflicting files)." It ALWAYS say that. I have no idea how to fix. It worked the first time around and then I uninstalled Arch because I messed something up by uninstalling Python. But the point is, no matter how many USBs I try, it'll always save the cache. I delete my partitions every time I restart and then I get a new USB. None of them work. And then Arch even say "last mounted on..." HOW!? I erased EVERYTHING. This is the bottleneck that prevents me from using chroot. When I use chroot, "arch-chroot /mnt", it says "chroot: failed to run command /bin/bash: No such file or directory." I have no idea what's wrong. Before you ask, yes, I have generated fstab before arch-chroot.
EDIT: seems like it always focuses on the USB storage. Not the internal hard drive...
EDIT: I tested it with an external hard drive and it worked! All tutorials show the internal drives, not the USB storage. Why is my showing both when I do lsblk???
SOLVED: I reinstalled Windows and wiped hard drive
Edited 22 Feb 2021. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 38% up
- Kind
- Text
- ID
- lo0uvf
13 comments
You're getting the /bin/bash error because
bashisn't getting installed, because yourpacstrapcommand is failing.What do you mean you 'uninstalled Arch', how exactly? Also, are you 'erasing' by removing files, or are you freshly formatting your drives?
Yes, when I say uninstall Arch I mean I literally formatted my shrunk partition until it's unallocated. I erase by using the windows DISKPART and then list disk 1 (the usb) and "clean".
are you sure you mounted your root partition BEFORE running pacstrap?
uhh.... crap. I'm not sure. Trying again tomorrow.
Take a break, do some research on how filesystems, mounting and partitions work, try to understand what you are doing, and then try again.
Here's the resource that works for me, and is the basis for this community: https://wiki.archlinux.org/index.php/Installation_guide
By using that resource, you can be sure you're using the most updated documentation, and not hurting yourself by struggling with unnecessary errors and workarounds.
Good luck!
You know, if you delete a partition and create a new one in the exact same place it can actually reuse the filesystem if I'm not mistaken. You don't want to delete the partition to get rid of the old installation, you want to format it! After mounting on /mnt you can always
ls /mntto make sure the partition is empty.Never thought of that. Thank you!
Deleted before we saved it.
I formatted /dev/nvme0n1p5! It still doesn't work! It still shows the same error.... I'm super confused at this point. I've formatted the shrinked drive from Windows (before deleting it), I've formatted the USB and downloaded a brand new ISO... maybe my hard drive problem?
EDIT: realized only happens when I pacstrap amd-ucode
Deleted before we saved it.