You are not logged in.
Hi guys,
after a `# pacman -Syyu` I got Xorg not starting and keyboard not working: I am unable to do anything.
I'm posting here pacman's log that I got by booting an Ubuntu Live CD: https://gist.github.com/anonymous/7517806
Any hint?
How do you recover a system once it's gone like this? Many thanks in advance.
J
Last edited by ifsixwasnine (2013-12-23 13:58:16)
Offline
It is hard to say since you don't say much about what "like this" is. Xorg not starting doesn't prevent you from booting. At what point does the keyboard not work? What boot loader/manager do you use or how do you boot? Can you use the keyboard at that point? If so, try editing the command line to boot to the command line or to the rescue target.
You may also be able to chroot into your system to fix it.
The pacman log doesn't show anything obviously wrong. pacman -S <package> should be safe - although it is probably better to do pacman -Syu first.
You need to look at the system journal to figure out what's going on.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Hi cfr, thanks for your reply.
I'm using GRUB as a bootloader but I made the really unfortunate choice of setting its timeout to 0 and I can't test if the keyboard works at that point.
I'd like to learn more about the chroot fixing: once I chrooted into my system, it takes just an other `pacman -Syu` -- hoping to receive some update which fixes the broken packages -- in order to fix it?
Offline
You could boot up with an arch live cd and mount your filesystems and chroot, then append "systemd.unit=multi-user.target" to your grub kernel parameters in the file /etc/default/grub, then regenerate grubs config. I assume your keyboard does actually work, and that X is the issue.
Read here: https://wiki.archlinux.org/index.php/sy … ent_target
Do you have a xorg.conf file that you manually created?
Edit: can you switch to a different tty? I assume not.
Could possibly be a kernel issue, remove "quiet" from your grub config file and regenerate it again. What system are you on?
Last edited by jrussell (2013-11-18 13:00:07)
bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U
Offline
Hi jrussell, thanks for your reply.
It actually was a kernel issue, once I downgraded to linux-3.11.6-1-x86_64.pkg.tar.xz everything went back fine again.
Offline
I wouldn't necessarily call this [SOLVED]. At best I would probably mention that you found a workaround. The addition of '(downgrade)' likely makes it fine, but just FYI for future threads. There are two reasons for this. One, others who find this thread are likely to dig into it thinking there is a real solution, and two, if you mark it as [Solved] it might generate less attention, lessening the chances of you actually being helped to a real solution.
Just my 1.46¢
Offline
I wouldn't necessarily call this [SOLVED]. At best I would probably mention that you found a workaround. The addition of '(downgrade)' likely makes it fine, but just FYI for future threads. There are two reasons for this. One, others who find this thread are likely to dig into it thinking there is a real solution, and two, if you mark it as [Solved] it might generate less attention, lessening the chances of you actually being helped to a real solution.
Just my 1.46¢
You're right, problem wasn't actually solved. In fact, yesterday I upgraded the whole system again and the same problem showed up, but I got it fixed.
Same scenario: after a boot (shorter than usual), what I had was a tty, but I noticed something that I hadn't noticed the last time: the prompt said "Arch Linux 3.11.[?]".
The kernel version was supposed to be 3.12.[?] so I started investigating and after several attempts, this is how I got the system working again:
1. Chrooted into the system
2. Wiped /boot
3. Re-installed grub
4. Re-installed linux kernel
5. Re-created grub.cfg
6. ???
7. Profit
I'm pretty sure that what originated the problem wasn't a "kernel issue" as I pointed out in my previous post, but it was an incorrect installation of grub: in fact, the grub prompt never showed up before yesterday, the system used to boot straight, ignoring the 5 seconds timeout.
Offline
That sounds like /boot was not mounted when the kernel was updated.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline