You are not logged in.
Hey all, after an update today I accidentally broke something - I googled the error message on my Ubuntu install and it sent me to the pacman Arch Wiki page, at the very bottom -
Q: After updating my system, I get a "unable to find root device" error after rebooting and my system will no longer boot.
A: Most likely your initramfs got broken during a kernel update (inproper use of pacman's --force option can be a cause). Use the below procedure in order to restore it.
Boot from a Arch live-cd. Once booted, run:
# mkdir /mnt/arch
# mount /dev/sdx /mnt/arch (your root partition)
# cd /mnt/arch
# mount -t proc proc proc/
# mount -t sysfs sys sys/
# mount -o bind /dev dev/
# mount /dev/sdx boot/ (your /boot partition)
# chroot . /bin/bash
# pacman -Syu
# pacman -S udev
# pacman -S mkinitcpio
# mkinitcpio -p linux
Afterwards, unmount and reboot.
OK, so i followed those instructions, however when I got to doing pacman -Syu I get a string of errors:
:: Synchronising package databases...
error: failed retrieving file 'xorg110.db' from catalyst.apocalypsus.net : Could not resolve host: catalyst.apocalypsus.net; Unknown error
error: failed to update xorg110 (download library error)
error: failed retrieving file 'core.db' from mirror.bytemark.co.uk : Could not resolve host: mirror.bytemark.co.uk; Unknown error
error: failed retrieving file 'core.db' from archlinux.mirrors.uk2.net : Could not resolve host: archlinux.mirrors.uk2.net; Unknown error
error: failed retrieving file 'core.db' from mirror.cinosure.com : Could not resolve host: mirror.cinosure.com; Unknown error
error: failed retrieving file 'core.db' from mirror.lividpenguin.com : Could not resolve host: mirror.lividpenguin.com; Unknown error
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.bytemark.co.uk : Could not resolve host: mirror.bytemark.co.uk; Unknown error
error: failed retrieving file 'extra.db' from archlinux.mirrors.uk2.net : Could not resolve host: archlinux.mirrors.uk2.net; Unknown error
error: failed retrieving file 'extra.db' from mirror.cinosure.com : Could not resolve host: mirror.cinosure.com; Unknown error
error: failed retrieving file 'extra.db' from mirror.lividpenguin.com : Could not resolve host: mirror.lividpenguin.com; Unknown error
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.bytemark.co.uk : Could not resolve host: mirror.bytemark.co.uk; Unknown error
error: failed retrieving file 'community.db' from archlinux.mirrors.uk2.net : Could not resolve host: archlinux.mirrors.uk2.net; Unknown error
error: failed retrieving file 'community.db' from mirror.cinosure.com : Could not resolve host: mirror.cinosure.com; Unknown error
error: failed retrieving file 'community.db' from mirror.lividpenguin.com : Could not resolve host: mirror.lividpenguin.com; Unknown error
error: failed to update community (download library error)
error: failed retrieving file 'multilib.db' from mirror.bytemark.co.uk : Could not resolve host: mirror.bytemark.co.uk; Unknown error
error: failed retrieving file 'multilib.db' from archlinux.mirrors.uk2.net : Could not resolve host: archlinux.mirrors.uk2.net; Unknown error
error: failed retrieving file 'multilib.db' from mirror.cinosure.com : Could not resolve host: mirror.cinosure.com; Unknown error
error: failed retrieving file 'multilib.db' from mirror.lividpenguin.com : Could not resolve host: mirror.lividpenguin.com; Unknown error
error: failed to update multilib (download library error)
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : Could not resolve host: repo.archlinux.fr; Unknown error
error: failed to update archlinuxfr (download library error)
error: failed to synchronise any databases
error: failed to init transaction (download library error)
I've tried pacman -Syy (Returns the same errors) So I'm not sure what to do after that...
Any help to get me back on Arch is appreciated, Ubuntu's too slow!
Last edited by Reded (2012-03-27 02:06:38)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
https://bbs.archlinux.org/viewtopic.php?id=138201 ?
https://bbs.archlinux.org/viewtopic.php?id=135156 ?
Some other users said that the problem went away by itself: they tried again and it worked (they weren't using chroot).
Last edited by karol (2012-03-26 19:07:01)
Offline
The first one -
I can ping 8.8.8.8 but not any of the pacman mirrors.
ping: unknown host mirrors.kernel.org
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=54 time=54.3 ms
# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line
The second thread said his rc.conf file was on static not dhcp - Mine doesn't have any mention of those two terms in it.
EDIT:
Well I can't boot into my Arch install so I've not really got a choice other than chroot And I've tried it a few times with no result.
Last edited by Reded (2012-03-26 19:16:41)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
Am I missing something or is your /etc/resolv.conf basically empty? Try defining a dns server in there (example: "nameserver 8.8.8.8") once you're chrooted and then try to update again.
Burninate!
Offline
It seems it was me missing something, not you - I put nameserver 8.8.8.8 into resolv.conf and now -Syu is doing something!
I'll keep this open for a couple of minutes in case things stop happening again, thanks alot for that fix
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
Solved this problem however my original aim hasn't been fixed - I'll start a new thread to avoid confusion.
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
When pasting code, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like this
Offline