Grub2: Difference between revisions
From ICO wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
= | =GRUB vs GRUB2= | ||
GRUB 2's default menu will look familiar to GRUB users but there are a great number of differences beneath the surface. | |||
*On a new install of Ubuntu 9.10 with no other installed operating system, GRUB 2 will boot directly to the login prompt or Desktop. No menu will be displayed. | |||
* Hold down SHIFT to display the menu during boot (formerly ESC in GRUB legacy). | |||
*No /boot/grub/menu.lst. It has been replaced by /boot/grub/grub.cfg. | |||
*There is no "/find boot/grub/stage1" at the grub prompt. Stage 1.5 has been eliminated. | |||
*The main menu file, /boot/grub/grub.cfg, is not meant to be edited, even by 'root'. | |||
*grub.cfg is overwritten anytime there is a update, a kernel is added/removed, or the user runs update-grub | |||
*The user can use a custom file, /etc/grub.d/40_custom, in which the user can place his own entries. This file will not be overwritten. | |||
*The primary configuration file for changing menu display settings is /etc/default/grub. | |||
*There are multiple files for configuring the menu - /etc/default/grub mentioned above, and all the files in the /etc/grub.d/ folder. | |||
* Partition numbering has changed. The first partition is now 1 rather than 0. The first device is still 0, however (no change). | |||
*Automated searches for other operating systems, such as Windows, whenever update-grub is executed. | |||
*No changes made in the configuration files will take effect until the update-grub command is also run. | |||
==Mis on uut?== | ==Mis on uut?== |
Revision as of 20:43, 28 February 2010
Sissejuhatus
Autor Siim Soe
GRUB vs GRUB2
GRUB 2's default menu will look familiar to GRUB users but there are a great number of differences beneath the surface.
- On a new install of Ubuntu 9.10 with no other installed operating system, GRUB 2 will boot directly to the login prompt or Desktop. No menu will be displayed.
- Hold down SHIFT to display the menu during boot (formerly ESC in GRUB legacy).
- No /boot/grub/menu.lst. It has been replaced by /boot/grub/grub.cfg.
- There is no "/find boot/grub/stage1" at the grub prompt. Stage 1.5 has been eliminated.
- The main menu file, /boot/grub/grub.cfg, is not meant to be edited, even by 'root'.
- grub.cfg is overwritten anytime there is a update, a kernel is added/removed, or the user runs update-grub
- The user can use a custom file, /etc/grub.d/40_custom, in which the user can place his own entries. This file will not be overwritten.
- The primary configuration file for changing menu display settings is /etc/default/grub.
- There are multiple files for configuring the menu - /etc/default/grub mentioned above, and all the files in the /etc/grub.d/ folder.
- Partition numbering has changed. The first partition is now 1 rather than 0. The first device is still 0, however (no change).
- Automated searches for other operating systems, such as Windows, whenever update-grub is executed.
- No changes made in the configuration files will take effect until the update-grub command is also run.
Mis on uut?
GRUB2 ehk GRand Unified Bootloader on oluliselt erinev tavalisest GRUB'ist. Võrreldes vana versiooniga on lisatud järgnev funktsionaalsus
- Skriptimistugi mis toetab ka tinglikke lauseid (if-else) ja funktsioone
- Dünaamiline moodulite laadimine
- Päästmisrežiim
- Kohandatud menüüd
- Teemad
- Graafiline alglaadur
- LiveCD tõmmiste laadimine otse kõvakettalt
- Seadistusfailide uus struktuur
- Mitte-x86 platvormide tugi (nt PowerPC)
- Universaalne UUID tugi (mitte ainult Ubuntu)
Tulekul
Lingid
Tulekul