Lines Matching refs:grub

4 @setfilename grub.info
23 * GRUB: (grub). The GRand Unified Bootloader
24 * grub-install: (grub)Invoking grub-install. Install GRUB on your drive
25 * grub-md5-crypt: (grub)Invoking grub-md5-crypt. Encrypt a password
27 * grub-terminfo: (grub)Invoking grub-terminfo. Generate a terminfo
30 * grub-set-default: (grub)Invoking grub-set-default. Set a default boot
32 * mbchk: (grub)Invoking mbchk. Check for the format of a Multiboot kernel
117 * Invoking the grub shell:: How to use the grub shell
118 * Invoking grub-install:: How to use the GRUB installer
119 * Invoking grub-md5-crypt:: How to generate a cryptic password
120 * Invoking grub-terminfo:: How to generate a terminfo command
121 * Invoking grub-set-default:: How to set a default boot entry
182 Besides the GRUB boot loader itself, there is a @dfn{grub shell}
183 @command{grub} (@pxref{Invoking the grub shell}) which can be run when
472 using the utility @command{grub-install} (@pxref{Invoking
473 grub-install}) on a UNIX-like OS, or by running GRUB itself from a
482 @file{/usr/lib/grub/i386-pc}. If you do not use grub-install, then
484 @file{*stage1_5} to the directory @file{/boot/grub}, and run the
485 @command{grub-set-default} (@pxref{Invoking grub-set-default}) if you
488 initially placed (normally @file{/usr/lib/grub/i386-pc}) will be
490 loader needs to find them (usually @file{/boot/grub}) will be called
496 * Installing GRUB using grub-install::
516 # @kbd{cd /usr/lib/grub/i386-pc}
547 grub-install}.
557 grub> @kbd{root (hd0,0)}
564 grub> @kbd{find /boot/grub/stage1}
567 This will search for the file name @file{/boot/grub/stage1} and show the
574 grub> @kbd{setup (hd0)}
583 grub> @kbd{setup (hd0,0)}
595 @node Installing GRUB using grub-install
596 @section Installing GRUB using grub-install
608 as @sc{gnu}), invoke the program @command{grub-install} (@pxref{Invoking
609 grub-install}) as the superuser (@dfn{root}).
618 # @kbd{grub-install /dev/hda}
624 # @kbd{grub-install /dev/hd0}
630 # @kbd{grub-install '(hd0)'}
636 # @kbd{grub-install hd0}
649 # @kbd{grub-install --root-directory=/mnt fd0}
657 @command{grub-install} like this:
660 # @kbd{grub-install --root-directory=/boot /dev/hda}
664 correctly under a UNIX-like OS. Thus, @command{grub-install} will prompt
670 Note that @command{grub-install} is actually just a shell script and the
671 real task is done by the grub shell @command{grub} (@pxref{Invoking the
672 grub shell}). Therefore, you may run @command{grub} directly to install
673 GRUB, without using @command{grub-install}. Don't do that, however,
704 $ @kbd{mkdir -p iso/boot/grub}
710 $ @kbd{cp /usr/lib/grub/i386-pc/stage2_eltorito iso/boot/grub}
713 If desired, make the config file @file{menu.lst} under @file{iso/boot/grub}
720 $ @kbd{mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
721 -boot-load-size 4 -boot-info-table -o grub.iso iso}
724 This produces a file named @file{grub.iso}, which then can be burned
726 from the @kbd{boot/grub/stage2_eltorito} file, so there is no need to
818 grub> @kbd{rootnoverify (hd0,0)}
827 grub> @kbd{makeactive}
835 grub> @kbd{chainloader +1}
886 grub> @kbd{kernel /boot/gnumach root=hd0s1}
887 grub> @kbd{module /boot/serverboot}
911 grub> @kbd{kernel /vmlinuz root=/dev/hda1}
918 grub> @kbd{kernel /vmlinuz root=/dev/hda1 vga=ext}
929 grub> @kbd{initrd /initrd}
956 grub> @kbd{root (hd0,a)}
957 grub> @kbd{kernel /boot/loader}
958 grub> @kbd{boot}
978 grub> @kbd{kernel --type=netbsd /netbsd-elf}
1012 grub> @kbd{map (hd0) (hd1)}
1013 grub> @kbd{map (hd1) (hd0)}
1039 grub> @kbd{unhide (hd0,0)}
1040 grub> @kbd{hide (hd0,1)}
1041 grub> @kbd{rootnoverify (hd0,0)}
1042 grub> @kbd{chainloader +1}
1043 grub> @kbd{makeactive}
1044 grub> @kbd{boot}
1058 grub> @kbd{rootnoverify (hd1,0)}
1059 grub> @kbd{chainloader --force +1}
1060 grub> @kbd{makeactive}
1061 grub> @kbd{boot}
1074 grub> @kbd{rootnoverify (hd1,1)}
1075 grub> @kbd{chainloader +4}
1076 grub> @kbd{boot}
1158 time. For this, execute @command{grub-set-default} (@pxref{Invoking
1159 grub-set-default}):
1162 # @kbd{grub-set-default 1}
1236 However, you need to run @command{grub-set-default} (@pxref{Invoking
1237 grub-set-default}) when @samp{A} starts correctly or you fix @samp{A}
1243 # @kbd{grub-set-default 0}
1250 file @file{/boot/grub/default} (or @file{/grub/default} in
1255 manner. Therefore, you should use @command{grub-set-default} when you
1474 grub> @kbd{ifconfig --address=192.168.110.23 --server=192.168.110.14}
1489 grub> @kbd{bootp}
1495 grub> @kbd{root (nd)}
1496 grub> @kbd{kernel /tftproot/gnumach.gz root=sd0s1}
1497 grub> @kbd{module /tftproot/serverboot.gz}
1498 grub> @kbd{boot}
1582 grub> @kbd{serial --unit=0 --speed=9600}
1583 grub> @kbd{terminal serial}
1700 (@pxref{md5crypt}). For example, run the grub shell (@pxref{Invoking the
1701 grub shell}), and enter your password:
1705 grub> md5crypt
1717 password PASSWORD /boot/grub/menu-admin.lst
1720 In this case, GRUB will load @file{/boot/grub/menu-admin.lst} as a
1888 example is @samp{(hd0,0)/boot/grub/menu.lst}. This means the file
1889 @file{/boot/grub/menu.lst} in the first partition of the first hard
2315 In the grub shell, specify the file @var{file} as the actual drive for a
2322 grub> @kbd{device (fd0) /floppy-image}
2323 grub> @kbd{device (hd0) /dev/sd0}
2327 This command can be used only in the grub shell (@pxref{Invoking the
2328 grub shell}).
2441 can only be used in the grub shell and is used to specify the
2443 grub shell}).
2463 grub> @kbd{setkey capslock control}
2464 grub> @kbd{setkey control capslock}
2624 You can use the utility @command{grub-terminfo} to generate
2625 appropriate arguments to this command. @xref{Invoking grub-terminfo}.
2691 * quit:: Exit from the grub shell
2732 grub> @kbd{cat /etc/fstab}
2834 @code{/boot/grub/stage1}.
2858 Print the information for the drive @var{drive}. In the grub shell, you
2898 command can be used only in the Stage 2, but not in the grub shell.
2964 grub shell, if you cannot unmount the filesystem where your stage2 file
3044 grub> @kbd{map (hd0) (hd1)}
3045 grub> @kbd{map (hd1) (hd0)}
3101 Exit from the grub shell @command{grub} (@pxref{Invoking the grub
3102 shell}). This command can be used only in the grub shell.
3186 See also @ref{default} and @ref{Invoking grub-set-default}.
3205 in @file{/boot/grub} and @file{/grub}.
3266 encounter trouble. @xref{Invoking the grub shell}, if your problem is
3267 specific to the grub shell.
3493 @node Invoking the grub shell
3494 @chapter Invoking the grub shell
3496 This chapter documents the grub shell @command{grub}. Note that the grub
3504 * Basic usage:: How to use the grub shell
3505 * Installation under UNIX:: How to install GRUB via @command{grub}
3511 @section Introduction into the grub shell
3513 You can use the command @command{grub} for installing GRUB under your
3515 or when fixing a bug. @command{grub} is almost the same as the Stage 2,
3517 the same commands (@pxref{Commands}) in @command{grub}. It is emulated by
3520 The command @command{grub} accepts the following options:
3541 Probe the second floppy drive. If this option is not specified, the grub
3543 specify the device map file (@pxref{Device map}), the grub shell just
3548 @file{/boot/grub/menu.lst}. The format is the same as the normal GRUB
3579 @section How to install GRUB via @command{grub}
3583 @command{grub}-specific information is described here.
3585 What you should be careful about is @dfn{buffer cache}. @command{grub}
3593 unmount them before running @command{grub}.
3601 activity is being done on it while the command @command{grub} is
3621 # Use /usr/sbin/grub if you are on an older system.
3622 /sbin/grub --batch <<EOT 1>/dev/null 2>/dev/null
3635 the grub shell creates the @dfn{device map file} automatically unless it
3636 already exists. The file name @file{/boot/grub/device.map} is preferred.
3638 If the device map file exists, the grub shell reads it to map BIOS
3649 The reason why the grub shell gives you the device map file is that it
3654 Thus, edit the file if the grub shell makes a mistake. You can put any
3655 comments in the file if needed, as the grub shell assumes that a line is
3659 @node Invoking grub-install
3660 @chapter Invoking grub-install
3662 The program @command{grub-install} installs GRUB on your drive using the
3663 grub shell (@pxref{Invoking the grub shell}). You must specify the
3667 grub-install @var{install_device}
3673 @command{grub-install} accepts the following options:
3695 @kbd{grub-install --root-directory=/boot hd0}
3698 @item --grub-shell=@var{file}
3699 Use @var{file} as the grub shell. You can append arbitrary options to
3703 @kbd{grub-install --grub-shell="grub --read-only" /dev/fd0}
3707 Recheck the device map, even if @file{/boot/grub/device.map} already
3713 @node Invoking grub-md5-crypt
3714 @chapter Invoking grub-md5-crypt
3716 The program @command{grub-md5-crypt} encrypts a password in MD5 format.
3717 This is just a frontend of the grub shell (@pxref{Invoking the grub
3721 @command{grub-md5-crypt} accepts the following options:
3730 @item --grub-shell=@var{file}
3731 Use @var{file} as the grub shell.
3735 @node Invoking grub-terminfo
3736 @chapter Invoking grub-terminfo
3738 The program @command{grub-terminfo} generates a terminfo command from
3744 @command{grub-terminfo} accepts the following options:
3757 @kbd{grub-terminfo vt52}
3761 @node Invoking grub-set-default
3762 @chapter Invoking grub-set-default
3764 The program @command{grub-set-default} sets the default boot entry for
3766 your GRUB directory (i.e. @file{/boot/grub}), if it is not
3773 @command{grub-set-default} accepts the following options:
3788 You must specify a single argument to @command{grub-set-default}. This
3811 @kbd{grub-set-default 1}
3856 @uref{ftp://alpha.gnu.org/gnu/grub} or any of its mirrors. The file
3857 will be named grub-version.tar.gz. The current version is
3860 @uref{ftp://alpha.gnu.org/gnu/grub/grub-@value{VERSION}.tar.gz}
3865 @kbd{zcat grub-@value{VERSION}.tar.gz | tar xvf -}
3868 which will create a directory called @file{grub-@value{VERSION}} with
3875 @kbd{cd grub-@value{VERSION}}
3881 This will install the grub shell @file{grub} (@pxref{Invoking the grub
3886 @uref{http://savannah.gnu.org/cvs/?group=grub} for more information.
3898 see the @uref{http://www.gnu.org/software/grub/grub-faq.html, GNU GRUB FAQ}.
3948 @uref{http://savannah.gnu.org/bugs/?group=grub, Bug Tracking System}.
3950 @email{bug-grub@@gnu.org}, but we strongly recommend that you use the
3963 a look at @uref{http://www.gnu.org/software/grub/grub.html, the