defenderse_en_la_linea_de_comandos_de_grub2
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| defenderse_en_la_linea_de_comandos_de_grub2 [2022/04/19 23:22] – busindre | defenderse_en_la_linea_de_comandos_de_grub2 [2022/04/20 01:00] (current) – busindre | ||
|---|---|---|---|
| Line 58: | Line 58: | ||
| bin/ dev/ home/ lib64/ opt/ root/ sbin/ sys/ usr/ boot/ etc/ lib/ mnt/ proc/ run/ srv/ tmp/ var/</ | bin/ dev/ home/ lib64/ opt/ root/ sbin/ sys/ usr/ boot/ etc/ lib/ mnt/ proc/ run/ srv/ tmp/ var/</ | ||
| + | |||
| + | NOTA: Para salir del prompt de GRUB2 y volver al menú normal suele usarse la tecla " | ||
| **Arrancar un sistema a través de GRUB2 con el prompt normal** | **Arrancar un sistema a través de GRUB2 con el prompt normal** | ||
| Line 102: | Line 104: | ||
| # Leer archivos del sistema de ficheros, por ejemplo "/ | # Leer archivos del sistema de ficheros, por ejemplo "/ | ||
| grub> cat (hd1, | grub> cat (hd1, | ||
| + | grub> configfile (hd0, | ||
| Arch Linux \r (\l inicializada el \d a las \t) | Arch Linux \r (\l inicializada el \d a las \t) | ||
| - | # Comparar dos archivos | + | # Comparar dos archivos. | 
| - | grub> | + | grub> cmp (hd0, | 
| + | |||
| + | # Cambiar el color o imagen de fondo. | ||
| + | grub> background red | ||
| + | grub> background_image (hd0, | ||
| + | |||
| + | # Cambiar el color de letra y fondo. | ||
| + | grub> set color_normal=white/ | ||
| + | |||
| + | # Carga una configuración grub especificando la ruta. Útil si el nombre se confundió en la instalación y GRUB2 no lo encuentra, por ejemplo " | ||
| + | configfile (hd0, | ||
| + | |||
| + | # Equivale a F10 or CTRL-x, simplemente arranca el sistema si todo está correcto. | ||
| + | grub> boot | ||
| + | |||
| + | # Montar un fichero imagen, por ejemplo iso. | ||
| + | grub> loopback loop (hd0, | ||
| + | grub> ls (loop)/ | ||
| + | |||
| + | # Reiniciar. | ||
| + | reboot | ||
| + | |||
| + | # Apagar. | ||
| + | halt | ||
| + | </ | ||
| + | |||
| + | **Enlaces de interés**: | ||
| - | # Cambiar | + | * [[grub2_en_centos_6.x|Instalar GRUB2 en Centos 6.x]] | 
| - | grub> | + | * [[backup_disco_rescate_de_grub2|Backup / Disco de rescate para el cargador | 
| - | grub> | + |  | 
| + | * [[https://wiki.archlinux.org/title/ | ||
defenderse_en_la_linea_de_comandos_de_grub2.1650403374.txt.gz · Last modified: 2022/04/19 23:22 by busindre
                
                