You are not logged in.
Pages: 1
Hello everyone,
I recently started working with Linux and decided to test it on a virtual machine. I followed some guides, checked forums, and eventually installed GNOME. Everything seemed to be going fine until I booted into the full OS with a graphical interface. When I tried to log in, I kept getting an 'incorrect password' message, even though my password was very simple (just a sequence of numbers).
I then switched to TTY to try entering my password there, but it still wasn't accepted. I’m not sure what’s causing this issue. I do have superuser access, and all necessary packages should be installed.
Would anyone be able to help me reset my password or figure out what might be going wrong? I was considering booting into live mode, but I'm not sure how to do that once the system is already installed.
For reference, I'm using VirtualBox 7.1.7.
Offline
How did you install Arch Linux?
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
How did you install Arch Linux?
I installed Arch Linux by following guide.
Step 1: Connect to the Internet
- **Ethernet**: No action needed.
Step 2: Configure Package Manager
- Edit mirrors: `nano /etc/pacman.d/mirrorlist`
- Enable parallel downloads: `nano /etc/pacman.conf`
Step 3: Disk Partitioning
- Find disk: `lsblk`
- Partition using `cfdisk`
```
1. EFI system → /boot/efi
2. Linux filesystem → /
```
Step 4: Format Partitions
```
mkfs.vfat /dev/disk1
mkfs.ext4 /dev/disk2
mkfs.ext4 /dev/disk3 # if /home is separate
```
Step 5: Mount Partitions
```
mount /dev/disk2 /mnt
mkdir -p /mnt/boot/efi && mount /dev/disk1 /mnt/boot/efi
mkdir -p /mnt/home && mount /dev/disk3 /mnt/home # if /home is separate
```
Step 6: Install Base System
```
pacstrap /mnt base base-devel linux linux-firmware linux-headers nano vim bash-completion grub efibootmgr gdm, ttf`s and gnome gnome-extra etc..
```
Step 7: Generate fstab
```
genfstab /mnt >> /mnt/etc/fstab
```
Step 8: Chroot into System
```
arch-chroot /mnt
```
Step 9: Enable Services
```
systemctl enable NetworkManager
systemctl enable <display_manager>
```
Step 10: Create User & Set Passwords
```
useradd -m <username>
passwd <username>
passwd # for root
```
Grant sudo access: `nano /etc/sudoers`
Step 11: Set System Language
```
nano /etc/locale.gen # Uncomment en_US.UTF-8 UTF-8
locale-gen
echo 'LANG=en_US.UTF-8' > /etc/locale.conf
```
Step 12: Install Bootloader
```
grub-install /dev/disk
grub-mkconfig -o /boot/grub/grub.cfg
```
Step 13: Reboot into New System
```
exit
umount -R /mnt
reboot
```
This is a shortened and translated guide, so there may be some errors in Bash commands, etc.
Offline
When I tried to log in, I kept getting an 'incorrect password' message, even though my password was very simple (just a sequence of numbers).
I then switched to TTY to try entering my password there, but it still wasn't accepted. I’m not sure what’s causing this issue. I do have superuser access, and all necessary packages should be installed.
Are you trying to login as the user you created?, try to login as root in the tty environment and change the password from there.
Sincerely,
LL
--- asyync1024
Offline
monrirun wrote:When I tried to log in, I kept getting an 'incorrect password' message, even though my password was very simple (just a sequence of numbers).
I then switched to TTY to try entering my password there, but it still wasn't accepted. I’m not sure what’s causing this issue. I do have superuser access, and all necessary packages should be installed.Are you trying to login as the user you created?, try to login as root in the tty environment and change the password from there.
Sincerely,
LL
it works! I really messed up with this, thanks a lot!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1