You are not logged in.
I'm trying to do a fresh install of arch - about the millionth I've done (give or take ;-p) , but I've never encountered this problem before. I've set up, formatted and mounted my partitions. I run "pacstrap /mnt base linux linux-firmware" and everything goes as expected (except that it says base, linux and firmware are already installed - how is that possible?) with no errors and there is no /bin directory created. I cannot therefore chroot into the install since it cannot run /bin/bash:
chroot: failed to run command ‘/bin/bash’: No such file or directory
Edit: I doubt this is the cause, but just for full information: I'm installing / onto a logical partition in an extended partition. I can't see why that would cause this issue, but, as I say, full information.
Last edited by phunni (2019-12-27 22:30:30)
Offline
try it with arch-chroot /usr/bin/bash, it should work.
What filesystem are you installing on? What version of the filesystem package?
Edit: Reread, sounds like you're installing into a previous installation without reformatting?
Last edited by Scimmia (2019-12-27 19:22:07)
Offline
There was a previous install, but the root was on the partition that is now an extended partition. I'm assuming it's not possible to partition an extended partition since it only contains logical partitions and not a filesystem - is that not right?
Filesystem is ext4.
Last edited by phunni (2019-12-27 19:25:06)
Offline
Does /mnt/var/log/pacman.log contain entries from the previous install?
Offline
Does /mnt/var/log/pacman.log contain entries from the previous install?
Tragically the file doesn't exist - I really thought that might be the problem. I'll try clearing the logs anyway to see if that fixes it, but there's no sign of a pacman log.
Edit: wait! I was looking in /var/log - not /mnt/var/log. There was a pacman.log in there and I've deleted it and am trying again now...
Last edited by phunni (2019-12-27 22:08:52)
Offline
Nope - retying after removing the pacman.log and the pacman cache didn't help. There's still no /bin. There also doesn't appear to be a /usr/bin either now that I look closely. This install is screwed up...
I'm going to try unmounting and reformatting everything except my /home partition and see if that fixed anything.
Offline
Yup - doing all that seemed to fix it. Marking solved - even though I never did actualyl solve what was causing the problem...
Offline