Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:grub2 [2020/03/30 09:59] – [Install] tmadelinux:grub2 [2020/03/31 16:37] (current) – [Install] tmade
Line 16: Line 16:
 </code> </code>
  
-====Install====+====Install - Repair====
  
-Prepare install:+Boot your system with a live-linux such as systemrescuecd:
  
-  mount /dev/sda2 /mnt/root/+http://www.system-rescue-cd.org/Download/ 
 + 
 +Prepare install on the running system: 
 + 
 +  mkdir /mnt/root 
 +  mount /dev/sda2 /mnt/root/                           #sda2 contains the root-filesystem. You can mount as well a lvm-based partition!
   mount -o bind /proc /mnt/root/proc/   mount -o bind /proc /mnt/root/proc/
   mount -o bind /dev /mnt/root/dev   mount -o bind /dev /mnt/root/dev
Line 29: Line 34:
   export PATH=$PATH:/usr/sbin   export PATH=$PATH:/usr/sbin
  
-Note:**"/mnt/root/" is the change root directory, where the root filesystem has to be mounted!**  +Note:**"/mnt/root/" is the change root directory, where the root-filesystem has to be mounted!**  
      
 To install run To install run
  
   grub-install /dev/sda   grub-install /dev/sda
 +or 
 +  grub2-install
   update-grub   update-grub
      
linux/grub2.txt · Last modified: 2020/03/31 16:37 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki