You are not logged in.

#1 2013-03-08 00:14:34

parcival
Member
From: Zürich
Registered: 2013-02-27
Posts: 18

Arch drops me to a rescue shell after kernel update

Hello everyone,

I am an Arch newbie and glad if you hold my hand for a little on this one.

Last night I did my first

pacman -Syu

and among others it also updated my kernel to whatever kernel currently in the repositories is. After that I rebooted my Linux box and yes I forgot to update my /boot/efi/EFI/arch first; now it says it can't properly read from my /boot and drops me to a rescue shell.

I have a UEFI motherboard and during installation I followed the EFISTUB instructions in the wiki; using that everything booted flawlessly on my first attempt.

So far I managed to boot from my trusted SystemRescueCD. I can access the Arch documentation via web browser in an X11 environment and I can cleanly mount my partitions and chroot, but I am troubled by the output I am seeing. The obvious solution to my newbie problem would be to go through the EFISTUB instructions in the wiki again, but I have no clue where my boot file sources are. Check this:

root@sysresccd /root % mkdir /mnt/arch-root
root@sysresccd /root % mkdir /mnt/arch-root/boot
root@sysresccd /root % mount /dev/sdc3 /mnt/arch-root 
root@sysresccd /root % mount /dev/sdc1 /mnt/arch-root/boot 
root@sysresccd /root % ls -al /mnt/arch-root/boot 
total 12
drwxr-xr-x  3 root root 4096 Jan  1  1970 .
drwxr-xr-x 20 root root 4096 Mar  6 19:11 ..
drwxr-xr-x  5 root root 4096 Feb 27 20:00 EFI
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI 
total 20
drwxr-xr-x 5 root root 4096 Feb 27 20:00 .
drwxr-xr-x 3 root root 4096 Jan  1  1970 ..
drwxr-xr-x 2 root root 4096 Feb 27 19:55 arch
drwxr-xr-x 3 root root 4096 Feb 27 20:00 boot
drwxr-xr-x 3 root root 4096 Feb 27 19:51 refind
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI/arch 
total 20576
drwxr-xr-x 2 root root     4096 Feb 27 19:55 .
drwxr-xr-x 5 root root     4096 Feb 27 20:00 ..
-rwxr-xr-x 1 root root 14291050 Feb 27 19:47 initramfs-arch-fallback.img
-rwxr-xr-x 1 root root  3083850 Feb 27 19:47 initramfs-arch.img
-rwxr-xr-x 1 root root      164 Feb 27 19:55 refind_linux.conf
-rwxr-xr-x 1 root root  3675776 Feb 27 19:46 vmlinuz-arch.efi
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI/boot 
total 184
drwxr-xr-x 3 root root   4096 Feb 27 20:00 .
drwxr-xr-x 5 root root   4096 Feb 27 20:00 ..
-rwxr-xr-x 1 root root 154688 Feb 27 20:00 bootx64.efi
drwxr-xr-x 2 root root   4096 Feb 27 20:00 icons
-rwxr-xr-x 1 root root  17452 Feb 27 20:00 refind.conf
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI/refind 
total 184
drwxr-xr-x 3 root root   4096 Feb 27 19:51 .
drwxr-xr-x 5 root root   4096 Feb 27 20:00 ..
drwxr-xr-x 2 root root   4096 Feb 27 19:51 icons
-rwxr-xr-x 1 root root  17452 Feb 27 19:50 refind.conf
-rwxr-xr-x 1 root root 154688 Feb 27 19:50 refind_x64.efi
root@sysresccd /root %

Why are there no vmlinuz-linux, initramfs-linux.img, and initramfs-linux-fallback.img in my /mnt/arch-root/boot ?

Why is there an EFI/* in my /mnt/arch-root/boot and not the efi/EFI/* I expect to find? It's as if one level of the file hierarchy is missing... if I mounted something incorrectly, I'd expect an empty mount point, but this phenomenon  of having something but not everything really puzzles me.

The rest seems ok as it was Feb27 when I did my intital installation of Arch and Mar6 when I did the pacman -Syu

Thanks for any help, I am really clueless right now. sad


What can be said at all can be said clearly, and what we cannot talk about we must pass over in silence.

- Ludwig Wittgenstein (1889-1951)

Offline

Board footer

Powered by FluxBB