You are not logged in.
Pages: 1
Yesterday i turned my notebook off and now when i turn it on .... "/bin/systemd cannot be found" ... !?!
I did an update but i rebooted several times before turn it off and everything went well ... I don't know what to do, can you help me?
Last edited by TheImmortalPhoenix (2013-04-02 18:57:23)
Offline
Boot to a liveCD/usb and investigate.
Mount your root partition and see if the file is there, if not you may have to use pacman/pacstrap to reinstall systemd.
If it is there, check your bootloader configuration as it may be mounting the wrong partition as root - without other information, I suspect this is the most likely issue.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
In addition to Trilby's good suggestions, check your logs.
You may also want to update your thread title; it isn't a kernel panic and you may get more responses with an accurate title.
Not a Kernel & Hardware issue, moving to NC...
Offline
@jasonwryan: sorry for wrong posting...
I followed Trilby's suggestion but i can't chroot my system, error is "/bin/bash doesn't exist"
I used live cd of Arch, Chakra and Ubuntu (64 bit, my system is 64 bit too)
Offline
To be sure were all on the same page, can you describe your partitioning scheme (example: mine is sda1=/boot sda2=swap sda3=/ sda4=/home) and describe which steps in the chroot process you've taken so far (e.g. did you mount to /mnt/, and which partitions in which order)?
What does an `ls -l` of your mounted root partition return?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Chrooting should not be necessary with the pacstrap command (or using pacman with an alternate rootfs and whatnot).
Offline
I have just one partition /dev/sda5 --> ext4 --> / (Other partitions contain windows and data)
I used these commands:
sudo mount /dev/sda5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sysThen i try to run "sudo chroot /mnt" but i have the error i wrote before..
'ls -l' of /mnt gives me all the directories (boot, bin, usr, home etc)
Offline
Instead of insisting on using a chroot, reinstall the recommended packages above, simply using pacman and specifying the rootfs as /mnt, or simply do this from the Arch live media and use pactrap.
Offline
Could you tell me the exact command, please?
Offline
I agree with W.W. Chrooting is not needed. I started there as - if it had worked - it would be a good way to get to the bottom of this. Pacman/pacstrap will do the job. But you can also explore the mounted filesystem a bit to try to get to the bottom of what actually happened. For example, are the files there? Is there a /mnt/bin/bash or /mnt/bin/systemd file? If so, are they properly symlinks to /usr/bin/bash, /usr/bin/systemd?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Could you tell me the exact command, please?
Really? You need to use pacstrap... it has a help section...
Offline
After checking my partition again, i noticed that grub.cfg is missing from /boot/grub ... I think that it's tha cause of the problem, how could i generate a new grub.cfg starting from my /etc/default/grub file?
Offline
If I did read well what you're saying, to generate one:
# grub-mkconfig -o /boot/grub/grub.cfgI think you could have easily found that, as it is even in the Beginner's Installation Guide
Offline
If I did read well what you're saying, to generate one:
# grub-mkconfig -o /boot/grub/grub.cfgI think you could have easily found that, as it is even in the Beginner's Installation Guide
I know i should use that command, but in live i get errors, i don't remeber now the exact error, something concerning "onion", i'll check in these days and i'll tell you
Offline
<snip>
something concerning "onion"
<snip>
WTF!?
Offline
Pages: 1