wip grub
This commit is contained in:
parent
3cf1de13dc
commit
0bb9614d70
1 changed files with 19 additions and 10 deletions
|
@ -43,6 +43,7 @@ Or at worst:
|
||||||
# Générer une image modulaire
|
# Générer une image modulaire
|
||||||
|
|
||||||
/bin/tar
|
/bin/tar
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
tar
|
tar
|
||||||
|
@ -59,6 +60,7 @@ Or at worst:
|
||||||
* *.mod
|
* *.mod
|
||||||
|
|
||||||
/usr/bin/grub-mkimage
|
/usr/bin/grub-mkimage
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
grub-mkimage
|
grub-mkimage
|
||||||
|
@ -70,21 +72,25 @@ Or at worst:
|
||||||
|
|
||||||
i386-pc-eltorito for ISO encapsulation
|
i386-pc-eltorito for ISO encapsulation
|
||||||
|
|
||||||
# Rendre un périphérique amorçable
|
Make a device bootable
|
||||||
|
======================
|
||||||
|
|
||||||
* boot.img
|
* boot.img
|
||||||
* core.img
|
* core.img
|
||||||
|
|
||||||
/usr/sbin/grub-bios-setup
|
/usr/sbin/grub-bios-setup
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
grub-bios-setup \
|
grub-bios-setup \
|
||||||
--directory="i386-pc" \
|
--directory="i386-pc" \
|
||||||
/dev/sd?
|
/dev/sd?
|
||||||
|
|
||||||
# Créer un menu de démarrage
|
Prepare a boot menu
|
||||||
|
===================
|
||||||
|
|
||||||
## couleurs disponibles
|
available colors
|
||||||
|
----------------
|
||||||
|
|
||||||
========= ============= =========== ==========
|
========= ============= =========== ==========
|
||||||
black blue green cyan
|
black blue green cyan
|
||||||
|
@ -93,11 +99,12 @@ dark-gray light-blue light-green light-cyan
|
||||||
light-red light-magenta yellow white
|
light-red light-magenta yellow white
|
||||||
========= ============= =========== ==========
|
========= ============= =========== ==========
|
||||||
|
|
||||||
les arrière-plans noirs sont en fait transparents !
|
* black backgrounds are actually transparent!
|
||||||
|
|
||||||
## variables d’environnement disponibles
|
available environment variables
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
==================== ========================================
|
==================== =============================
|
||||||
chosen 4
|
chosen 4
|
||||||
color_highlight black/light-gray
|
color_highlight black/light-gray
|
||||||
color_normal light-gray/black
|
color_normal light-gray/black
|
||||||
|
@ -110,11 +117,11 @@ locale_dir
|
||||||
menu_color_highlight white/blue
|
menu_color_highlight white/blue
|
||||||
menu_color_normal cyan/blue
|
menu_color_normal cyan/blue
|
||||||
pager 1
|
pager 1
|
||||||
prefix (hd?,msdos?)/Portable/Grub/Versions/grub
|
prefix (hd?,msdos?)/live/boot/2.02-2
|
||||||
root hd?,msdos?
|
root hd?,msdos?
|
||||||
theme …/.txt
|
theme …/.txt
|
||||||
timeout -1
|
timeout -1
|
||||||
==================== ========================================
|
==================== =============================
|
||||||
|
|
||||||
======= =====
|
======= =====
|
||||||
cmdpath (hd?)
|
cmdpath (hd?)
|
||||||
|
@ -191,9 +198,11 @@ cmdpath (hd?)
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
La recherche d’ISO ne va pas à plus d’1 niveau d’arborescence !
|
* iso-scan's first pass goes only 1 subdirectories level down!
|
||||||
|
|
||||||
Peut-on vraiment spécifier quelle ISO au préalable ?!
|
.. todo::
|
||||||
|
|
||||||
|
Test if iso-scan/filename really works
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue