📄 changelog
字号:
for FreeBSD-4.0 or later. Use "/dev/rad0". * util/grub-install.in (convert): Add code for FreeBSD disklabels.2001-02-28 OKUJI Yoshinori <okuji@gnu.org> From Thierry Laronde <thierry@cri74.org>: * stage2/stage2.c (cmain): If the default entry is wrong, set it to FALLBACK_ENTRY if FALLBACK_ENTRY is valid, otherwise set it to zero. Suggested by Nicolas Boos <nicolas.boos@wanadoo.fr>. 2001-02-28 OKUJI Yoshinori <okuji@gnu.org> * acconfig.h (AUTO_LINUX_MEM_OPT): New entry. * configure.in (--disable-auto-linux-mem-opt): New option. * stage2/builtins.c (kernel_func) [!AUTO_LINUX_MEM_OPT]: Add KERNEL_LOAD_NO_MEM_OPTION into LOAD_FLAGS, whether the user specifies --no-mem-option or not. 2001-02-27 OKUJI Yoshinori <okuji@gnu.org> * stage2/builtins.c (chainloader_func): Don't check if the current partition is FAT, but check if it has a FAT partition type and the BPB has a system id starting with "MSWIN". 2001-02-27 OKUJI Yoshinori <okuji@gnu.org> Added hercules support based on a patch by Frank Mehnert <fm3@os.inf.tu-dresden.de>. I translated his assembly code into C, and separated hercules from the normal console. * configure.in (--disable-hercules): New option. * grub/asmstub.c: Include <hercules.h>. (set_attrib): Renamed to ... (console_set_attrib): ... this. (herc_cls): New function. (herc_getxy): Likewise. (herc_gotoxy): Likewise. (herc_putchar): Likewise. (herc_set_attrib): Likewise. * stage2/Makefile.am (noinst_HEADERS): Added hercules.h. (libgrub_a_CFLAGS): Added -DSUPPORT_HERCULES=1. (HERCULES_FLAGS): New variable. (STAGE2_COMPILE): Added $(HERCULES_FLAGS). (pre_stage2_exec_SOURCES): Added hercules.c. * stage2/asm.S [!STAGE1_5] (set_attrib) Renamed to ... [!STAGE1_5] (console_set_attrib): ... this. * stage2/builtins.c [SUPPORT_HERCULES] (terminal_func): Added hercules support. (builtin_table) [SUPPORT_HERCULES]: Added a pointer to BUILTIN_TERMINAL. * stage2/char_io.c [SUPPORT_HERCULES]: Include <hercules.h>. [!STAGE1_5] (get_cmdline) [SUPPORT_HERCULES]: Added hercules support. [!STAGE1_5] (getkey) [SUPPORT_HERCULES]: Likewise. [!STAGE1_5] (checkkey) [SUPPORT_HERCULES]: Likewise. (grub_putchar) [SUPPORT_HERCULES]: Likewise. [!STAGE1_5] (gotoxy) [SUPPORT_HERCULES]: Likewise. [!STAGE1_5] (getxy) [SUPPORT_HERCULES]: Likewise. [!STAGE1_5] (cls) [SUPPORT_HERCULES]: Likewise. (set_attrib): New function. * stage2/shared.h (console_set_attrib): Declared. (TERMINAL_HERCULES): New macro. * stage2/stage2.c (run_menu) [SUPPORT_HERCULES]: Added hercules support. * stage2/hercules.h: New file. * stage2/hercules.c: Likewise. 2001-02-17 OKUJI Yoshinori <okuji@gnu.org> From "Treutwein; Bernhard" <Bernhard.Treutwein@Verwaltung.Uni-Muenchen.DE>: * docs/grub.texi (DOS/Windows): Improved the readability. 2001-02-11 OKUJI Yoshinori <okuji@gnu.org> * docs/grub.texi (Command-line and menu commands): Renamed to ... (General commands): ... this. 2001-02-08 OKUJI Yoshinori <okuji@gnu.org> * stage2/asm.S [STAGE1_5] (chain_stage2): Save the second sector of stage2 in %ecx temporarily, and set %ebp to %ecx after switching to protected mode. I forgot that %ebp is broken by rot_to_real. Reported by Torvald Riegel <tr16@inf.tu-dresden.de>. 2001-02-08 OKUJI Yoshinori <okuji@gnu.org> * docs/grub-new.texi: Moved to ... * docs/grub.texi: ... here. And, include internals.texi. * docs/internals.texi: New file. * docs/prog-ref.texi: Removed. * docs/user-ref.texi: Likewise. * docs/tutorial.texi: Likewise. * docs/appendices.texi: Likewise. * docs/Makefile.am (grub_TEXINFOS): Removed prog-ref.texi, user-ref.texi, tutorial.texi, and appendices.texi. Added internals.texi. 2001-02-03 OKUJI Yoshinori <okuji@gnu.org> From Erik Schoenfelder <schoenfr@gaertner.de>: * stage2/shared.h (LINUX_INITRD_MAX_ADDRESS): Changed from 0x3C000000 to 0x38000000. 2001-02-03 OKUJI Yoshinori <okuji@gnu.org> * stage2/builtins.c (savedefault_func) [!SUPPORT_DISKLESS && !GRUB_UTIL]: Check if the version contained in the buffer matches to current one as well. 2001-02-02 OKUJI Yoshinori <okuji@gnu.org> * stage2/builtins.c (savedefault_func) [!SUPPORT_DISKLESS && !GRUB_UTIL]: Check if the stage2 id is STAGE2_ID_STAGE2. Suggested by Jochen Hoenicke. * stage2/stage2.c (cmain): If DEFAULT_ENTRY is out of entries, reset DEFAULT_ENTRY to zero. 2001-02-02 OKUJI Yoshinori <okuji@gnu.org> Make savedefault workable even with Stage 1.5. Reported by Thierry Laronde <thierry@cri74.org>. * grub/asmstub.c (chain_stage2): Added an additional argument, SECOND_SECTOR. * stage2/asm.S [STAGE1_5] (chain_stage2): Set %ebp to SECOND_SECTOR. * stage2/disk_io.c [STAGE1_5] (disk_read_hook): Defined. [STAGE1_5] (disk_read_func): Likewise. (rawread) [STAGE1_5]: Handle DISK_READ_FUNC. (grub_read) [STAGE1_5]: Likewise. * stage2/fsys_ext2fs.c (ext2fs_read) [STAGE1_5]: Likewise. * stage2/fsys_fat.c (fat_read) [STAGE1_5]: Likewise. * stage2/fsys_ffs.c (ffs_read) [STAGE1_5]: Likewise. * stage2/fsys_minix.c (minix_read) [STAGE1_5]: Likewise. * stage2/fsys_reiserfs.c (reiserfs_read) [STAGE1_5]: Likewise. 2001-02-02 OKUJI Yoshinori <okuji@gnu.org> * netboot/config.c [GRUB && INCLUDE_PCI] (pci_dispatch_table): New structure. [GRUB && INCLUDE_PCI] (PCI_NIC): New variable. (eth_probe) [GRUB && INCLUDE_PCI]: If a PCI NIC candidate is present, probe it first. 2001-01-27 OKUJI Yoshinori <okuji@gnu.org> From Danilo Godec <danci@agenda.si>: * stage2/pc_slice.h (PC_SLICE_TYPE_LINUX_RAID): New macro. * stage2/fsys_ext2fs.c (ext2fs_mount): Add a check for PC_SLICE_LINUX_RAID. 2001-01-27 OKUJI Yoshinori <okuji@gnu.org> From Bernhard Treutwein <Bernhard.Treutwein@Verwaltung.Uni-Muenchen.DE>: * docs/grub-new.texi (DOS/Windows): Made more readable. 2001-01-27 OKUJI Yoshinori <okuji@gnu.org> * docs/multiboot.texi: Start reorganizing Multiboot Specification. 2001-01-15 OKUJI Yoshinori <okuji@gnu.org> From Thierry Laronde <thierry.laronde@polynum.com>: * docs/user-ref.texi (Command-line and menu commands): Update the description about setkey. * stage2/builtins.c (setkey_func): When checking if TO_KEY and FROM_KEY are specified, see *TO_KEY and *FROM_KEY instead of TO_KEY and FROM_KEY, respectively. 2001-01-13 OKUJI Yoshinori <okuji@gnu.org> From Thierry Laronde <thierry.laronde@polynum.com>: * util/grub-md5-crypt.in (prefix): New variable. (exec_prefix): Likewise. (sbindir): Likewise. 2001-01-12 OKUJI Yoshinori <okuji@gnu.org> * docs/multiboot.h [__ELF__] (MULTIBOOT_HEADER_FLAGS): Defined as 0x00000003 instead of 0x00010003. * docs/boot.S (multiboot_header) [__ELF__]: Don't define a.out kludge information. * docs/Makefile.am (EXTRA_PROGRAMS): New variable. [BUILD_EXAMPLE_KERNEL] (noinst_DATA): Removed. [BUILD_EXAMPLE_KERNEL] (noinst_PROGRAMS): Changed to kernel. [BUILD_EXAMPLE_KERNEL] (kernel_exec_SOURCES): Renamed to ... [BUILD_EXAMPLE_KERNEL] (kernel_SOURCES): ... this. [BUILD_EXAMPLE_KERNEL] (kernel_exec_CFLAGS): Renamed to ... [BUILD_EXAMPLE_KERNEL] (kernel_CFLAGS): ... this. [BUILD_EXAMPLE_KERNEL] (kernel_exec_LDFLAGS): Renamed to ... [BUILD_EXAMPLE_KERNEL] (kernel_LDFLAGS): ... this. [BUILD_EXAMPLE_KERNEL] (kernel): Removed. [BUILD_EXAMPLE_KERNEL] (boot.o): New dependency. (CLEANFILES): New variable. 2001-01-11 OKUJI Yoshinori <okuji@gnu.org> * stage2/builtins.c [SUPPORT_NETBOOT] (ifconfig_func): Always print current network configuration. [SUPPORT_NETBOOT] (tftpserver_func): Use ifconfig instead of arp_server_override. * netboot/main.c (arp_server_override): Removed. * netboot/etherboot.h (arp_server_override): Likewise.2001-01-11 Eugene Doudine <dudin@np.nk.nornik.ru> * stage2/builtins.c [SUPPORT_NETBOOT] (ifconfig_func): New function to configure network interface from command line. [SUPPORT_NETBOOT] (builtin_ifconfig): New variable. [SUPPORT_NETBOOT] (builtin_table): Added a pointer to BUILTIN_IFCONFIG. * netboot/main.c (ifconfig): New function. * netboot/etherboot.h (ifconfig): Added the prototype. 2001-01-11 OKUJI Yoshinori <okuji@gnu.org> * docs/Makefile.am [BUILD_EXAMPLE_KERNEL] (noinst_DATA): New variable. [BUILD_EXAMPLE_KERNEL] (noinst_PROGRAMS): Likewise. [BUILD_EXAMPLE_KERNEL] (kernel_exec_SOURCES): Likewise. [BUILD_EXAMPLE_KERNEL] (kernel_exec_CFLAGS): Likewise. [BUILD_EXAMPLE_KERNEL] (kernel_exec_LDFLAGS): Likewise. [BUILD_EXAMPLE_KERNEL] (kernel): New target. * configure.in (--enable-example-kernel): New option. * docs/kernel.c (cmain): Cast unsigned long variables to unsigned explicitly, to suppress GCC warnings. 2001-01-08 OKUJI Yoshinori <okuji@gnu.org> * stage2/shared.h (BOOTSEC_BPB_HIDDEN_SECTORS): New macro. * stage2/builtins.c (chainloader_func): If CURRENT_PARTITION is FAT, set the hidden sectors field of the BPB to PART_START, to avoid a Windows bug which affects only when Windows is booted from a logical partition. And, clear ERRNUM after testing if a partition is FAT, because open_partition or fat_mount may set ERRNUM. Reported by Ingo Korb <ingo@akana.de>. 2001-01-07 OKUJI Yoshinori <okuji@gnu.org> * stage2/builtins.c (boot_func): In the chain-loading mode, clear the active flag of each of the loaded partition entries, and then set the active flag of the booted partition image. 2001-01-04 Jochen Hoenicke <jochen@gnu.org> * stage2/builtins.c (embed_func): Call open_partition() even for MBR, so that part_start is correct. This fixes a bug reported by Matthias Granberry <matthias@slurpee.org>. 2000-12-22 OKUJI Yoshinori <okuji@gnu.org> * stage2/disk_io.c (make_saved_active): Change the variable name ``MBR'' to lower case. (set_partition_hidden_flag): Likewise. 2000-12-20 Jochen Hoenicke <jochen@gnu.org> From Cedric Ware <ware@com.enst.fr>: * stage2/fsys_ext2.c (ext2fs_mount): Detect ext2 partitions in a OpenBSD/NetBSD FS_EXT2FS slice. * stage2/pc_slice.h (FS_ADOS): New Macro from OpenBSD/NetBSD. (FS_HFS): Likewise. (FS_FILECORE): Likewise. (FS_EXT2FS): Likewise. 2000-12-17 Jochen Hoenicke <jochen@gnu.org> * stage2/disk_io.c (rawread): Check if there is a EZD partition and remap sector 0 to sector 1 like EZ-BIOS does. (rawwrite): New function to write to disk. Also does EZD remapping. (devwrite): New function. Does the special remapping to partitions needed for linux. This contains the code that was previously duplicated in embed_func and install_func at several places. (make_saved_active): Use rawwrite. Don't use SCRATCHSEG, as it is needed by devwrite. (set_partition_hidden_flag): Likewise. * stage2/disk_io.h (rawwrite): New function. (devwrite): Likewise. * stage2/pc_slice.h (PC_SLICE_TYPE_EZD): New macro. * stage2/builtins.c (embed_info): New variable to store the position of the embedded stage1_5 for setup_func. (embed_func): Don't embed after the MBR if an EZ-BIOS is detected there. Use the new devwrite method. If embedding is successful store position in embed_info. (install_func): Use devwrite. Don't use SCRATCHSEG. (partnew_func): Use rawwrite. Don't use SCRATCHSEG. (parttype_func): Likewise. (savedefault_func): Likewise. (setup_func): New nested function embed_stage1_5. Stage1_5 is now also be embedded into filesystems which supports that. 2000-12-17 OKUJI Yoshinori <okuji@gnu.org> * stage2/builtins.c (chainloader_func): Set ERRNUM to ERR_EXEC_FORMAT, when ERRNUM is ERR_NONE, even if grub_read fails in reading one sector. 2000-12-14 OKUJI Yoshinori <okuji@gnu.org> * docs/prog-ref.texi (Partition types): Rewrite the footnotes. Suggested by Ralf.Medow@t-online.de (Ralf Medow). 2000-12-14 OKUJI Yoshinori <okuji@gnu.org> From Erik Schoenfelder <schoenfr@gaertner.de>: * util/grub-install.in (convert): Revised the fix for floppy device handling. 2000-12-14 OKUJI Yoshinori <okuji@gnu.org> From HORIKAWA Kazunori <kaz-hori@tkd.att.ne.jp>: * stage2/bios.c (get_diskinfo): Append 16 bytes dummy data to DRP, because the BIOS of Thinkpad X20 write a garbage beyond the size of the structure. 2000-12-09 Jochen Hoenicke <jochen@gnu.org> * stage2/disk_io.c (next_partition): Mask out bsd partition sub type when checking if last partition was a bsd partition. Reported by Heikki Vatiainen <hessu@cs.tut.fi>. 2000-12-09 OKUJI Yoshinori <okuji@gnu.org> From Leendert Meyer <leen.meyer@home.nl>: * util/grub-install.in (convert): If a floppy device is specified, remove everything from $tmp_part. 2000-12-09 OKUJI Yoshinori <okuji@gnu.org> * lib/device.c [__linux__] (write_to_partition): Use strcpy instead of strcat, to overwrite "/disc". Reported by Thiago Macieira <thiagom@mail.com>. 2000-12-05 Jochen Hoenicke <jochen@gnu.org> * stage2/fsys_minix.c (minix_mount): Corrected the check for IS_PC_SLICE_TYPE_MINIX; minix was only working if slice type was wrong! Reported by Ralf Medow <ralf.medow@t-online.de>. 2000-11-27 Jochen Hoenicke <jochen@gnu.org> * stage2/fsys_reiserfs.c: Handle items with old version key on new version reiserfs partition. (K_OFFSET): Removed. (IH_KEY_OFFSET): New Macro, which checks item head version. (IH_KEY_ISOFFSET): Likewise. (reiserfs_read): Use new macros. (reiserfs_dir): Fixed version check for >4GB stat entries. 2000-11-27 OKUJI Yoshinori <okuji@gnu.org> * stage2/common.c (init_bios_info) [!STAGE1_5]: Don't call track_int13, because the current implementation hangs up in some environments. 2000-11-27
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -