Difference between revisions of "GRUB/Restore the GRUB Bootloader"

m
→‎Chroot environment: minor rewording
m (→‎Overview: missed a small two letter word)
m (→‎Chroot environment: minor rewording)
Line 33: Line 33:
{{UserCmd|command=su}}
{{UserCmd|command=su}}
==Chroot environment==
==Chroot environment==
Chroot is a method to restrict various tasks to a restricted area e.g. package installation and other system maintenance tasks.
Chroot is a method to restrict various tasks to a restricted area e.g. package installation and other system maintenance tasks. Follow the [https://wiki.archlinux.org/index.php/Change_Root link] to read more about chroot on the Arch wiki.
{{BoxSecondary|More on chroot|Look here to read more about [https://wiki.archlinux.org/index.php/Change_Root chroot]}}
===Identify system partitions===
===Identify system partitions===
From the above we assume you have identified the relevant partitions on your system and this document will refer the partitions as follows. Partitions not needed for this kind of maintenance as intentionally beenleft out (''/home'', ''/swap'').  
From the above we assume you have identified the relevant partitions on your system and this document will refer the partitions as follows. Partitions not needed for this kind of maintenance as intentionally beenleft out (''/home'', ''/swap'').  
Line 60: Line 59:
Manjaro deploys a script called {{ic|manjaro-chroot}} takes an optional argument which will search the visible devices - scan the partitions for signs of an operating system. If more than one Linux operating system is found you will get a choice of which system to chroot otherwise the file ''/etc/fstab'' from the system is used to mount the partitions and chroot into this system.
Manjaro deploys a script called {{ic|manjaro-chroot}} takes an optional argument which will search the visible devices - scan the partitions for signs of an operating system. If more than one Linux operating system is found you will get a choice of which system to chroot otherwise the file ''/etc/fstab'' from the system is used to mount the partitions and chroot into this system.
{{RootCmd|command=manjaro-chroot -a}}
{{RootCmd|command=manjaro-chroot -a}}
==Reinstall GRUB==
==Reinstall GRUB==
One possible cause why you are reading this document - is an unfinished update - which in turn can be caused by several situations - situation we will not dive into. To fix what ever caused this you should run a full system update including grub to ensure everything is in place.
One possible cause why you are reading this document - is an unfinished update - which in turn can be caused by several situations - situation we will not dive into. To fix what ever caused this you should run a full system update including grub to ensure everything is in place.
Moderators, translator
424

edits