Commit graph

15 commits

Author SHA1 Message Date
wiz
05f347b12d Apply patch:
Fix problem with systems with more than 2 GB memory (notably,
x86_64-based systems).  Thanks Goswin Brederlow.

From Debian via Andrew Daugherity in PR 36627.

Bump PKGREVISION.

pkglint cleanup while here.
2010-02-21 16:44:52 +00:00
tron
e9fe55194e Fix build problems with GCC 4.x if netboot support is enabled.
Patches provided by Dieter Roelants in PR pkg/36549.
2007-06-25 13:05:56 +00:00
jmmv
6e6cc9680e Make it clear how to boot a Multiboot-enabled kernel. Per suggestion in
PR pkg/34936.  Bump PKGREVISION to 7.
2006-12-17 19:21:42 +00:00
bad
9fd8390500 stage2/pc_slice.h: add the missing disklabel FS_TYPE #defines and RF_PROTECTED_SECTORS.
stage2/disk_io.c: adjust the partition start and size by RF_PROTECTED sectors for partitions of type FS_RAID.
stage2/fsys_ffs.c: accept partitions of type FS_RAID as candidates for FFS, too.
stage2/fsys_ufs2.c: accept partitions of type FS_RAID as candidates for FFSv2, too.

This allows grub to directly boot from NetBSD RAID1 partitions the same way
as with the native bootloader.

Bump PKGREVISION.
2006-10-17 21:55:33 +00:00
jmmv
4d1ccdc020 Workaround a bug that prevents GRUB to load ELF kernels that explicitly
specify load addresses in their Multiboot header.  (E.g., NetBSD.)

This has already been sent to GRUB's bug tracking system:

	http://savannah.gnu.org/bugs/?func=detailitem&item_id=15590

Bump PKGREVISION to 4.
2006-02-03 09:59:32 +00:00
jlam
e1e278fb23 On NetBSD, recognize ld(4) disk devices attached to HW raid controllers,
e.g. aac(4), amr(4), twe(4), etc., so that we can install grub onto
them.  Bump PKGREVISION of sysutils/grub to 0.97nb3.
2005-11-12 06:35:24 +00:00
rillig
45b7809cd1 Restored the original RCS Id from reboot.h into patch-ad and enclosed it
by % instead of $. Fixes a pkglint warning about possible RCS tag.
2005-10-23 19:53:24 +00:00
jlam
3d319dfca8 Instead of trying to workaround the possible conflict between grub's
internal term.h and ncurses' term.h, just rename grub's to grubterm.h
and avoid the potential problems altogether.
2005-09-24 00:15:03 +00:00
jmmv
b490624d95 Apply patches to recognize boot options passed to NetBSD kernels.
Bump PKGREVISION to 1.  From Piotr Meyer in PR pkg/30834.

As GRUB 0.x is in maintenance-only status now, I assume there is no
chance to get them incorporated mainstream.  We'll keep them here
though, as they seem useful (could have really helped me in some
situations when needing to boot single user).
2005-08-21 15:08:46 +00:00
jmmv
43e0273d27 Update grub to 0.94:
* Support building on x86-64 with gcc -m32.
* Use a BIOS call to turn on/off Gate A20. This should solve various
  problems related to Gate A20 in modern BIOSes.
* Add a workaround for buggy BIOSes (notably HP Vectra series) which
  don't pass the boot drive correctly.
* Display "GNU GRUB" instead of "GRUB" in the menu.
* Add support for QNX RTP into the grub shell.
* Add support for the initrd max address of a kernel header in Linux.
* Support 32 bit and 64 bit dev_t.
* Add support for an install device in GRUB's notation with no
  parenthesis (e.g. grub-install hd0).
* Improve the manual a lot.

While here, add a new build definition, GRUB_PRESET_COMMAND, which can be
set to a single command that will be embedded in grub's stage2 and executed
during bootup (useful for automated diskless setups).  Also make use of
BUILD_DEFS properly.  And pick up maintainership, as requested by tron@.
2004-01-29 18:36:38 +00:00
mrauch
c33d2e9bbe Solve the problem with the missing memcpy differently
(Forward patch from the fix that finally went into grub's CVS)
The old way had problems finding disks and formatting curses output properly.
Fixes PR pkg/24214.
2004-01-24 16:36:03 +00:00
mrauch
8d19c163a6 Fix compilation on -current (gcc3):
1) remove superfluous long in stage2/fsys_reiserfs.c (forward port from
   current version in grub CVS)
2) provide an explicit memcpy stub so the memcpy inserted by gcc3 as
   consequence of a pass-by-value can be linked against (patch from
   Joachim Kainz in grub bug report 3343)
2003-10-26 12:28:50 +00:00
wiz
bbdd3dd622 Fix grub-install problem reported in PR 22049 by Soren Jacobsen.
While here, convert to USE_NEW_TEXINFO, and make it compile.
[freestanding, but using nested functions; gcc emits __enable_exec_stack,
which lives in libgcc, but is not linked because the program is supposed
to be freestanding. Provide dummy __enable_exec_stack function.]
Bump PKGREVISION.
2003-07-13 17:35:04 +00:00
thorpej
d6c3cd26ba Replace uses of -fno-builtin with -ffreestanding. -ffreestanding also
implies -fno-builtin, but also conveys additional information ("not in
a hosted environment").

This is 1/2 of the fix for PR toolchain/19265.
2003-03-14 23:35:24 +00:00
jmmv
2fa17d5ffc Update grub to 0.93. Changes in this version:
* Define the behavior of the boot loader when the load end address is
  zero and the bss end address is zero in the Multiboot Specification.
  Also, add the support into GRUB.
* Finally, we have a Bug Tracking System! Now the preferable way to
  report bugs is to use the BTS rather than sending e-mail to bug-grub.
  See <http://bugcomm.enbug.org/?project=grub&mode=project>, for more
  details.
* The appendix "FAQ" in the manual is removed. See the GNU GRUB FAQ on
  the web <http://www.gnu.org/software/grub/grub-faq.html> instead.
* The terminal handling code is rewritten radically, and many bugfixes
  are made at the same time.
* The command "color" is effective even in the command-line.
* The command "terminal" takes two new options, ``--no-echo'' and
  ``--no-edit''. If you specify ``--no-echo'', GRUB won't echo back
  input characters. If you specify ``--no-edit'', GRUB will disable the
  BASH-like editing feature. These options are useful when using an
  intelligent terminal (such as the comint mode in GNU Emacs).
* The utility ``grub-md5-crypt'' prompts to retype a password and checks
  if the passwords match.
* Support for booting Linux is rewritten, so GRUB now supports
  large-EBDA systems.
* The menu interfaces supports Page Up, Page Down, and Right Key.
* New command "terminfo", for vt100-incompatible terminals.
* New options, ``-D'', ``-g'' and ``-m'' are supported for FreeBSD.
2003-01-24 23:49:54 +00:00