You are not logged in.
hi, i update my laptop today and it update a new version of bash then laptop freeze i try to change to tty1 but dont work, i push the power bottun turn laptop on and for my surprise i received a tty1 screen that show
"Arch Linux 2.6.38-ARCH ((none)) (tty1)
(none) login:"
i try to login as root but this message is showing
Cannot execute /bin/bash: Exec format error
i need help im using this laptop to build a project for my degree and now i can acess to my data
please help me
Last edited by semog (2011-05-08 21:12:19)
Offline
you can't chroot into it if bash is broken.
you need to mount the root partition, set up the networking in the livecd and mirrorlist and do pacman -Sy -r /path/to/mounted/root bash
Give what you have. To someone, it may be better than you dare to think.
Offline
@wonder
i boot arch live cd
mount my drive sdb1 and do pacman -Sy -r /mnt/sdb1/
pacman update i reboot and nothing change i do anything wrong?
Offline
you didn't install bash
pacman -Sy -r /mnt/sdb1/ bash
Give what you have. To someone, it may be better than you dare to think.
Offline
i try this 2 times to make shure im doing right but when i do pacman -Sy -r /mnt/sdb1/ bash this actualize pacman to 3.5 replace xz-utils with xz i do pacman-db-update and do the pacman command again and pacman update the repos and show me error: database not found
i was write the code wrong i forgot the -r
so now pacman try to install bash but show me a lot of files with the message existes in filesystem so Errors occurred, no packages were upgraded
Last edited by semog (2011-05-08 20:29:51)
Offline
show me a lot of files with the message existes in filesystem so Errors occurred, no packages were upgraded
Have you tried the -dd switch? (-dd skips all checks)
I like pie. Especially with a side of Arch.
Offline
solved!!!!
i just solve the problem since i cant update bash from live cd i copy bash from /bin/bash from my other machine and paste in my broken machine, and all work now
thaks for the help maybe exist a better way to solve this but for me this was the 1st thing that come to my mind after i cant do what you guiz sugest and work
thanks
Offline