On www.archlinux.it I did not find to exclude filesystem and bash. How can I solve now?
It's on the front page, under the date 04-06-2013: http://www.archlinux.it/forum/viewtopic … 15&t=17558
]]>I think I have the same problem. First I only had grub command line. After I reinstalled grub I am getting:
Unable to find root device UUID=(...)
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
I managed to chroot into the system and run
mkinitcpio -p linux
As it is mantioned above. This went fine but did not managet to fix the problem. What could I do more? Please help.
]]>I used a LiveCD for this. I had a GParted Live CD hanging around, so I used that, but I imagine that any LiveCD that will get you a root terminal will do. You might have to make a LiveCD on another computer if you no longer have one that works.
Once in the terminal you can follow Scimmia's instruction: "You need to chroot into the system and rebuild your initcpio (mkinitcpio -p linux)" The instructions for how to chroot into the Arch system are here: Arch Wiki - Change Root.
My hard drive is partitioned as follows: /dev/sda1 is the boot partition, /dev/sda3 is the root partition, and /dev/sda4 is the home partition. I mounted these as instructed on the Change Root ArchWiki page. I then mounted the temporary file systems as instructed. I skipped the internet connection command, as no internet connection is necessary for this, and I went right for the chroot command.
# chroot /mnt/arch /usr/bin/bash
I then issued Scimmia's command:
# mkinitcpio -p linux
This returned for me the same error that Zlid had mentioned: "Error:specified kernel image does no exist:/boot/vmlinuz-linux" I checked on my /boot directory and found it to be empty. My chrooted Arch system evidently did not recognize my earlier mount of /dev/sda1. The simple solution was to mount my boot partition again, within the chrooted system, as Simmia suggested:
# mount /dev/sda1 /boot
I ran the command again:
# mkinitcpio -p linux
The command worked for me this time. The process warned of some "deprecated hooks". If you see this, you might want to use nano to edit the list of hooks in /etc/mkinitcpio.conf as instructed and then run the mkinitcpio command again, but I think that is optional, as the process seemed to substitute the updated hooks on its own.
This worked for me. No more tears! I hope it works for you. Thanks to Scimmia for the help.
]]>Right now i can't go into chroot
chroot /mnt/arch /usr/bin/bash
chroot: failed to run command /usr/bin/bash: No such file or directory
I've red that, I should use pacstrap to repair chroot, but I have no idea how to do that.
]]>mount the drive and take a look, /bin, /sbin, and /usr/sbin should all be symlinks to /usr/bin, and all of your programs should be in /usr/bin.
]]>pacman -Syu --ignore filesystem
I've got 2 errors:
first after trying run any application:
/usr/bin: no such file or directory
second after reboot:
ERROR: device 'UUID=***' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=***'.
After chroot and
mkinitcpio -p linux
I've got:
/usr/bin: no such file...
I have two partitions / and /home
Could anyone help me ?
]]>kernel image does no exist:/boot/vmlinuz-linux
Anyone having an idea how to fix the initcpio?
The error seems pretty obvious -- you're missing /boot/vmlinuz-linux, which is your kernel.
]]>I am currently having the same issue as Riccardo. I did the same mistake forgetting to ignore bash.
I am trying to solve the problem by running mkinitcpio -p linux after chroot into the system but there is no /boot/vmlinuz-linux image.
mkinitcpio -p linux
==> buiding image from present: default
-k /boot/vwlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==>Error:specified kernel image does not exist: /boot/vmlinuz/-linux
==>building image from present: fallback
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Error:specified kernel image does no exist:/boot/vmlinuz-linux
Anyone having an idea how to fix the initcpio?
]]>riccardo,
Please use BBCode code tags. Note there is also a link under each 'post' box.
Thanks.
Ok, next time I will use it.
Thank you.
Riccardo
You need to chroot into the system and rebuild your initcpio (mkinitcpio -p linux)
It works! Thank you very much!
Riccardo
]]>So you ran:
[2013-06-04 19:49] [PACMAN] Running 'pacman -Syu --ignore filesystem'
After we explicitly stated:
pacman -Syu --ignore filesystem,bash
Which lead to...
[2013-06-04 19:52] [ALPM-SCRIPTLET] /tmp/alpm_FHX5Oz/.INSTALL: /usr/bin/mkinitcpio: /bin/bash: bad interpreter: File o directory non esistente
On www.archlinux.it I did not find to exclude filesystem and bash. How can I solve now?
Riccardo
]]>