You are not logged in.
During this night I've been trying to solve a problem that let me without access to my ArchLinux partition.
Booting the kernel.
:: Starting udevd...
done.
:: Running Hook [udev]
:: Triggering uevents...done.
Waiting 10 seconds for device /dev/by-uuid ...
ERROR: Unable to find root device '/dev/by-uuid'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty: job control turned off
[rootfs /]#The thing is that I've read about chrooting, I did chroot following the steps described on the Wiki https://wiki.archlinux.org/index.php/Change_Root but I have a problem with pacman and it's that I can't use pacman on chroot, it says: command not found. I must've done something wrong but I have no clue.
My disk is sda1 and I don't use a special partition for /boot or /home.
Thank you in advance.
Last edited by ffuentes (2012-08-17 04:33:38)
Offline
https://wiki.archlinux.org/index.php/Pa … nger_boot.
If you can't run any other command (ls, fdisk, uname, etc), it probably means that you messed up the glibc migration.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Thanks for the reply.
All those commands work. Do I have to install pacman? A path issue?
Help please ![]()
Offline
Perhaps you can rebuild pacman in the chroot.
See https://bbs.archlinux.org/viewtopic.php?id=146308 post#13
Be aware it isn't formatted correctly, missing code setup to clarify the steps but it will restore pacman when executed correctly.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
/var/cache/pacman doesn't exist.
The post there seems to be about a pacman installation that's behaving badly, my case is about a pacman (and most applications) that can't be executed as though they didn't exist.
Offline
First of all, do you use a separate /var or /usr partition? If you do not, to reinstall pacman, pop in the latest Arch install media and run:
# mount /dev/sdxY /mnt #Your root partition.
# pacstrap /mnt pacmanThere. Pacman has now been reinstalled. But don't reboot just yet.
# mount /dev/sdxZ /mnt/boot #Your boot partition (if you have one).
# arch-chroot /mnt
# pacman -Syu udev mkinitcpio
# mkinitcpio -p linuxI have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Thanks, I'm gonna try this. So, I have to download a copy of Archlinux, right?
Offline
My post may be viable because I had the same problem pacman not responding to any command. However, it may not fit your situation which is par for the curse!
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
I have issues installing pacman with pacstrap. It just says:
===> ERROR: Failed to install packages to new root
And lots of stuff that "exist in the filesystem".
EDIT:
Last edited by ffuentes (2012-08-15 23:02:49)
Offline
Can I uninstall stuff in the same way pacstrap install packages?
Offline
Mount your partition(s) to /mnt, "arch-chroot /mnt", and go wild with pacman.
https://wiki.archlinux.org/index.php/Pa … g_packages
Last edited by DSpider (2012-08-16 07:32:56)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I must've explained it badly. Pacman still doesn't work. After writing "pacstrap /mnt pacman" it says what's shown on the #9 picture, therefore pacman's installation fails.
Offline
https://wiki.archlinux.org/index.php/Pa … tall_it.3F
Maybe this will help.
I have no idea what you did to mess it up... Have you tried the fallback entry?
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Thanks. Yeah, it's beyond the kernel. It won't boot even using fallback. I will try and if this doesn't work I will backup and reinstall.
Offline
Even if the kernel and the initramfs image are shot, you should still be able to chroot into the system and work from there.
Heh. I removed everything from my /boot folder once.
It wasn't as bad as it sounds. I learned a lot in the process. But I was stuck on Windows for about three weeks...
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Well, I've made it work but I can't do anything about pacman because it doesn't let me install stuff
GPGME error: Inappopriate ioctl for device
hwids: missing required signature
systemd-tools: missing required signature
mkinitcpio: missing required signature
error: failed to commit transaction (commit or corrupted package (PGP signature))
Errors occured, no packages were upgraded
And I've been trying to disable the package signature checking but I can't get it work.
UPDATE: I've set it to "SigLevel = Never" and now it gives me an error of conflicting files. (X exists in filesystem)
Last edited by ffuentes (2012-08-17 01:36:36)
Offline
I've solved the mystery.
Well, I realised that I had another serious issue with filesystem (that was mentioned on the Archlinux's news https://www.archlinux.org/news/filesyst … equired-1/ and https://www.archlinux.org/news/the-lib- … a-symlink/ ) so I had to figure out which packages were using /lib to remove them. Also I had to disable pacman's signature checking system because as I said before it didn't seem to work.
After removing every package that happened to use /lib at that time I eventually could perform the command "pacman -Syu" and later on "mkinitcpio -p linux" worked out.
Thanks DSpider.
Offline