Commit graph

  • da90820083 * docs/grub.texi (Naming convention): Use GRUB 2 syntax. (File name syntax): Likewise. (help): --all is no longer supported in GRUB 2. Be more precise about pattern matching. Colin Watson 2010-06-07 22:18:00 +01:00
  • fb55c3acf9 * normal/completion.c (grub_normal_do_completion): When completing arguments to "set" and the current word contains an equals sign, skip to after the equals sign before starting completion. Colin Watson 2010-06-07 22:13:26 +01:00
  • 258c2573a6 * fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip. Colin Watson 2010-06-07 21:29:25 +01:00
  • ee75515e69 * docs/grub.texi (Network): New section. (Device syntax): The network device is called (pxe)' in GRUB 2, not (nd)' as in GRUB Legacy. (pxe_unload): New section. Colin Watson 2010-06-07 21:26:30 +01:00
  • a6a700aa52 * docs/grub.texi (Troubleshooting): echo' is not usually available in the rescue shell, so recommend using set' instead. Thanks, Jordan Uggla. Colin Watson 2010-06-07 21:10:29 +01:00
  • 4003dd38df * docs/grub.texi (Filesystem): Refer to search' instead of find'. (password): New section. (password_pbkdf2): New section. (search): New section. (Security): New section. (Troubleshooting): New section, currently very incomplete. (Invoking grub-mkpasswd-pbkdf2): New section. (Internals): New section, currently very incomplete. Colin Watson 2010-06-07 14:32:12 +01:00
  • e1cbcc40a4 * util/grub.d/00_header.in: Add some more quoting (of "${prev_saved_entry}" and "${boot_once}") needed to make savedefault work again. Reported by: Mario 'BitKoenig' Holbe (Debian bug #584812). Colin Watson 2010-06-07 14:22:40 +01:00
  • db8fa1ad87 * util/grub-mkpasswd-pbkdf2.c (main): Rename top-level c' variable to count', fixing variable shadowing that broke the -c option. Colin Watson 2010-06-07 14:15:57 +01:00
  • 71c3809882 * util/grub.d/00_header.in: Quote values assigned to `saved_entry', in case they contain spaces. Colin Watson 2010-06-05 20:44:44 +01:00
  • f28a9212b4 * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Prepend "part_" to partmap module names, in line with grub-install. Reported by: Jindřich Makovička (Debian bug #584426). Colin Watson 2010-06-04 13:53:30 +01:00
  • 9cdfe32f09 * util/grub-mkimage.c: Make target-related error messages slightly more helpful; -O talks about "format". Explicitly point to the use of -O if no target is specified. Reported by: Didier Raboud (Debian bug #584415). Colin Watson 2010-06-04 13:38:10 +01:00
  • 795b593a47 * INSTALL: Document several build requirements for optional features (libdevmapper, ncurses, libusb, SDL, FreeType, GNU Unifont). Colin Watson 2010-06-03 09:48:23 +01:00
  • 9d9b583350 Handle all possible disk device names for NetBSD. Grégoire Sutre 2010-06-03 00:47:22 +02:00
  • 0819fec8a1 * docs/grub.texi (Simple configuration): Fix copy-and-paste typo. Thanks to Jordan Uggla for spotting this. Colin Watson 2010-06-02 22:48:13 +01:00
  • 1515ec8684 2010-06-02 Aleš Nesrsta <starous@volny.cz> Aleš Nesrsta 2010-06-02 17:16:20 +02:00
  • 49396b4f61 Add ChangeLog Vladimir 'phcoder' Serbinenko 2010-06-02 16:52:16 +02:00
  • 7db51e329b Remove double defines and use dma_free Vladimir 'phcoder' Serbinenko 2010-06-02 16:51:54 +02:00
  • 5d538b8b4a Use memset Vladimir 'phcoder' Serbinenko 2010-06-02 16:49:22 +02:00
  • f133a8a74b Enable USB on 64-bit (still won't work with >= 4GiB memory). Vladimir 'phcoder' Serbinenko 2010-06-02 16:48:10 +02:00
  • 8bd3a1fb30 Add necessarry cast Vladimir 'phcoder' Serbinenko 2010-06-02 16:46:55 +02:00
  • f0e6cceb81 Remove leftover early debug exit. Vladimir 'phcoder' Serbinenko 2010-06-02 16:46:37 +02:00
  • 11dccbfd4d Sort scsi_cmd_t. Vladimir 'phcoder' Serbinenko 2010-06-02 16:45:43 +02:00
  • 0b35b2a921 * util/grub.d/00_header.in: Add safety check to make sure that ${locale_dir} exists before trying to probe it. Colin Watson 2010-06-02 13:57:13 +01:00
  • ca0afd5bab * docs/grub.texi (SCO UnixWare): Remove, at Vladimir's request and per the GNU Coding Standards; this is now too obscure to be worth documenting. (QNX): Likewise. (chainloader): Remove cross-reference to `SCO UnixWare'. Colin Watson 2010-06-02 13:11:33 +01:00
  • 1c41aa7883 * docs/grub.texi (Chain-loading): New section. (DOS/Windows): New section, borrowed from GRUB Legacy with details adjusted for GRUB 2. (SCO UnixWare): Likewise. (QNX): Likewise. (chainloader): Add reference to `Block list syntax'. (drivemap): New section. (parttool): New section. Colin Watson 2010-06-02 12:47:11 +01:00
  • bb8ea0f5c3 * docs/grub.texi (GNU GRUB manual): Remove reference to Invoking the grub shell'. (Installation): Add reference to Making a GRUB bootable CD-ROM'. (Installing GRUB using grub-install): Remove reference to the grub shell; mention grub-mkimage' and grub-setup' instead. (Invoking grub-install): Likewise. (Interface): Add reference to Menu entry editor'. (serial): Remove --device' option. Colin Watson 2010-06-02 11:26:28 +01:00
  • 288dd6ed3d * docs/grub.texi (Configuration): New section, documenting configuration file generation using grub-mkconfig. I've left a slot for documenting the full shell scripting format but have not yet started on writing that up. (Invoking grub-mkconfig): New section. Colin Watson 2010-06-02 11:14:02 +01:00
  • d495544497 Shut down PHCI controller harder Vladimir 'phcoder' Serbinenko 2010-06-02 05:00:54 +02:00
  • f1cb760c99 Disable unused list Vladimir 'phcoder' Serbinenko 2010-06-02 04:52:52 +02:00
  • 2325800310 Fix last_trans determination Vladimir 'phcoder' Serbinenko 2010-06-02 04:52:35 +02:00
  • a18c783473 Fewstylistic fixes Vladimir 'phcoder' Serbinenko 2010-06-02 04:51:35 +02:00
  • 34c9f0e949 * docs/grub.texi (direntry): Remove grub-terminfo reference. (GNU GRUB manual): Likewise. (General commands): Update description of `terminfo' for GRUB 2. Colin Watson 2010-06-02 02:50:04 +01:00
  • 9121567e16 * commands/gptsync.c (grub_cmd_gptsync): Fix typos. (GRUB_MOD_INIT): Fix capitalisation. * docs/grub.texi (Command-line and menu entry commands): Document gettext and gptsync commands. Colin Watson 2010-06-02 02:37:55 +01:00
  • ab6316112c * conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include kern/$(target_cpu)/cache.S even if TARGET_NO_MODULES = yes. Colin Watson 2010-06-02 01:23:34 +01:00
  • 390b0676c4 Use dev->descdev.maxsize0 even if dev->initialized isn't set Aleš Nesrsta 2010-06-02 02:04:45 +02:00
  • bde4a9ac1d Add btrfs probing support, currently only in the single-device case. * kern/emu/getroot.c (find_root_device_from_mountinfo): New function. (grub_guess_root_device): Call find_root_device_from_mountinfo before looking in /dev. Colin Watson 2010-06-01 18:30:20 +01:00
  • 0d9ff59345 * kern/emu/getroot.c (find_root_device_from_mountinfo): Use getline instead of fgets into a static buffer. Use sizeof instead of strlen on a constant string. Thanks to Vladimir for review. Colin Watson 2010-06-01 18:05:29 +01:00
  • 7d4873c26a Merge Aleš' latest patch Aleš Nesrsta 2010-06-01 02:10:19 +02:00
  • b1d17e10e0 * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Use GRUB_DISK_SIZE_UNKNOWN. * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Likewise. Vladimir 'phcoder' Serbinenko 2010-05-31 21:01:01 +02:00
  • dfbfe00473 * include/grub/disk.h (GRUB_DISK_SIZE_UNKNOWN): New macro. * fs/nilfs.c: Support 2nd super block in case 1st one is accidently corrupted or not synced properly. Jiro SEKIBA 2010-05-31 20:49:42 +02:00
  • c2ffc8e956 * normal/main.c (grub_normal_add_menu_entry): Avoid going out of args. Reported by: Seth Goldberg. Vladimir 'phcoder' Serbinenko 2010-05-31 20:46:16 +02:00
  • 5629316656 * loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix incorrect addition of dest. Reported by: Seth Goldberg. Vladimir 'phcoder' Serbinenko 2010-05-31 20:43:28 +02:00
  • 7620e7debd * commands/setpci.c (grub_setpci_iter): Fix an incorrect function check. Reported by: Seth Goldberg. Vladimir 'phcoder' Serbinenko 2010-05-31 20:40:42 +02:00
  • c837af3f38 * loader/multiboot_elfxx.c (grub_multiboot_load_elfXX) [__mips]: Check 64-bit address as signed on MIPS. Vladimir 'phcoder' Serbinenko 2010-05-31 20:23:51 +02:00
  • 778ff32476 Fix a bunch of problems with USB. Aleš Nesrsta 2010-05-31 14:11:41 +02:00
  • 7fd08f56ae Shut down OHCI on booting Vladimir 'phcoder' Serbinenko 2010-05-31 14:01:38 +02:00
  • 8b1cf5e87f Dedicated DMA allocation functions. CS5536 OHCI support. Vladimir 'phcoder' Serbinenko 2010-05-31 13:58:18 +02:00
  • c7c75cf4cb * configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not to the empty string. Colin Watson 2010-05-28 18:13:48 +01:00
  • fa4b84900a Fix grub-emu issues on NetBSD, with gcc 4.1.3. BVK Chaitanya 2010-05-28 19:18:45 +05:30
  • a33075b941 Make grub-probe work with symbolic links under /dev/mapper as well as with real block devices. The Linux world seems to be (at best) in transition here, and GRUB shouldn't get caught in the middle. * kern/emu/getroot.c (find_root_device): Follow symbolic links under /dev/mapper. Colin Watson 2010-05-28 13:21:30 +01:00
  • 15fb2ae896 Make grub-probe work with symbolic links under /dev/mapper as well as with real block devices. The Linux world seems to be (at best) in transition here, and GRUB shouldn't get caught in the middle. * kern/emu/getroot.c (find_root_device): Follow symbolic links under /dev/mapper. Colin Watson 2010-05-28 11:51:50 +01:00
  • 26c9e9bf61 merge from mainline Colin Watson 2010-05-27 16:36:31 +01:00
  • d870813427 * util/grub-script-check.c (main): Ensure defined behaviour on empty input files (in which case exit zero). Colin Watson 2010-05-27 15:54:18 +01:00
  • db2102a046 * kern/emu/misc.c (canonicalize_file_name): realpath can still return NULL for various reasons even if it has a maximum-length buffer: for example, there might be a symlink loop, or the path might exceed PATH_MAX. If this happens, return NULL. Colin Watson 2010-05-27 15:45:41 +01:00
  • 5fdba519bb 2010-05-27 Robert Millan <rmh@gnu.org> Robert Millan 2010-05-27 16:38:16 +02:00
  • d1d368e426 * util/grub-mkrescue.in: Initialise override_dir rather than assuming that it's unset or empty in the environment. Colin Watson 2010-05-27 12:43:22 +01:00
  • 95ac3c730c Fix -Wshadow warning with emu build on NetBSD. Grégoire Sutre 2010-05-26 23:49:52 +02:00
  • 7d8c021353 * INSTALL: Added flex >= 2.5.35 requirement. BVK Chaitanya 2010-05-25 18:24:46 +05:30
  • db4d5813e3 * commands/usbtest.c (grub_usb_get_string): Properly support UTF-16. Vladimir 'phcoder' Serbinenko 2010-05-23 14:37:28 +02:00
  • f24f430030 cmostest support. Vladimir 'phcoder' Serbinenko 2010-05-23 14:16:17 +02:00
  • 76e6d0d767 Add default/grub support Vladimir 'phcoder' Serbinenko 2010-05-23 14:11:11 +02:00
  • ad603f61a5 * gfxmenu/gui_list.c (draw_menu): Don't add scrollbar width to padding. Removed drawing_scrollbar argument. All users updated Fixes #29792. Reported by Jo Shields Vladimir 'phcoder' Serbinenko 2010-05-23 13:59:50 +02:00
  • 3ecb080a33 * gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current buffer since gfxterm handles double repaint. Vladimir 'phcoder' Serbinenko 2010-05-23 13:43:38 +02:00
  • 5f2316c1fe * gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers. * term/gfxterm.c (real_scroll): Likewise. Vladimir 'phcoder' Serbinenko 2010-05-23 13:42:16 +02:00
  • c49abfdd24 merge mainline into cmostest Vladimir 'phcoder' Serbinenko 2010-05-22 20:28:09 +02:00
  • 9a25f885d3 * kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Zero-fill entry before calling BIOS. Vladimir 'phcoder' Serbinenko 2010-05-21 20:22:29 +02:00
  • 39fbb79aa1 * include/grub/i18n.h: Always enable grub_gettext. Vladimir 'phcoder' Serbinenko 2010-05-21 20:12:41 +02:00
  • 228cfa97ca * kern/i386/pc/init.c (make_install_device): Fix a leftover usage of old partition naming style. Vladimir 'phcoder' Serbinenko 2010-05-21 20:08:48 +02:00
  • 21717c8fca * util/grub-mkconfig.in: Fix handling of -o so that it works when not the first option. Colin Watson 2010-05-21 14:17:15 +01:00
  • c0f48e654d * util/grub-mkrelpath.c (usage): Remove excess apostrophe. Colin Watson 2010-05-20 23:27:15 +01:00
  • 96779aec8e * util/misc.c: Move inclusion of <limits.h> to ... * kern/emu/misc.c: ... here. Needed for canonicalize_file_name. Colin Watson 2010-05-20 23:16:10 +01:00
  • fa9d256ee4 Fix merge error in NetBSD code. Grégoire Sutre 2010-05-20 02:05:43 +02:00
  • 123b7a8571 Fix grub-mkrescue usage unit testing. BVK Chaitanya 2010-05-19 14:31:43 +05:30
  • 74276c0df7 * util/grub.d/10_windows.in: Use path names instead of drive letters to prevent warning from Cygwin 1.7. Add drivemap command to menuentry if needed. Christian Franke 2010-05-18 21:58:49 +02:00
  • c4f7b52359 2010-05-18 Justus Winter <4winter@informatik.uni-hamburg.de> Samuel Thibault 2010-05-18 20:10:37 +02:00
  • 4db50964ad Add btrfs probing support, currently only in the single-device case. * kern/emu/getroot.c (find_root_device_from_mountinfo): New function. (grub_guess_root_device): Call find_root_device_from_mountinfo before looking in /dev. Colin Watson 2010-05-18 13:01:59 +01:00
  • 95b97950e2 * include/grub/i18n.h (gettext): Inline instead of using #define. (grub_gettext): Likewise. (_): Likewise. Vladimir 'phcoder' Serbinenko 2010-05-18 14:00:51 +02:00
  • 01b8d2d787 * Makefile.in (CPPFLAGS): Replace -DGRUB_LIBDIR with -DGRUB_PKGLIBROOTDIR= and prepend @PACKAGE_TARNAME@. All users updated. * util/grub-mkimage.c (image_targets): Add i386-multiboot. (main): Add a slash after pkglibdirroot. Vladimir 'phcoder' Serbinenko 2010-05-18 13:55:26 +02:00
  • 654e1d1e0e * util/grub-install.in: Add missing "in" keyword. Vladimir 'phcoder' Serbinenko 2010-05-18 13:45:25 +02:00
  • 26966aeba7 2010-05-18 Vladimir Serbinenko <phcoder@gmail.com> Vladimir 'phcoder' Serbinenko 2010-05-18 14:21:15 +02:00
  • 7500674773 * po/POTFILES: Rename util/grub-mkrawimage.c to util/grub-mkimage.c. Vladimir 'phcoder' Serbinenko 2010-05-18 14:20:00 +02:00
  • 74cbf5bdcb * configure.ac: Check for Linux device-mapper support. * util/hostdisk.c (device_is_mapped): New function. (find_partition_start): New function, partly broken out from linux_find_partition and grub_util_biosdisk_get_grub_dev but with device-mapper support added. (linux_find_partition): Use find_partition_start. (convert_system_partition_to_system_disk): Add st' argument. Support Linux /dev/mapper/* devices if device-mapper support is available; only DM-RAID devices are understood at present. (find_system_device): Add st' argument. Pass it to convert_system_partition_to_system_disk. (grub_util_biosdisk_get_grub_dev): Pass stat result to find_system_device and convert_system_partition_to_system_disk. Use find_partition_start. * conf/common.rmk (grub_mkdevicemap_SOURCES): Add kern/env.c, kern/err.c, kern/list.c, kern/misc.c, and kern/emu/mm.c. * util/deviceiter.c [__linux__]: Define MINOR. (grub_util_iterate_devices): Add support for DM-RAID disk devices. * util/mkdevicemap.c (grub_putchar): New function. (grub_getkey): New function. (grub_refresh): New function. (main): Set debug=all if -v -v is used. Colin Watson 2010-05-18 12:33:35 +01:00
  • 355b51e9b5 Fix build with non-GNU libcs. * util/misc.c (canonicalize_file_name): Move to ... * kern/emu/misc.c (canonicalize_file_name): ... here. Needed by grub_make_system_path_relative_to_its_root. Colin Watson 2010-05-18 11:57:31 +01:00
  • 7fb5c25fd0 * util/grub-mkrescue.in: Sync up with grub-install in terms of how we handle finding grub-mkimage. Default to finding grub-mkimage in ${bindir} with program_transform_name applied, and provide a --grub-mkimage option to override this. Colin Watson 2010-05-18 11:51:37 +01:00
  • e6127bed25 merge from trunk Colin Watson 2010-05-18 11:14:13 +01:00
  • 1d3293d67d Remove grub-mkisofs. Vladimir 'phcoder' Serbinenko 2010-05-17 23:33:03 +02:00
  • 5dde9afe82 Unify grub-mkimage accross platforms. Vladimir 'phcoder' Serbinenko 2010-05-17 23:04:10 +02:00
  • 6198f888c9 Revert spurious change in Makefile.in Vladimir 'phcoder' Serbinenko 2010-05-17 22:28:51 +02:00
  • 8b26d1d30b add missing sh.mod Vladimir 'phcoder' Serbinenko 2010-05-17 22:23:22 +02:00
  • 7e70395f9c Cherrypick bugfixes and coreboot+qemu support from expermental Vladimir 'phcoder' Serbinenko 2010-05-17 21:35:39 +02:00
  • 918405fd8c merge mainline into rescue-efi Vladimir 'phcoder' Serbinenko 2010-05-17 21:26:16 +02:00
  • f4fc97d02a source tree reorg for emu platform BVK Chaitanya 2010-05-17 21:10:53 +05:30
  • d2d32327a8 merge with mainline BVK Chaitanya 2010-05-17 20:36:05 +05:30
  • 967828eb5a macroify and share VGA registers Vladimir 'phcoder' Serbinenko 2010-05-17 02:25:37 +02:00
  • 368e544ba6 Add bochs video support Vladimir 'phcoder' Serbinenko 2010-05-17 01:18:50 +02:00
  • 9a3e298a7e Fix incorrect aperture size Vladimir 'phcoder' Serbinenko 2010-05-16 22:20:19 +02:00
  • 31e0ce4d10 Support index color in video_cirrus Vladimir 'phcoder' Serbinenko 2010-05-16 21:18:40 +02:00
  • 63c1b71cbb Cleanup hidden DAC part. Vladimir 'phcoder' Serbinenko 2010-05-16 20:44:44 +02:00
  • d00b0b3f4d Support double buffering on video cirrus Vladimir 'phcoder' Serbinenko 2010-05-16 20:20:31 +02:00
  • 02aabd9e46 Encapsulate video_fb state in a structure Vladimir 'phcoder' Serbinenko 2010-05-16 15:01:54 +02:00