Has anyone run into the issue of not being able to log into their root account after a fresh install of Arch Linux? I have tried setting the root password twice with the passwd command within the chroot environment and even tried a complete reinstall but it doesn’t seem to work. When I reboot the vm and remove the iso file I get the arch log on screen but if I type root and my password I get a “Login incorrect” error. I’ve been googling around for this issue but everything tells me to follow these instructions https://wiki.archlinux.org/index.php/Reset_root_password[1] but they don’t seem to do anything for me.
I tried reinstalling again and made sure I followed the instructions exactly (from the Arch wiki) and I still have the same issue. I also tried making a different user account since I read somewhere that sometimes you are unable to log on as root if certain settings are present but I am not able to log in to that one either. I have tried a couple times to reset the password by booting from the iso and performing the following steps as described in the article above.
- Mounting my root partition with mount /dev/sda1 /mnt
- Entering the chroot session with arch-chroot /mnt /bin/bash
- Executing passwd both on my user account and the root user
- Exit the chroot session with exit
- Reboot the vm and eject the iso
but that doesn't seem to do anything. I don't get any error messages when I run the passwd command. I can't find much online about this issue other than a few posts which aren't applicable to me so I have no idea what to do next. So far I have checked to make sure I have the correct keymappings and that I am actually executing passwd from within the chroot session.
If it matters I am trying to install the latest arch version on virtual box running on OS X 10.11. Any suggestions for what to do would be greatly appreciated.
Edit: Additional info
I configured using a ext4 partition and I have made no modifications to the PAM