页次: 1
原因[猜测]: ESP分区满了, 在windows执行系统安装程序时搞坏了 initramfs-linux
解决步骤
mount /dev/[linux分区] /mnt
mount /dev/[ESP分区] /mnt/boot
arch-chroot /mnt
cd /boot
rm initramfs-linux-falback.img initramfs-linux.img [删除这两个文件是因为ESP分区满了, 不删除的话无法重新生成这两个文件]
mkinitcpio -P
exit
umount /mnt/boot
umoun /mnt
reboot
问题描述:
电脑是win11 + arch 双系统
本来打算在win11上用镜像直接退回win10,但是显示无法更新系统保留分区。
再启动arch的时候屏幕上就显示以下提示打不开
Initramfs unpacking failed: ZSTD-compressed data is truncated
/init: line 6: /usr/lib/systemd/systemd-udevd: Textfile busy
ERROR: device 'UUID=b02fe9fd-90be-47c7-993c-5accee51769de' not found. Skipping fsck.
mount: /new_root:can't find UUID=b02fe9fd-90be-47c7-993c-5accee51769de.
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off
也没有办法输入指令或进tty
最近编辑记录 UIYZi (2022-11-23 20:12:44)
离线
在archiso里处理吧,这不应该是你分区无了么?
最近编辑记录 KafCoppelia (2022-11-22 22:47:34)
二次元开发者
离线
在archiso里处理吧,这不应该是你分区无了么?
分区还有
离线
看起来你的 initramfs 坏掉了。它是在 ESP 里、然后被 Windows 弄坏了么?总之得进 archiso 啦,然后 mkinitcpio -P 应该就好了(如果没有别的问题了的话)。
离线
看起来你的 initramfs 坏掉了。它是在 ESP 里、然后被 Windows 弄坏了么?总之得进 archiso 啦,然后 mkinitcpio -P 应该就好了(如果没有别的问题了的话)。
执行后报错说
specified kernel image does not exist: '/boot/vmlinuz-linux'
==>Building image from preset: /etc/mkinitcpio.d/linux.preset: 'archiso'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==>ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux'
前面缺了什么过程吗, 而且在U盘里看到的叫vmlinuz-linux文件是在/arch/boot/x86_64里的
离线
呃,先挂载好你的文件系统,然后 arch-chroot 进去(参照安装步骤开头)。
离线
呃,先挂载好你的文件系统,然后 arch-chroot 进去(参照安装步骤开头)。
ESP分区满了, 有什么办法可以清理一下
离线
呃……进去看看空间都被啥用了,删掉点没用的文件?
离线
页次: 1