Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我被困在 Linux Mint v15 上的 initramfs 中,我需要编辑 /bin/grub/grub/cfg。我安装了 sda1 设备,但不知道如何编辑。我尝试 exec ./usr/bin/vi 并引发内核恐慌。
现在有一些选择。我遵循以下路径:
创建一个临时目录。
在临时目录上挂载根文件系统 (/)。
然后chroot它。
(initramfs) mkdir /mnt
(initramfs) 挂载 /dev/设备名称 /mnt
(initramfs) chroot /mnt
$六
好的,一旦我深呼吸并考虑了这个问题,我就从安装光盘启动,进入恢复模式并修复了问题。现在一切都很好。
请记住,解决任何问题的第一个工具是深呼吸和放松 :-)