Helping upgrading Grub2's documentation
I would be glad to help upgrade Grub2's documentation.
1) Where is the latest Grub manual ?
2) What procedure is to be used to update it ?
3) Is a complete list of commands available ?
4) Is there a tool to test the commands ?
Arbiel
Quoted 1 line · Arbiel Perlacremaz
I would be glad to help upgrade Grub2's documentation.
Firstly, thank you. Documentation is very important and any help you can give will be greatly appreciated.
Quoted 2 lines
1) Where is the latest Grub manual ?
http://www.gnu.org/software/grub/manual/grub.html is an html version
of the manual and is generally kept fairly up to date. But the source
is a texinfo manual, http://www.gnu.org/software/texinfo/ , kept in docs/grub.texi in the source tree. You can check out latest grub
source with "bzr branch
http://bzr.savannah.gnu.org/r/grub/trunk/grub/". You can also view the
file at http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/view/head:/docs/grub.texi
but since you plan to contribute you'll want to become familiar with bazaar.
Quoted 1 line
2) What procedure is to be used to update it ?
You edit docs/grub.texi and submit a patch to this mailing list (with your changes to docs/grub.texi and a new entry in Changelog). If you're not familiar with the process of writing/submitting patches feel free to ask more. There is also a developers manual at docs/grub-dev.texi; It's aimed more at those wishing to contribute code, but some of it applies to contributing documentation as well.
Quoted 1 line
3) Is a complete list of commands available ?
Are you asking about userland utilities like grub-install or grub-script commands like configfile?
For grub-script commands there is a partial list in the current
manual: http://www.gnu.org/software/grub/manual/grub.html#Commands
You can get a "full" list by running "pager=1; help" from the grub shell. This is obviously not ideal, and will only include commands available for the platform you're using, for instance grub-pc won't include the "appleloader" command. Hopefully someone else can give you a better list.
Quoted 1 line
4) Is there a tool to test the commands ?
I'm not sure exactly what you mean. "make check" does do automated testing, but not all commands are tested in "make check".
Quoted 7 lines
Arbiel
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
It might also be useful to pop into the #grub IRC channel on freenode,
http://webchat.freenode.net/?channels=grub&uio=d4
Signature · 1 line
Jordan Uggla (Jordan_U on irc.freenode.net)
Quoted 5 lines · Jordan Uggla
You can get a "full" list by running "pager=1; help" from the grub shell. This is obviously not ideal, and will only include commands available for the platform you're using, for instance grub-pc won't include the "appleloader" command. Hopefully someone else can give you a better list.
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
.
[
915resolution
acpi
appleloader
authenticatebackground_colorbackground_image
backtrace
badram
blocklist
boot
break
cacheinfo
cat
chainloader
clear
cmosclean
cmostest
cmp
configfile
continue
cpuid
crc
cryptomount
cutmem
date
drivemap
dump
echoefiemu_loadcoreefiemu_prepareefiemu_unload
exit
exportextract_entries_configfileextract_entries_sourceextract_legacy_entries_configfileextract_legacy_entries_source
fakebios
falsefix_video
fpswa
freedosfunctional_test
gdbstubgdbstub_breakgdbstub_stop
gptsync
halt
hashsum
hdparm
hello
help
hexdump
inb
initrd
initrd16
inl
insmod
inw
jpegtest
keymap
keystatus
kfreebsdkfreebsd_loadenvkfreebsd_modulekfreebsd_module_elf
knetbsdknetbsd_moduleknetbsd_module_elf
kopenbsdkopenbsd_ramdisklegacy_check_passwordlegacy_configfilelegacy_initrdlegacy_initrd_nounziplegacy_kernellegacy_passwordlegacy_source
linux
linux16list_env
loadbiosload_env
loadfont
loopback
ls
lsacpi
lsapm
lsdev
lsefimmap
lsefisystab
lsfonts
lsmmap
lsmod
lspci
lssal
lsspd
lua
md5sum
menuentry
module
module2
multiboot
multiboot2net_add_addrnet_add_dnsnet_add_routenet_bootpnet_del_addrnet_del_dnsnet_del_routenet_get_dhcp_optionnet_ipv6_autoconfnet_ls_addrnet_ls_cardsnet_ls_dnsnet_ls_routesnet_nslookup
normalnormal_exit
ntldr
outb
outl
outw
parttool
passwordpassword_pbkdf2password_scrypt
plan9
play
pngtest
probe
pxechainloader
readread_byteread_dwordread_word
reboot
regexp
return
rmmodsave_env
search
sendkey
serial
set
setparams
setpci
sha1sum
sha256sum
sha512sum
shift
sleep
source
submenu
suspendterminal_inputterminal_output
terminfo
testtest_blockarg
testload
tgatest
time
true
unset
usb
vbeinfo
vbetest
videoinfo
videotestwrite_bytewrite_dwordwrite_wordxnu_devprop_loadxnu_kernelxnu_kernel64xnu_kextxnu_kextdirxnu_mkextxnu_ramdiskxnu_resumexnu_splashxnu_uuid
zfs-bootfs
zfsinfo
zfskey