You are not logged in.
Pages: 1
Hi, I'm trying to use a liveusb to recover a bricked system. I screwed up the glibc update and my arch gets the whole "cannot find root" problem. I have a feeling that I'm missing something very simple, but here goes....
I'm mounting the existing arch system with
# mount -o defaults,exec /dev/sda /mnt/arch
doing all the other related mounts
then
# cd /mnt/arch
# chroot . /bin/bash
I run into a "permission denied" error when chroot tries to execute /bin/bash.
BUT...
# mount
reveals that for some reason the kernel isn't honoring my mount options!
Is there something I'm doing dead wrong?
-oboenerd
P.S. I just signed up, and as awesome as the captcha was, I had a tricky time trying to do it when the only linux comp in my house doesn't even boot. ;D
Last edited by oboenerd (2012-08-15 22:01:22)
"I quoted myself." -oboenerd
Offline
Hi, yes you missed something.
The system mountpoints.
cd /mnt/arch
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t devpts pts dev/pts/
and then...
chroot . /bin/bash
You may want to take a look at the wiki
https://wiki.archlinux.org/index.php/Change_Root
Hope to be helpfull
Offline
I had remembered the mountpoints,I was just typing on a touchscreen phone and I was just a tad too lazy to write them down. ;D
I managed to fix it by pacstrap-ing the base system again to reset whatever part of the system I broke and continued recovery from there.
For those googlers out there, I ran into two more problems while fixing, which I will outline my solutions in case anyone else runs into the same problem:
1. Somehow system permissions got really scrambled (I have still yet to understand how) could not login as any user.
Username: ********
Password: ********
Could not chdir to home directory /home/{user}: Permission deniedHowever, root account still worked. I believe that the problem permissions of the top folder (/).
chmod / 755^ was this the right thing to do? It seemed to work after this.
2. ATI Catalyst driver no longer supports R2000/R3000/R4000 graphics cards as of version 12.6
https://wiki.archlinux.org/index.php/AT … stallation points to a repo that supports these cards.
All and all, I can now mark this as SOLVED. Thanks.
Last edited by oboenerd (2012-08-15 22:01:02)
"I quoted myself." -oboenerd
Offline
Pages: 1