You are not logged in.
Picture this. It's the twilight hours of the school term. I've been writing papers all day, and I take a 15 minute break to eat some food. I come back to my desk to find that Windows 10 has started a system upgrade and ends up rebooting three times over the course of 30 minutes before I can use my system again. (I only lost one paragraph). When it's all said and done, my dual boot is gone.
I re-add the entry with
# efibootmgr -c -d /dev/sda -p 1 -l /EFI/systemd/systemd-bootx64.efi -L "Arch"Now, when I try to boot Arch, I get:
Error loading \vmlinuz-linux: Not Found
I realized while working on this that I had windows fast boot enabled, so I turned that off. The error is vmlinuz missing not corrupt, so I don't think that's the problem. The date modified matches my last intentional kernel upgrade. I've stopped short of reinstalling the kernel, and would like some guidance. Should that be my next step?
This is an UEFI systemd-boot setup with /boot on /dev/sda1
Here is the contents of /boot (Note: I excluded /EFI/Microsoft because it has so many files)
.
├── EFI
│ ├── Boot
│ │ └── bootx64.efi
│ └── systemd
│ └── systemd-bootx64.efi
├── grub
│ ├── bootmgfw.efi.mui
│ └── bootmgr.efi.mui
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── intel-ucode.img
├── loader
│ ├── entries
│ │ └── arch.conf
│ └── loader.conf
└── vmlinuz-linuxarch.conf:
#timeout 5
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
#default 36a698a1dbd84442b795a874f1708994-*
options root=PARTUUID=4afbbeed-250c-4f98-998d-a4e11e517289 rwloader.conf:
timeout 5
default arch
editor 0Last edited by Hatchet (2016-12-21 03:13:34)
Offline
I wonder if the Beast of Redmond screwed with your partition table. What is the output of lsblk from whatever rational environment you can get running?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 477G 0 disk
├─sdb4 8:20 0 499M 0 part
├─sdb2 8:18 0 16M 0 part
├─sdb7 8:23 0 344.2G 0 part /home
├─sdb5 8:21 0 20G 0 part
├─sdb3 8:19 0 100G 0 part
├─sdb1 8:17 0 260M 0 part
└─sdb6 8:22 0 12G 0 part
sr0 11:0 1 2.2M 0 rom
loop0 7:0 0 348.7M 1 loop /run/archiso/sfs/airootfs
sda 8:0 1 15G 0 disk
└─sda1 8:1 1 15G 0 part /run/archiso/bootmntOffline
It looks like systemd-boot is indeed loaded but can't find /vmlinuz-linux. Are you sure the file is there (and not corrupted)? Could you try to load an EFI shell and load the kernel from it?
Offline
I've had this a few times, reinstall the linux image (mkinitcpio -p linux) and intel-ucode . Might've been windows borking with it, or an unclean shutdown/unmount after a kernel update (if you rebooted linux without properly unmounting /boot chances are that your kernel image hasn't been properly written or the FAT filename table having been corrupted (which is why it "isn't found" even though the image itself might be intact)
Offline
olive, I would have tried your diagnostic step if I knew how to do that, but I didn't want to attempt it and not know if the failure was due to a corrupted kernel or my own mistakes in the process.
V1del, you were right. I reinstalled the kernel and intel ucode, and I ran grub-mkconfig just because. Also, I ran fsck and it found the file system was dirty and a few files with shared clusters.
Initially, I tried just running mkinitcpio -p linux but it complained that "invalid kernel specified". So, I reinstalled from pacman cache (I didn't feel like walking downstairs to get a network connection up). For the record, these were my steps:
fsck
pacman -U --force /var/cache/pacman/pkg/linux-4.8.11-1-x86_64.pkg.tar.xz
pacman -U --force /var/cache/pacman/pkg/intel-ucode-20161104-1-any.pkg.tar.xz
grub-mkconfig -o /boot/grub/grub.cfg
rebootThanks for the help.
Last edited by Hatchet (2016-12-21 03:21:33)
Offline