This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:grub2 [2020/03/30 09:59] – [Install] tmade | linux:grub2 [2020/03/31 16:37] (current) – [Install] tmade | ||
---|---|---|---|
Line 16: | Line 16: | ||
</ | </ | ||
- | ====Install==== | + | ====Install |
- | Prepare install: | + | Boot your system with a live-linux such as systemrescuecd: |
- | | + | http:// |
+ | |||
+ | Prepare install on the running system: | ||
+ | |||
+ | mkdir /mnt/root | ||
+ | | ||
mount -o bind /proc / | mount -o bind /proc / | ||
mount -o bind /dev / | mount -o bind /dev / | ||
Line 29: | Line 34: | ||
export PATH=$PATH:/ | export PATH=$PATH:/ | ||
- | Note: | + | Note: |
| | ||
To install run | To install run | ||
grub-install /dev/sda | grub-install /dev/sda | ||
+ | or | ||
+ | grub2-install | ||
update-grub | update-grub | ||
| |