You are not logged in.

#1 2019-05-04 18:00:46

easysmilez
Member
Registered: 2019-05-04
Posts: 7

[SOLVED] bootup hangs at hostname service

Hello everyone,

I finally got arch installed and managed to break it right away. I installed wayland and updated my system with

Yay -Syu

And now i cannot start xorg. The loading stops after "ok: started hostname service."

When i alt + F2 and type startx, theres a line that says
"modprobe: FATAL: Module i915 not found in directory /lib/modules/5.0.10-arch1-1-ARCH"
Then it says
"Xinit: Unable to connect to x server: connection refused

I uninstalled all programs i installed including wayland and sway but its still stuck.

Also my .xinitrc file says

Xbindkeys &
Clight &
Exec startkde

Thanks in advance

Last edited by easysmilez (2019-05-04 19:24:49)

Offline

#2 2019-05-04 18:03:50

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: [SOLVED] bootup hangs at hostname service

Welcome to the arch linux forums easysmilez.
What is the output of the following:

uname -a
pacman -Q linux

Please also use code tags for commands and their outputs.

Offline

#3 2019-05-04 18:12:58

easysmilez
Member
Registered: 2019-05-04
Posts: 7

Re: [SOLVED] bootup hangs at hostname service

The input of uname -a is:

Linux archenemies 5.0.10-arch1-1-ARCH #1 SMP PREEMPT sat Apr 27 20:06:45 UTC 2019 x86_64 GNU/Linux

The input of pacman -Q Linux is

Linux 5.0.11.arch1-1

Offline

#4 2019-05-04 18:14:39

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: [SOLVED] bootup hangs at hostname service

Did you reboot since updating the kernel?

Offline

#5 2019-05-04 18:16:37

easysmilez
Member
Registered: 2019-05-04
Posts: 7

Re: [SOLVED] bootup hangs at hostname service

Yup! Many times. I dont know. I installed wayland and updated the system and now its not working

Offline

#6 2019-05-04 18:19:17

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: [SOLVED] bootup hangs at hostname service

Most common cause then would be /boot not being mounted when linux 5.0.11.arch1-1 was installed.
Check the fstab for an entry for /boot.

Offline

#7 2019-05-04 18:23:53

easysmilez
Member
Registered: 2019-05-04
Posts: 7

Re: [SOLVED] bootup hangs at hostname service

The partition /dev/sda1 isnt mounted to /boot. How do you mount it so that it mounts by itself on boot? And thank you for figuring my problem out

Offline

#8 2019-05-04 18:27:55

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: [SOLVED] bootup hangs at hostname service

fstab See also Persistent_block_device_naming.
Edit:
First do check by mounting sda1 and checking it contains vmlinuz-linux and the output of fille for that vmlinuz-linux shows it is 5.0.11-arch1-1-ARCH.
If it does reinstall linux.  Add the fstab entry for /boot.  Then to remove the misplaced files unmount /boot and remove /boot/vmlinuz-linux, /boot/initramfs-linux.img and /boot/initramfs-linux-fallback.img.

Last edited by loqs (2019-05-04 18:35:40)

Offline

#9 2019-05-04 18:54:21

easysmilez
Member
Registered: 2019-05-04
Posts: 7

Re: [SOLVED] bootup hangs at hostname service

Right now im trying to mount my boot partition (/dev/sda1) to /boot or /mnt/boot but it says
"Mount: /mnt/boot: unknown filesystem type 'vfat'

Should i reformat the partition and then reinstall linux and systemd boot for it to work?

Offline

#10 2019-05-04 18:57:59

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: [SOLVED] bootup hangs at hostname service

No I forgot the vfat module would not be available.  Use the live media.

Offline

#11 2019-05-04 19:13:37

easysmilez
Member
Registered: 2019-05-04
Posts: 7

Re: [SOLVED] bootup hangs at hostname service

THANK YOU so much. My system works now!

How do i mark this question as solved? :D

Last edited by easysmilez (2019-05-04 19:24:25)

Offline

Board footer

Powered by FluxBB