You are not logged in.
After running a full system upgrade, and rebooting, I get this error:
FAT-fs (sda1): codepage cp437 not found
[FAILED] Failed to mount /boot/efi
Running systemctl status boot-efi.mount shows the same stuff.
Obviously this is my uEFI boot partition, and it booted just fine until this update. What changed?
I'm in emergency mode after the failed boot, please advise on what I can check to fix this error. Thanks!
Last edited by yuvadm (2013-10-26 12:29:41)
Offline
in /etc/fstab, codepage=cp437 ==> codepage=437
Offline
My /etc/fstab already had codepage=437 in the /boot/efi partition...
Offline
What's in your {grub,gummiboot,syslinux,whatever} config file?
Offline
Pretty much everything there is in your gist
https://gist.github.com/jasonwryan/4618490
This setup was working just fine until this system update, nothing changed besides that.
Offline
Heh. Well, it is working for me (using a custom kernel), but I'll boot into the Arch one to check. I assume we are talking about 3.11.6?
# edit: just realized, I moved my EFI to /boot now that gummiboot expects it there...
Offline
Yep, 3.11.6 is the latest, and what I have.
EDIT: _although_, my emergency mode kernel is 3.10.3-1, not entirely sure why (maybe last time i generated initramfs?)
Last edited by yuvadm (2013-10-25 20:41:39)
Offline
Vanilla kernel works fine here. What is your locale?
Offline
en_us.UTF-8
Offline
So why do you need the codepage mount option? If you remove it, does booting work as expected?
Offline
I don't need it, it was probably generated by genfstab.
Unfortunately, removing it from fstab doesn't help at all, same error.
Just to make sure I tried:
# zgrep 437 /proc/config.gz
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_NLS_CODEPAGE_437=m
which I assume means the default codepage 437 should be working?
Offline
Well, I don't have much else. Check through pacman's log and see what was included in that last update.
Offline
Thanks for your help!
(back to trying anything I can think of....)
Offline
Yep, 3.11.6 is the latest, and what I have.
EDIT: _although_, my emergency mode kernel is 3.10.3-1, not entirely sure why (maybe last time i generated initramfs?)
1'm assuming you determined this with uname? Can you post the output of 'pacman -Q linux' please?
Last edited by WorMzy (2013-10-25 21:46:11)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
1'm assuming you determined this with uname? Can you post the output of 'pacman -Q linux' please?
# pacman -Q linux
linux 3.11.6-1
You're right, I tried uname earlier.
Offline
I think the problem is that the kernel you're booting (on the EFI boot partition, presumably) is the old kernel, so when it tries to load the modules necessary for mounting the FAT partiton, it can't find them (because they've been replaced by the new kernel's modules). In the emergency mode, can you downgrade your kernel to 3.10.3-1, then try mounting the efi partiton, then re-update your kernel?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'm not quite sure what you mean by that. Which kernel am I loading on /boot/efi? It's just gummiboot.
How would I downgrade my kernel to 3.10.3-1?
Last edited by yuvadm (2013-10-25 22:18:27)
Offline
Gummiboot is your boot manager, not the kernel. The kernel is the vmlinuz file that gummiboot loads for you. What I think has happened is that you have two kernels 'installed', one on the EFI boot partition, and one on your Arch install's root filesystem.
Your boot manager is loading the one on the EFI partition (which is an old version), but your root filesystem only has modules installed for the newer kernel.
You may be able to downgrade from the emergency shell by running:
# pacman -U /var/cache/pacman/pkg/linux-3.10.3-1-x86_64.pkg.tar.xz
Its important that the modules on the root filesystem match up to the kernel you're booting with, or else they will be incompatible.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I think the problem is that the kernel you're booting (on the EFI boot partition, presumably) is the old kernel, so when it tries to load the modules necessary for mounting the FAT partiton, it can't find them (because they've been replaced by the new kernel's modules).
Good catch.
Offline
You may be able to downgrade from the emergency shell by running:
# pacman -U /var/cache/pacman/pkg/linux-3.10.3-1-x86_64.pkg.tar.xz
OK, I'll try that soon, but assuming that works I'll still need to upgrade the kernel that gummiboot is loading.
How would I go about upgrading it? I prefer doing that directly via a USB boot, instead of downgrading first.
EDIT: ok so your suggestion worked, downgrading to 3.10.3 got me the normal boot process back. Going to try and upgrade the kernel again, hoping the proper kernels will be copied properly to /boot
EDIT 2: so now I upgraded back to 3.11.6 and I see an upgraded kernel in /boot/vmlinuz-linux but it's not updated in /boot/efi/EFI/arch/vmlinuz-linux.efi so should I copy it manually? Would I need to do so on every update?
EDIT 3: additional shipment of fail - I saw the gummiboot warnings about $esp location https://wiki.archlinux.org/index.php/Gummiboot and still not sure what I need to copy manually or not, so I ran the gummiboot update as well as copied again all the files (initramfs and vmlinuz) from /boot, and now the boot process fails somewhere else with the screen just going black mid-process.
Last edited by yuvadm (2013-10-26 09:17:32)
Offline
That sounds like a kernel mode setting problem, it could be that the kernel you updated to has a bug in the graphics driver you use. I'd create a new topic about that though, it's not related to your original problem.
I recommend that you read this: https://wiki.archlinux.org/index.php/EF … mfs_to_ESP
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Yep, seems like the original problem is indeed solved and I'm hitting a new problem.
Either way, I'm moving my ESP to /boot so this stuff doesn't happen again, and I won't need to mess with manual updates.
Thanks so much for all the help
EDIT: the black screen problem was a very stupid one, the update changed some stuff with screen brightness and the default was pitch black...
Last edited by yuvadm (2013-10-26 15:33:55)
Offline