proski
0a57f3c3fd
Add grub-terminfo.
2002-12-02 16:35:48 +00:00
okuji
bf88d91883
2002-11-30 Yoshinori K. Okuji <okuji@enbug.org>
...
* docs/Makefile.am (man_MANS): Added grub-terminfo.8.
($(srcdir)/grub_terminfo.8): New target.
* utils/grub-terminfo.in: New file.
* util/Makefile.am (sbin_SCRIPTS): Added grub-terminfo.
* configure.in (AC_OUTPUT): Added util/grub-terminfo.
* docs/grub.texi (terminfo): New subsection.
(Invoking grub-terminfo): New chapter.
From Tilmann Bubeck <t.bubeck@reinform.de >:
* stage2/Makefile.am (noinst_HEADERS): Added terminfo.h and
tparm.h.
(libgrub_a_SOURCES): Added terminfo.c and tparm.c.
(pre_stage2_exe_SOURCES): Likewise.
* stage2/terminfo.c: New file.
* stage2/terminfo.h: Likewise.
* stage2/tparm.c: Likewise.
* stage2/tparm.h: Likewise.
* stage2/stage2.c (get_line_from_config): Fix handling of
backslashes.
* stage2/char_io.c (grub_putstr): New function.
(grub_printf): Use grub_putstr.
(substring): Add const into both arguments.
* stage2/builtins.c [SUPPORT_SERIAL]: Include terminfo.h.
[SUPPORT_SERIAL] (terminfo_func): New function.
[SUPPORT_SERIAL] (builtin_terminfo): New variable.
(builtin_table) [SUPPORT_SERIAL]: Added a pointer to
BUILTIN_TERMINFO.
* stage2/serial.c (serial_gotoxy): Use ti_cursor_address.
(serial_cls): Use ti_clear_screen.
(serial_highlight): use ti_enter_standout_mode and
ti_exit_standout_mode.
2002-11-29 20:39:24 +00:00
okuji
24bd9d82c1
2002-06-12 Yoshinori K. Okuji <okuji@enbug.org>
...
* util/grub-md5-crypt.in: Prompt to retype a password, and check
if the passwords matches. Suggested by Matt Perry
<matt@primefactor.com >.
Also, don't use Perl any longer, because *BSD's sh and GNU
support ``read -r'', and GRUB doesn't support any other
operating system anyway.
2002-06-12 08:39:50 +00:00
okuji
b225b42f05
2002-05-23 Yoshinori K. Okuji <okuji@enbug.org>
...
Define the behavior of the boot loader when the load end address
and the bss end address are zero in the Multiboot Specification,
and add the support into GRUB. I've modified a patch from Yuri
Zaporogets <yuriz@ukr.net >.
* stage2/boot.c (load_image): In the case of Multiboot a.out
kludge, set the load end address to the load address plus the
size of the OS image file, if it is zero. Similarly, set the bss
end address to the load end address, if it is zero.
* util/mbchk.c (check_multiboot): Don't check if the load
address is greater than or equal to the load end address, if the
load end address is zero. Don't check if the load end address is
greater than the bss end address, if the bss end address is
zero. And, don't check if the load end address is less than or
equal to the entry address, if the load end address is zero.
* docs/multiboot.texi (The address fields of Multiboot header):
Added descriptions about the behavior of the boot loader when
LOAD_END_ADDR is zero and BSS_END_ADDR is zero.
2002-05-22 17:08:37 +00:00
okuji
58703b663c
2002-05-20 Yoshinori K. Okuji <okuji@enbug.org>
...
* lib/device.c (read_device_map): Show an error message and exit
abnormally, if MAP[DRIVE] has already been filled.
* util/grub-install.in: If there is any dulicated entry, print
an error message and exit abnormally.
2002-05-20 11:48:03 +00:00
proski
d6f4c1c620
* util/grub-install.in: Fix hardcoded /dev/hda1.
2002-04-06 22:30:18 +00:00
okuji
86d5582ec2
2002-04-06 Yoshinori K. Okuji <okuji@enbug.org>
...
* stage2/builtins.c [GRUB_UTIL] (dump_func): New function.
[GRUB_UTIL] (builtin_dump): New variable.
(builtin_table) [GRUB_UTIL]: Added a pointer to BUILTIN_DUMP.
* util/grub-install.in: Make sure that GRUB reads the same
images as the host operating system by comparing the result of
running the command "dump" with the contents of the OS file.
2002-04-06 12:15:13 +00:00
proski
a751da838c
* util/grub-install.in (find_device): New function - find block
...
device for given file or directory. Resolve symlinks to fix
problem on Linux with devfs and old device names in /etc/fstab.
Use find_device() for root_device, bootdir_device and
grubdir_device.
2002-02-11 08:10:57 +00:00
okuji
f66b84f480
2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
...
* util/grub-image.in: Check stage2 instead of stage2.c to
determine where the script is invoked, because srcdir may not
be used for the compilation.
2002-01-19 20:27:49 +00:00
okuji
daa965eccc
2002-01-02 Jeremy Katz <katzj@redhat.com>
...
* util/grub-install.in: Support using mktemp as well as tempfile
for secure temporary file creation.
2002-01-02 18:46:31 +00:00
okuji
aaccdfc4ba
Add NetBSD support into grub-install.
2001-12-29 18:53:30 +00:00
okuji
f70e5d2409
Use /boot/grub in NetBSD.
2001-12-29 18:33:39 +00:00
okuji
3c17445bfd
Fix warnings from gcc-3.0.x. Not very serious.
2001-12-11 07:49:17 +00:00
okuji
36fd6bd0fa
2001-10-27 Yoshinori K. Okuji <okuji@gnu.org>
...
* stage2/apm.S: Always disconnect from APM. Written by Erich
Stefan Boleyn.
* util/Makefile.am (noinst_DATA): Removed.
(EXTRA_DIST): Likewise.
2001-10-27 14:48:39 +00:00
gord
e5fd53e574
Update to Automake 1.5
2001-10-15 04:49:50 +00:00
okuji
a8ac7eb3f9
add support for DAC960.
2001-10-13 04:20:05 +00:00
gord
eca369e8d0
Report errors for unrecognized options.
2001-09-22 06:06:17 +00:00
okuji
044d8501b5
Fix minor bugs in grub-md5-crypt.
2001-08-08 05:17:21 +00:00
okuji
cfbf950f5d
Fix a problem when you specify a Linux devfs floppy device name to grub-install.
2001-07-13 11:51:24 +00:00
okuji
60415d246c
Use automake-1.4h instead of our own version. Some required changes are made.
2001-07-04 07:33:48 +00:00
proski
19477b0574
Add all products of "configure" and "make" to .cvsignore
2001-05-15 15:46:37 +00:00
okuji
dfee6ac3ec
add freebsd 4.x support into the grub shell and grub-install.
2001-02-28 11:19:39 +00:00
okuji
cccfe78a6a
add some missing variables replaced by configure into grub-md5-crypt.
2001-01-13 04:07:37 +00:00
okuji
fb01925bdf
revise the fix for floppy device handling in grub-install.
2000-12-13 17:15:30 +00:00
okuji
29aa359512
fix a floppy handling bug in grub-install.
2000-12-09 10:14:09 +00:00
okuji
7561bde29d
add a new utility, grub-md5-crypt.
2000-10-21 21:58:46 +00:00
okuji
728e74eef6
add backslashes into continuous lines in grub-install.
2000-10-21 20:46:06 +00:00
okuji
636299cc50
add a new option --recheck into grub-install, relieve the check of a device file in grub-install.
2000-10-15 18:24:58 +00:00
okuji
0f8fdcc8b2
added support for native devfs device names into grub-install.
2000-10-14 17:04:45 +00:00
okuji
1301164d4c
don't assume that a device file name consists of only alphanums.
2000-10-10 06:09:55 +00:00
okuji
aa7121490f
fix a bug in grub-install.
2000-10-08 03:42:36 +00:00
okuji
5b956a8ac8
merge the changes on the branch prepare_0_5_96 to the main trunk.
2000-10-07 07:19:12 +00:00
okuji
504e540242
fix a bug in grub-install, which affected only GNU/Hurd.
2000-09-30 01:35:21 +00:00
okuji
c6c180757e
add --prefix into the command setup, and add separate boot partition support into grub-install.
2000-09-25 16:05:47 +00:00
okuji
35662478d7
print an error number even in Stage 2.
2000-09-05 12:02:42 +00:00
okuji
9015cd0364
fix a typo in grub-install, and fix open flags in install_func.
2000-09-03 05:08:50 +00:00
okuji
7ab4e9c240
add a workaround for the bug in Linux into the grub shell.
2000-08-08 16:41:56 +00:00
okuji
952982deb9
fix shadowed variable bugs and undefined cpp macro bugs.
2000-07-28 16:51:16 +00:00
gord
ca924e1180
2000-07-27 Gordon Matzigkeit <gord@fig.org>
...
* util/grub-image.in: Initial cut at a script for creating GRUB
boot images.
* util/Makefile.am (noinst_SCRIPTS): Added grub-image.
* configure.in (AC_OUTPUT): Added util/grub-image.
2000-07-27 17:05:44 +00:00
okuji
e92b021096
fix a floppy device name bug in grub-install.
2000-06-11 03:24:38 +00:00
gord
1675300153
Add Pavel Roskin's improvements to grub-install.in.
2000-05-29 16:32:57 +00:00
okuji
81850d7016
recognize the Linux extended partition and add a sanity check into grub-install.
2000-05-13 04:13:00 +00:00
okuji
98ca2ba846
fix some portability problems (by pavel).
2000-04-19 10:34:35 +00:00
okuji
92fca67cf5
make the LBA support bitmap checks configurable at the installation time.
2000-04-18 11:22:07 +00:00
okuji
31f1004b74
fix a bug in grub-install.
2000-04-15 14:00:33 +00:00
okuji
3792b0a01e
add reiserfs support.
2000-04-15 13:39:38 +00:00
okuji
eb321e77f7
fix many bugs. see ChangeLog.
2000-04-02 17:22:53 +00:00
okuji
4e418f40bc
Update the build environment. You need the latest CVS version of Automake.
2000-03-27 07:57:31 +00:00
okuji
9fe0449a36
heavily rewrite the netboot support.
2000-02-07 06:26:45 +00:00
okuji
a92313f507
change the option name root to root-directory for grub-install, update the FAQ.
2000-01-19 10:52:27 +00:00