Linux/grub: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Linux
update-grub; links |
grub-mkconfig |
||
| Line 2: | Line 2: | ||
* {{l/same|grub-install}} | * {{l/same|grub-install}} | ||
** note that the target must be a ''device'' (e.g. /dev/sdd), not a ''partition'' or ''filesystem'' (e.g. /dev/sdd1). | ** note that the target must be a ''device'' (e.g. /dev/sdd), not a ''partition'' or ''filesystem'' (e.g. /dev/sdd1). | ||
* {{l/same|grub-mkconfig}} creates a new grub.cfg based on what disks and boot options it finds. Run as root and redirect output to the desired file. | |||
* {{l/same|update-grub}} updates the grub menu | * {{l/same|update-grub}} updates the grub menu | ||
** bootable drives do not need to be mounted in order to be included | ** bootable drives do not need to be mounted in order to be included | ||
Revision as of 22:57, 22 November 2014
related commands
- grub-install
- note that the target must be a device (e.g. /dev/sdd), not a partition or filesystem (e.g. /dev/sdd1).
- grub-mkconfig creates a new grub.cfg based on what disks and boot options it finds. Run as root and redirect output to the desired file.
- update-grub updates the grub menu
- bootable drives do not need to be mounted in order to be included
