Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux_faq:fix_grub_initramfs_boot [2020/09/26 14:53] – [initramfs] adminlinux_faq:fix_grub_initramfs_boot [2020/09/26 14:55] – [Live-CD] admin
Line 36: Line 36:
    exec switch_root /newroot /sbin/init    exec switch_root /newroot /sbin/init
 </code> </code>
-ИЛИ+ИЛИ \\
 В случае с **Ubuntu** дефолтным рутом является директория **/root**, поэтому можно делать так: В случае с **Ubuntu** дефолтным рутом является директория **/root**, поэтому можно делать так:
 <code> <code>
Line 69: Line 69:
 chroot /mnt/ chroot /mnt/
 grub-install /dev/sdb grub-install /dev/sdb
-update-grub 
 update-initramfs -u update-initramfs -u
 +update-grub
 exit exit
 umount /mnt/boot/efi/ umount /mnt/boot/efi/
  • linux_faq/fix_grub_initramfs_boot.txt
  • Last modified: 2022/01/14 20:39
  • by admin