You are not logged in.
Pages: 1
Hello,
I was migrating from 32 bit to 64 bit following this wiki page: https://wiki.archlinux.org/index.php/Mi … hitectures
I used Method 2: from a running system.
Everything went well untill I was at step:
# pacman -S lib32-glibc
error: failed to commit transaction (conflicting files)
lib32-glibc: /usr/include/gnu/lib-names-32.h exists in filesystem
lib32-glibc: /usr/include/gnu/stubs-32.h exists in filesystem
lib32-glibc: /usr/lib/ld-linux.so.2 exists in filesystem
Errors occurred, no packages were upgraded.
[user@system ~]$ sudo rm -rf /usr/include/gnu/lib-names-32.h /usr/include/gnu/stubs-32.h /usr/lib/ld-linux.so.2
[user@system ~]$ sudo pacman -S lib32-glibc
-bash: /usr/bin/sudo: No such file or directory
OOPS! I should have run --force option, then I probably would be running 64 bit already!
Now I'm trying to repair my system from a Live usb stick (x86_64).
What I have done thus far:
mount /dev/sda2 /mnt
pacman --root /mnt -Syy
pacman --root /mnt -S base (just to be sure)
arch-chroot /mnt
But when I run arch-chroot, I get the following message:
/bin/bash: error while loading shared libraries libreadline.so.7 wrong ELF class: ELFCLASS32
Can someone help me further, I already tried booting into the system but I get kernel panic at the boot!
Last edited by Ztjuh (2017-04-05 17:31:40)
Offline
So I copy'ed all files from /lib/ to /mnt/lib/ now all errors are gone when I arch-chroot into /mnt.
I'm trying to mkinitcpio -p linux, but it's erroring out
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
==> ERROR: module not found: `some_module`
(this 200 times or so)
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
Last edited by Ztjuh (2017-04-05 14:18:14)
Offline
After running:
# depmod -a <kernel name>
mkinitcpio -p linux, was working again!
Offline
So, is it working in x64 now? If so, be sure to mark the thread as solved.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Yes it's working
Offline
Pages: 1