CONTENT
  • CHANGES
Szukaj
counter

#top grub


grub - the grub shell

Powiązane:

SYNOPSIS
grub [OPTION]...


DESCRIPTION



OPTIONS
Enter the GRand Unified Bootloader command shell.

--batch
turn on batch mode for non-interactive use

--boot-drive=DRIVE
specify stage2 boot_drive [default=0x0]

--config-file=FILE
specify stage2 config_file [default=/boot/grub/grub.conf]

--device-map=FILE
use the device map file FILE

--help
display this message and exit

--hold
wait until a debugger will attach

--install-partition=PAR
specify stage2 install_partition [default=0x20000]

--no-config-file
do not use the config file

--no-curses
do not use curses

--no-floppy
do not probe any floppy drive

--no-pager
do not use internal pager

--preset-menu
use the preset menu

--probe-second-floppy
probe the second floppy drive

--read-only
do not write anything to devices

--verbose
print verbose messages

--version
print version information and exit



EXAMPLES
Contents file /boot/grub/device.map:
# this device map was generated by anaconda
(hd0)     /dev/sda
(hd1)     /dev/sdb


Contents file /boot/grub/install.sh:
grub --device-map=/boot/grub/device.map --batch <<EOF
root (hd0,0)
setup (hd0)
quit
EOF
grub --device-map=/boot/grub/device.map --batch <<EOF
root (hd1,0)
setup (hd1)
quit
EOF




Zmodyfikowany ostatnio: 2014/05/15 09:57:38 (9 lat temu), textsize: 2,39 kB, htmlsize: 2,99 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników