archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.37k stars 547 forks source link

Boot process stuck creating swap on /dev/zram0 #1230

Open bertez opened 2 years ago

bertez commented 2 years ago

Hi,

I'm using archinstall on a semi-old laptop (t480) with a nvme disk... the installation goes smoothly but when I boot the new system it gets stuck creating swap on zram0 (see screenshot below)

image

I've noticed the following:

Is it possible that the problem is linked to this issue https://github.com/archlinux/archinstall/issues/1181

Thanks!

bertez commented 2 years ago

Additional testing

-With zram enabled, the system fails 9 out of 10 times to startup. -I attempted to install the system without zram and then installed it, and the problem reappeared.

So, this is most likely not an archinstall issue; I'll keep looking into it and submit on a different bug tracker.

closing this

Torxed commented 2 years ago

Thank you for debugging. A tip might be to add to the kernel boot line: loglevel=7 and see if there's a kernel message that might explain it.

bertez commented 2 years ago

Thanks for your reply. This is the log of a failed boot process:

https://gist.github.com/bertez/1e37b988b72f30e87de70aa1f563c555

I tried a few moments ago to install fedora, which uses zram and it worked fine.

bertez commented 2 years ago

got this response:

https://github.com/systemd/zram-generator/issues/155#issuecomment-1133901164

seems like a conflict with udisks2 ...

Torxed commented 2 years ago

That is strange, I have no recollection of us installing udisk2, has base been using this all the time?

bertez commented 2 years ago

I think udisks2 is a dependency of xfce->thunar->gvfs->udisks2 ...

Torxed commented 2 years ago

Ooh sneaky! ok in that case we need a workaround for xfce. Because profiles will be the last thing that goes in. Which means zram wont know about udisk2 since it gets pulled in later.

Thank you for bringing this to our attention, I will have a look after i fix some disk issues in master :)

bertez commented 2 years ago

Thank you!