You are not logged in.

#1 2013-12-26 23:58:17

mkingston
Member
Registered: 2013-08-22
Posts: 4

[SOLVED] cannot find root device after pacman -Syu

Today I had a problem after pacman -Syu. Of course, my problem stemmed from not paying attention to the following (from https://bbs.archlinux.org/viewtopic.php?id=57205):
<b>Read pacman's output while upgrading.</b>

I could no longer boot. I received a message "cannot find root device" or something similar indicating a device with the appropriate UUID had not been found and I was being dropped into a recovery shell, then, when I typed exit, an emergency shell, followed shortly by a freeze.

After some investigation it appeared my initramfs was broken/non-existent/something after the install. I booted into a live CD and found that updating pacman again, and mkinitcpio -p linux both displayed the following error: "Failed to create temporary working directory in /tmp". Long story short: mktemp was segfaulting. This should be extremely easy to check if you're having a similar problem. I replaced it with the version on the live CD and ran the pacman update again. Success. If you do this, you may need to make sure your live cd architecture and installed kernel architecture are the same.

I'm not sure of the etiquette here, so I'm posting this in case someone else has the same problem I did; and benefits from a similar solution. I have checked the etiquette post and I don't think it's clear whether it's kosher to post things that don't actually require a solution. However, if I have misinterpreted the rules/etiquette and/or this type of post is considered extraneous please remove it.

Offline

Board footer

Powered by FluxBB