Arch mkinitcpio grub 启动在编辑时失败

Arch mkinitcpio grub 启动在编辑时失败

我正在经历这种奇怪的行为。我正在使用 ArchLinux,使用 mkinitcpio 生成引导程序,并使用 Grub2(不是旧版)。

启动时,按“e”编辑条目(查看启动参数) - 并且不要更改任何内容,然后按 CTL+X 继续启动,输出为(已翻译):

Error: device name required
Loading linux linux    
Error: insufficient memory
Error: Syntax error
Error: incorrect command
Error: syntax error

大约 5 秒内,它进入内核恐慌:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0, 0)

当按“enter”启动时(无需先按“e”编辑这些参数),我成功启动。

grub 条目中的“重要”行可能是:

linux /vmlinuz-linux root=/dev/mapper/cryptroot rw cryptdevice=/dev/sdc5:cryptroot quiet

坏消息:由于它在不更改任何内容时抛出错误,并且在更改某些内容时抛出错误,因此摆脱“安静”参数并不容易。

更糟糕的消息是,通过按 Enter 启动(而不是查看条目),启动最终会在 fsck 上冻结。 (实际上冻结了,光标消失了)

我可能正在使用最新的内核(其中之一)(3.17 或 3.18)。目前很难获得确切的内核版本。

有什么建议吗?

答案1

使用 Arch (Live) 制作一个可启动 USB,安装所有内容,进入 arch-chroot,然后删除xf86-video-intel就成功了。

相关内容