Guest User

Untitled

a guest
Sep 1st, 2024
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. mint@mint:~$ sudo mount /dev/sdb1 /mnt
  2. mint@mint:~$ sudo mount /dev/sdb2 /mnt/boot/efi
  3. mint@mint:~$ sudo mount --bind /dev /mnt/dev
  4. mint@mint:~$ sudo mount --bind /proc /mnt/proc
  5. mint@mint:~$ sudo mount --bind /sys /mnt/sys
  6. mint@mint:~$ sudo chroot /mnt
  7. root@mint:/# exit
  8. exit
  9. mint@mint:~$ sudo mount --bind /run /mnt/run
  10. mint@mint:~$ sudo chroot /mnt
  11. root@mint:/# update-initramfs -u
  12. update-initramfs: Generating /boot/initrd.img-5.15.0-119-generic
  13. root@mint:/# update-grub
  14. Sourcing file `/etc/default/grub'
  15. Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
  16. Sourcing file `/etc/default/grub.d/init-select.cfg'
  17. Generating grub configuration file ...
  18. Found linux image: /boot/vmlinuz-5.15.0-119-generic
  19. Found initrd image: /boot/initrd.img-5.15.0-119-generic
  20. Found linux image: /boot/vmlinuz-5.15.0-118-generic
  21. Found initrd image: /boot/initrd.img-5.15.0-118-generic
  22. Found linux image: /boot/vmlinuz-5.15.0-56-generic
  23. Found initrd image: /boot/initrd.img-5.15.0-56-generic
  24. Warning: os-prober will be executed to detect other bootable partitions.
  25. Its output will be used to detect bootable binaries on them and create new boot entries.
  26. grub-probe: error: cannot find a GRUB drive for /dev/sdc2. Check your device.map.
  27. Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
  28. done
  29. root@mint:/# exit
  30. exit
  31. mint@mint:~$ sudo umount /mnt/dev
  32. mint@mint:~$ sudo umount /mnt/proc
  33. mint@mint:~$ sudo umount /mnt/sys
  34. mint@mint:~$ sudo umount /mnt/run
  35. mint@mint:~$ sudo umount /mnt/boot/efi
  36. mint@mint:~$ sudo umount /mnt
  37.  
Advertisement
Add Comment
Please, Sign In to add comment