Difference between revisions of "Linux/grub"
< Linux
Jump to navigation
Jump to search
(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
- 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