2004-01-18 Yoshinori K. Okuji <okuji@enbug.org>
* util/grub-install.in: Use the first word of GRUB_SHELL when checking if the grub shell is present. This is necessary to support options to the grub shell (e.g. grub --read-only). From Eric Kvaalen <E_Kvaalen.Arnesen@noos.fr>: * docs/grub.texi: Many bug fixes.
This commit is contained in:
parent
7b7b9a3f1b
commit
469abceb70
9 changed files with 268 additions and 227 deletions
2
AUTHORS
2
AUTHORS
|
@ -48,3 +48,5 @@ Tilmann Bubeck added support for vt100-incompatible terminals.
|
|||
|
||||
KB Sriram added a better detection of FAT filesystem and fixed a
|
||||
network device completion.
|
||||
|
||||
Eric Kvaalen fixed a lot of problems in the GRUB manual.
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
2004-01-18 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* util/grub-install.in: Use the first word of GRUB_SHELL when
|
||||
checking if the grub shell is present. This is necessary to
|
||||
support options to the grub shell (e.g. grub --read-only).
|
||||
|
||||
From Eric Kvaalen <E_Kvaalen.Arnesen@noos.fr>:
|
||||
* docs/grub.texi: Many bug fixes.
|
||||
|
||||
2004-01-17 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* lib/device.c [__linux__] (MAJOR): Support 32 bit and 64 bit
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
||||
.TH GRUB-INSTALL "8" "October 2003" "grub-install (GNU GRUB 0.94)" FSF
|
||||
.TH GRUB-INSTALL "8" "January 2004" "grub-install (GNU GRUB 0.94)" FSF
|
||||
.SH NAME
|
||||
grub-install \- install GRUB on your drive
|
||||
.SH SYNOPSIS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
||||
.TH GRUB-MD5-CRYPT "8" "October 2003" "grub-md5-crypt (GNU GRUB )" FSF
|
||||
.TH GRUB-MD5-CRYPT "8" "November 2003" "grub-md5-crypt (GNU GRUB )" FSF
|
||||
.SH NAME
|
||||
grub-md5-crypt \- Encrypt a password in MD5 format
|
||||
.SH SYNOPSIS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
||||
.TH GRUB-TERMINFO "8" "October 2003" "grub-terminfo (GNU GRUB 0.94)" FSF
|
||||
.TH GRUB-TERMINFO "8" "November 2003" "grub-terminfo (GNU GRUB 0.94)" FSF
|
||||
.SH NAME
|
||||
grub-terminfo \- Generate a terminfo command from a terminfo name
|
||||
.SH SYNOPSIS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
||||
.TH GRUB "8" "October 2003" "grub (GNU GRUB 0.94)" FSF
|
||||
.TH GRUB "8" "January 2004" "grub (GNU GRUB 0.94)" FSF
|
||||
.SH NAME
|
||||
grub \- the grub shell
|
||||
.SH SYNOPSIS
|
||||
|
|
464
docs/grub.texi
464
docs/grub.texi
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
||||
.TH MBCHK "1" "October 2003" "mbchk (GNU GRUB 0.94)" FSF
|
||||
.TH MBCHK "1" "January 2004" "mbchk (GNU GRUB 0.94)" FSF
|
||||
.SH NAME
|
||||
mbchk \- check the format of a Multiboot kernel
|
||||
.SH SYNOPSIS
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Install GRUB on your drive.
|
||||
# Copyright (C) 1999,2000,2001,2002,2003 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
|
@ -286,11 +286,13 @@ esac
|
|||
grubdir=${bootdir}/grub
|
||||
device_map=${grubdir}/device.map
|
||||
|
||||
# Check if GRUB is installed
|
||||
if test -f "$grub_shell"; then
|
||||
# Check if GRUB is installed.
|
||||
# This is necessary, because the user can specify "grub --read-only".
|
||||
set $grub_shell dummy
|
||||
if test -f "$1"; then
|
||||
:
|
||||
else
|
||||
echo "${grub_shell}: Not found." 1>&2
|
||||
echo "$1: Not found." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue