Grub4dos Guide - Commands
Grub4dos Guide - Commands
APPENDIX - Commands
Use caution when following the built in help information - it is based on GNU GRUB and contains some
legacy commands (and information) that do not always apply to Grub4dos. The following example is the
output from typing help default -
Although the default [NUM] parameter works within a configuration file, using default saved does not. In
addition the default [FILE] command only works with the default file included in the grub4dos download -
e.g. default /default.
The following (66) commands are all recognised by Grub4dos - version 0.4.4 (build 2009-03-31)
background
blocklist
boot
cat
cdrom
chainloader
checkrange
checktime
clear
cmp
color
commandline
configfile
dd
debug
default
displaymem
embed
errnum
errorcheck
fallback
find
foreground
fstest
geometry
halt
help
hiddenflag
hide
initrd
install - Note that this command will be removed soon – use utility bootlace.com instead.
is64bit
kernel
lock
ls
makeactive
map
md5crypt
module
modulenounzip
outline
pager
partnew
parttype
password
pause
pxe
quit
read
reboot
root
rootnoverify
savedefault
serial
setkey
setup - Note that this command will be removed soon – use utility bootlace.com instead.
setvbe
splashimage
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 1/13
11/4/2018 Grub4dos Guide - Commands
terminal
terminfo
testvbe
tpm
unhide
uuid
vbeprobe
write
background
blocklist
boot
cat
cdrom
chainloader
checkrange
checktime
clear
cmp
color
commandline
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 3/13
11/4/2018 Grub4dos Guide - Commands
configfile
debug
dd
grub> help dd
dd: dd if=IF of=OF [bs=BS] [count=C] [skip=IN] [seek=OUT] [buf=ADDR] [buflen=SI
ZE]
Copy file IF to OF. BS is blocksize, default to 512. C is blocks to
copy, default is total blocks in IF. IN specifies number of blocks to
skip when read, default is 0. OUT specifies number of blocks to skip
when write, default is 0. Skipped blocks are not touched. Both IF and
OF must exist. dd can neither enlarge nor reduce the size OF, the
leftover tail of IF will be discarded. OF cannot be a gzipped file. If
IF is a gzipped file, it will be decompressed automatically when
copying. dd is dangerous, use at your own risk. To be on the safe side,
you should only use dd to write a file in memory. ADDR and SIZE are
used for user-defined buffer.
default
displaymem
embed
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 4/13
11/4/2018 Grub4dos Guide - Commands
errnum
errorcheck
fallback
find
foreground
fstest
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 5/13
11/4/2018 Grub4dos Guide - Commands
geometry
halt
help
hiddenflag
hide
initrd
install
is64bit
kernel
lock
ls
grub> help ls
ls: ls [FILE_OR_DIR]
List file or directory.
makeactive
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 7/13
11/4/2018 Grub4dos Guide - Commands
map
md5crypt
module
modulenounzip
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 8/13
11/4/2018 Grub4dos Guide - Commands
outline
pager
partnew
parttype
password
pause
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 9/13
11/4/2018 Grub4dos Guide - Commands
pxe
quit
read
reboot
root
rootnoverify
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 10/13
11/4/2018 Grub4dos Guide - Commands
savedefault
serial
setkey
setup
setvbe
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 11/13
11/4/2018 Grub4dos Guide - Commands
clear(nullify, invalidate) the video option string setup by the
previous setvbe command.
splashimage
terminal
terminfo
testvbe
tpm
unhide
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 12/13
11/4/2018 Grub4dos Guide - Commands
Unhide PARTITION by setting the "hidden" bit in its partition type
code. The default partition is the current root device.
uuid
vbeprobe
write
http://diddy.boot-land.net/grub4dos/files/commands.htm#boot 13/13