linux:system:disk:clone-system
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:system:disk:clone-system [2023/09/08 12:32] – [Install bootloader] oscar | linux:system:disk:clone-system [2023/09/08 12:33] (current) – [Write Target System] oscar | ||
|---|---|---|---|
| Line 150: | Line 150: | ||
| </ | </ | ||
| - | Alternatively, | ||
| - | < | ||
| - | apt-get remove --purge grub-pc grub-common | ||
| - | apt-get install grub-pc | ||
| - | grub-mkconfig | ||
| - | update-grub | ||
| - | grub-install /dev/sda | ||
| - | </ | ||
| - | |||
| - | Now grub is back, all that is left is to exit the chrooted system and unmount everything: | ||
| - | < | ||
| - | # exit | ||
| - | # umount /mnt/sys | ||
| - | # umount /mnt/proc | ||
| - | # umount /mnt/dev/pt | ||
| - | # umount /mnt/dev | ||
| - | # umount /mnt | ||
| - | </ | ||
| 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
