meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
datarecovery:grub_rescue [2023/05/31 07:29] niziakdatarecovery:grub_rescue [2023/09/12 10:52] (current) niziak
Line 11: Line 11:
 export TARGET=/mnt export TARGET=/mnt
 for i in /dev /dev/pts /proc /sys /run /run/lvm; do sudo mount --bind ${i} /${TARGET}${i}; done for i in /dev /dev/pts /proc /sys /run /run/lvm; do sudo mount --bind ${i} /${TARGET}${i}; done
-chroot /mnt+chroot ${TARGET}
 grub-install /dev/sdX grub-install /dev/sdX
 update-grub update-grub