No description
Find a file
okuji 4f29a8af45 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/char_io.c [!GRUB_UTIL] (memcpy): New function. It is
	defined as an alias of grub_memmove. This is copied from GRUB 2.

	* stage2/disk_io.c (print_completions): Simplified conditionals
	to make it easier to edit the file with Emacs.
	Added support for (cd).
	(set_device): Likewise.

	* stage2/common.c (init_bios_info): Check if BOOT_DRIVE is a
	CDROM drive. If it is true, set CDROM_DRIVE to BOOT_DRIVE.
	(cdrom_drive): New variable.

	From Leonid Lisovskiy <lly@pisem.net>:
	* stage2/start_eltorito.S: New file.

	* stage2/stage2.c (run_menu): Use GRUB_INVALID_DRIVE instead of
	0xFF.

	* stage2/shared.h (STAGE2_ID_ISO9660_STAGE1_5): New macro.
	[FSYS_ISO9660] (STAGE2_ID): Set to STAGE2_ID_ISO9660_STAGE1_5.
	(struct geometry): Added a new member ``sector_size''.
	(BIOSDISK_FLAG_CDROM): New macro.
	(cdrom_drive): Declared.

	* stage2/fsys_iso9660.c: New file.
	* stage2/iso9660.h: Likewise.

	* stage2/filesys.h (FSYS_ISO9660_NUM): New macro.
	[FSYS_ISO9660] (iso9660_mount): Declared.
	[FSYS_ISO9660] (iso9660_read): Likewise.
	[FSYS_ISO9660] (iso9660_dir): Likewise.
	(NUM_FSYS): Added FSYS_ISO9660_NUM.

	* stage2/disk_io.c (fsys_table) [FSYS_ISO9660]: Added iso9660.
	(current_drive): Use GRUB_INVALID_DRIVE.
	(log2): New function.
	(rawread): Use BUF_GEOM.SECTOR_SIZE instead of SECTOR_SIZE.
	Change the type of BUFADDR from int to char *.
	Use a virtual track to make sure that one track fits in the
	buffer.
	(sane_partition): Allow CURRENT_DRIVE to be CDROM_DRIVE, because
	a bios drive for a CD-ROM is often assigned to greater than
	0x88.
	(set_device): Use GRUB_INVALID_DRIVE instead of 0xFF.
	(setup_part): Likewise.

	* stage2/cmdline.c (init_cmdline): Use GRUB_INVALID_DRIVE.

	* stage2/builtins.c (install_func): Use GRUB_INVALID_DRIVE.
	(setup_func): Added iso9660_stage1_5.

	* stage2/bios.c (biosdisk): Don't fall back to the CHS mode
	if the drive is a CDROM.
	(get_cdinfo): New function.
	(get_diskinfo): Call get_cdinfo if the drive is greater than or
	equal to 0x88 or the drive supports LBA.
	Set the sector size to SECTOR_SIZE if it is not a CD-ROM.

	* stage2/asm.S (biosdisk_int13_extensions): Take a word
	argument AX instead of a byte argument AH.
	(get_diskinfo_int13_extensions): Removed.

	* stage2/Makefile.am (noinst_HEADERS): Added iso9660.h.
	(libgrub_a_SOURCES): Added fsys_iso9660.c.
	(libgrub_a_CFLAGS): Added -DFSYS_ISO9660=1.
	(pkgdata_DATA): Added iso9660_stage1_5 and stage2_eltorito.
	(noinst_PROGRAMS): Added iso9660_stage1_5.exec and
	start_eltorito.exec.
	(noinst_DATA): Added start_eltorito.
	(pre_stage2_exec_SOURCES): Added fsys_iso9660.c.
	(START_ELTORITO_LINK): New variable.
	(start_eltorito_exec_SOURCES): Likewise.
	(start_eltorito_exec_CCASFLAGS): Likewise.
	(start_eltorito_exec_LDFLAGS): Likewise.
	(start_eltorito_exec-start.$(OBJEXT)): New dependency.
	(stage2_eltorito): New target.
	(iso9660_stage1_5_exec_SOURCES): New variable.
	(iso9660_stage1_5_exec_CFLAGS): Likewise.
	(iso9660_stage1_5_exec_CCASFLAGS): Likewise.
	(iso9660_stage1_5_exec_LDFLAGS): Likewise.

	* stage1/stage1.h (GRUB_INVALID_DRIVE): New macro.

	* stage1/stage1.S (boot_drive): Use the macro GRUB_INVALID_DRIVE.
	(real_start): Likewise.

	* lib/device.c (get_drive_geometry): Set GEOM->SECTOR_SIZE to
	SECTOR_SIZE by default.

	* configure.ac (--disable-iso9660): New option.
2004-03-27 17:02:54 +00:00
docs 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
grub 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
lib 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
netboot 2003-10-19 Yoshinori K. Okuji <okuji@enbug.org> 2003-10-19 17:36:30 +00:00
stage1 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
stage2 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
util 2004-03-12 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-12 18:16:40 +00:00
.cvsignore Add stamp-h1 2001-11-08 20:37:03 +00:00
acconfig.h add a new option, --disable-auto-linux-mem-opt, into configure. 2001-02-27 15:24:48 +00:00
acinclude.m4 Merge changes in 0.90. 2001-07-13 08:02:04 +00:00
aclocal.m4 2003-10-19 Yoshinori K. Okuji <okuji@enbug.org> 2003-10-19 17:36:30 +00:00
AUTHORS 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
BUGS BUGS doesn't have information any longer, because we use the BTS on 2002-05-28 22:23:03 +00:00
ChangeLog 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
compile JFS and XFS support is added. 2001-10-27 16:04:25 +00:00
config.guess * config.{guess,sub}: Update from official source (CVS). 2003-10-10 09:56:02 +00:00
config.h.in 2003-10-19 Yoshinori K. Okuji <okuji@enbug.org> 2003-10-19 17:36:30 +00:00
config.sub * config.{guess,sub}: Update from official source (CVS). 2003-10-10 09:56:02 +00:00
configure 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
configure.ac 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
COPYING Autoconf/Automake jumbo patches 1999-03-01 19:12:32 +00:00
depcomp Use automake-1.4h instead of our own version. Some required changes are made. 2001-07-04 07:33:48 +00:00
INSTALL 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
install-sh Use automake-1.4h instead of our own version. Some required changes are made. 2001-07-04 07:33:48 +00:00
MAINTENANCE Added a notice in the beginning. 2004-01-11 09:40:49 +00:00
Makefile.am 2003-10-19 Yoshinori K. Okuji <okuji@enbug.org> 2003-10-19 17:36:30 +00:00
Makefile.in 2003-10-19 Yoshinori K. Okuji <okuji@enbug.org> 2003-10-19 17:36:30 +00:00
missing Use automake-1.4h instead of our own version. Some required changes are made. 2001-07-04 07:33:48 +00:00
mkinstalldirs Use automake-1.4h instead of our own version. Some required changes are made. 2001-07-04 07:33:48 +00:00
NEWS 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
README Simplify the file README, and update NEWS. 2002-05-30 20:21:30 +00:00
stamp-h.in modify the implement of the maintainer mode. 1999-09-13 13:32:31 +00:00
THANKS 2004-03-27 Yoshinori K. Okuji <okuji@enbug.org> 2004-03-27 17:02:54 +00:00
TODO Updated. 2004-01-12 10:43:41 +00:00

This is GNU GRUB, the GRand Unified Bootloader.  GRUB is intended to
provide important bootloader features that are missing from typical
personal computer BIOSes:

  - provides fully-featured command line and graphical interfaces
  - recognizes fdisk partitions and BSD disklabels
  - can dynamically read Linux ext2fs, ReiserFS, JFS and XFS, BSD ufs,
    MS-DOS FAT16 and FAT32, Minix fs, and VSTa fs filesystems, plus
    hardcoded blocklists
  - can boot Multiboot-compliant kernels (such as GNU Mach), as well
    as standard Linux and *BSD kernels

See the file NEWS for a description of recent changes to GRUB.

If you are interested in the network support, see the file
README.netboot under the directory netboot.

See the file INSTALL for instructions on how to build and install the
GRUB data and program files. See the GRUB manual for details about
using GRUB as your boot loader. Type "info grub" in the shell prompt.

Please visit the official web page of GNU GRUB, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.