Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mint@mint:~$ sudo mount /dev/sdb1 /mnt
- mint@mint:~$ sudo mount /dev/sdb2 /mnt/boot/efi
- mint@mint:~$ sudo mount --bind /dev /mnt/dev
- mint@mint:~$ sudo mount --bind /proc /mnt/proc
- mint@mint:~$ sudo mount --bind /sys /mnt/sys
- mint@mint:~$ sudo chroot /mnt
- root@mint:/# exit
- exit
- mint@mint:~$ sudo mount --bind /run /mnt/run
- mint@mint:~$ sudo chroot /mnt
- root@mint:/# update-initramfs -u
- update-initramfs: Generating /boot/initrd.img-5.15.0-119-generic
- root@mint:/# update-grub
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Found linux image: /boot/vmlinuz-5.15.0-119-generic
- Found initrd image: /boot/initrd.img-5.15.0-119-generic
- Found linux image: /boot/vmlinuz-5.15.0-118-generic
- Found initrd image: /boot/initrd.img-5.15.0-118-generic
- Found linux image: /boot/vmlinuz-5.15.0-56-generic
- Found initrd image: /boot/initrd.img-5.15.0-56-generic
- Warning: os-prober will be executed to detect other bootable partitions.
- Its output will be used to detect bootable binaries on them and create new boot entries.
- grub-probe: error: cannot find a GRUB drive for /dev/sdc2. Check your device.map.
- Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
- done
- root@mint:/# exit
- exit
- mint@mint:~$ sudo umount /mnt/dev
- mint@mint:~$ sudo umount /mnt/proc
- mint@mint:~$ sudo umount /mnt/sys
- mint@mint:~$ sudo umount /mnt/run
- mint@mint:~$ sudo umount /mnt/boot/efi
- mint@mint:~$ sudo umount /mnt
Advertisement
Add Comment
Please, Sign In to add comment