User Tools

Site Tools


linux:system:disk:clone-system

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
linux:system:disk:clone-system [2023/09/08 12:32] – [Install bootloader] oscarlinux:system:disk:clone-system [2023/09/08 12:33] (current) – [Write Target System] oscar
Line 150: Line 150:
 </code> </code>
  
-Alternatively, in case of persistent problems, you can purge and reinstall grub2, make new config files: 
-<code> 
-apt-get remove --purge grub-pc grub-common 
-apt-get install grub-pc 
-grub-mkconfig 
-update-grub 
-grub-install /dev/sda 
-</code> 
- 
-Now grub is back, all that is left is to exit the chrooted system and unmount everything: 
-<code> 
-# exit 
-# umount /mnt/sys 
-# umount /mnt/proc 
-# umount /mnt/dev/pt 
-# umount /mnt/dev 
-# umount /mnt 
-</code> 
 Shut down and turn your computer back on, and you will be met with the default Grub2 screen. Shut down and turn your computer back on, and you will be met with the default Grub2 screen.
  
linux/system/disk/clone-system.1694176339.txt.gz · Last modified: by oscar