Colin Watson
2d5d0333d6
* docs/grub.texi (default): Use @example rather than nested
...
itemized lists to avoid breaking gendocs.
2011-03-30 11:46:36 +01:00
Colin Watson
3d7ed04e92
* docs/grub.texi (Future): Update.
2011-03-30 11:34:52 +01:00
abf042006e
* docs/grub.texi (Environment): New chapter.
...
(Changes from GRUB Legacy): Link to "Environment block" section for
details of limitations.
(Simple configuration): Likewise. Link to documentation of gfxmode
and gfxpayload variables from GRUB_GFXMODE and GRUB_GFXPAYLOAD
respectively.
(Shell-like scripting): Note that normal variables are stored in the
environment.
(gettext): Link to documentation of lang and locale_dir.
(list_env): New section.
(load_env): New section.
(save_env): New section.
(Reporting bugs): Fix typo.
2011-03-30 11:31:33 +01:00
Vladimir 'phcoder' Serbinenko
e1ad0edd11
* docs/grub.texi: Correctly use "terminal_input" and not "terminal" in
...
the example.
2011-03-30 09:35:35 +02:00
Vladimir 'phcoder' Serbinenko
5d8031749e
* grub-core/term/at_keyboard.c (set_scancodes)
...
[!GRUB_MACHINE_MIPS_YEELOONG && !GRUB_MACHINE_QEMU]: Use scancode set 1.
2011-03-30 09:26:23 +02:00
Colin Watson
2a2da1d030
* docs/grub.texi (Menu-specific commands): Remove some semantics
...
that were true in GRUB Legacy but not in GRUB 2.
(submenu): New section.
(false): New section.
(read): New section.
(true): New section.
2011-03-30 03:49:22 +01:00
Colin Watson
a752763906
* docs/grub.texi (Changes from GRUB Legacy): Minor proofreading.
2011-03-30 03:26:11 +01:00
Colin Watson
8a748df2fd
credit
2011-03-30 03:22:37 +01:00
Colin Watson
e30af0297d
* docs/grub.texi (Simple configuration): Explain some of the
...
current limitations of grub-mkconfig.
2011-03-30 03:20:09 +01:00
Colin Watson
9882692e45
Update branch_parse-color.patch, to blend text when any background is
...
set as opposed to only when a stretched background is set (closes:
#613120 ).
2011-03-30 02:59:01 +01:00
Vladimir 'phcoder' Serbinenko
fc8584825c
Old macs search for boot.efi rather than for bootia32.efi.
...
* util/grub-install.in: Copy bootia32.efi to boot.efi.
* util/grub-mkrescue.in: Likewise.
Suggested by: Peter Jones.
2011-03-30 00:05:25 +02:00
Vladimir 'phcoder' Serbinenko
e1eb511d9a
* util/grub.d/20_linux_xen.in: Accept old-style xen kernels.
2011-03-29 21:12:13 +02:00
Vladimir 'phcoder' Serbinenko
70e75364fa
* include/grub/lvm.h (grub_lvm_lv): New field 'visible'.
...
(grub_lvm_segment): New fields 'type', 'mirror_count' and 'mirrors'.
(grub_lvm_mirror): New struct.
* grub-core/disk/lvm.c (grub_lvm_checkvalue): Commented out.
(grub_lvm_iterate): Iterate only visible volumes.
(grub_lvm_read): Factor out to ..
(read_lv): ... this. Support mirrors.
(grub_lvm_read): New wrapper function.
(grub_lvm_scan_device): Parse mirrors. Skip everything that isn't
stripped or mirrored.
2011-03-29 20:33:32 +02:00
Vladimir 'phcoder' Serbinenko
fc18f6a3cb
* util/grub.d/10_linux.in: Skip vmlinux-* on x86 platforms.
2011-03-29 19:47:34 +02:00
Colin Watson
5c650f4c8e
* docs/grub.texi (loopback): New section.
2011-03-29 18:08:23 +01:00
Colin Watson
61d7156b94
* grub-core/disk/loopback.c (GRUB_MOD_INIT): Stop documenting
...
removed -p option.
2011-03-29 18:00:23 +01:00
Colin Watson
04ea89aa3f
releasing version 1.99~rc1-8
2011-03-29 17:38:21 +01:00
Colin Watson
33256d0192
* Cherry-pick from upstream:
...
- Fix FreeBSD compilation problem.
2011-03-29 15:13:25 +01:00
Colin Watson
994b826432
* docs/grub.texi (BIOS installation): New section, partly based on
...
previous text in other sections.
(Installing GRUB using grub-install): Replace BIOS discussion with a
cross-reference.
(Images): Likewise.
2011-03-29 14:32:38 +01:00
Vladimir 'phcoder' Serbinenko
9e4d19e0d3
* grub-core/kern/emu/hostdisk.c (find_partition_start)
...
[HAVE_DIOCGDINFO]: Add safety checks.
2011-03-29 15:00:23 +02:00
Colin Watson
d1d53f2bf8
releasing version 1.99~rc1-7
2011-03-29 13:50:05 +01:00
Colin Watson
5b74459eb0
Add apport hook for ProblemType = 'Package', thanks to Jean-Baptiste
...
Lallement (LP: #591753 ).
2011-03-29 12:14:49 +01:00
Colin Watson
be1a02f38f
* Merge from Ubuntu:
...
- Build with gcc-4.5 on ppc64.
2011-03-29 12:10:45 +01:00
Colin Watson
382f831d85
Fix RAID-0 disk size calculation for metadata 1.x (LP: #743136 ).
2011-03-29 11:55:34 +01:00
Colin Watson
30c429ae04
Fix an ext2 overflow affecting inodes past 2TiB.
2011-03-29 11:41:34 +01:00
Colin Watson
fb77a3a964
Copy the partition table zone if floppy support is disabled, even if
...
no partition table is found (LP: #741867 ).
2011-03-29 11:37:30 +01:00
Colin Watson
31428afbc2
* Cherry-pick from upstream:
...
- Use libgeom on FreeBSD to detect partitions (closes : #612128 ).
2011-03-29 11:29:01 +01:00
Vladimir 'phcoder' Serbinenko
a307c0b206
* util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's
...
per default compiled in kernel and prior to 8.0 isn't shipped at all.
2011-03-29 12:01:48 +02:00
Colin Watson
b4db4f39f0
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): If
...
real_sb->size is zero (e.g. RAID-0), get the disk size from
real_sb->data_size instead.
Fixes Ubuntu bug #743136 .
2011-03-29 10:51:58 +01:00
Vladimir 'phcoder' Serbinenko
35e5f84c18
* grub-core/normal/misc.c (grub_normal_print_device_info): Use correct
...
printf clauses for printing size and start.
2011-03-29 11:25:04 +02:00
Vladimir 'phcoder' Serbinenko
d2e29d81a9
* grub-core/fs/ext2.c (grub_ext2_read_inode): Fix an overflow.
...
Reported and tested by: Timothy Nikkel.
2011-03-29 10:56:14 +02:00
Vladimir 'phcoder' Serbinenko
ed5587afea
* grub-core/term/gfxterm.c (dirty_region_add): Move core part to ...
...
(dirty_region_add_real): ... this.
(dirty_region_add): Don't discard margin refresh when performing
scheduled repaint.
2011-03-29 08:33:28 +02:00
Vladimir 'phcoder' Serbinenko
a1dc717c58
* grub-core/lib/relocator.c (allocate_regstart)
...
[!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Avoid grub_dprintf since not all
terminals are capabple of malloc-free operation.
(allocate_inreg) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.
(malloc_in_range) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.
2011-03-29 08:20:19 +02:00
Vladimir 'phcoder' Serbinenko
9f3677d3c1
* util/grub-setup.c: Copy the partition table zone if floppy support
...
is disabled, even if no partition table is found.
Otherwise, the BIOS on Dell Latitude E series laptops will freeze
during POST if an invalid partition table is contained in the PBR
of the active partition when GRUB is installed to a partition.
2011-03-29 02:20:52 +02:00
Colin Watson
0d13d45581
Add /proc/mdstat, LVM information, and listings of /dev/disk/by-id/ and
...
/dev/disk/by-uuid/ to bug reports, by request of upstream.
2011-03-28 23:49:42 +01:00
Colin Watson
2414872538
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Remove stale
...
comment.
2011-03-28 15:17:22 +01:00
Colin Watson
f329eda79e
* grub-core/disk/raid.c (grub_raid_register): Adjust debug message
...
to be specific about what kind of RAID device we're scanning for.
2011-03-28 13:23:54 +01:00
Seth Goldberg
c482ad98b3
* grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): Don't return freed string.
2011-03-26 23:22:59 +01:00
Vladimir 'phcoder' Serbinenko
5ee04984d1
* grub-core/fs/iso9660.c (grub_iso9660_label): Rtrim the label.
2011-03-26 14:14:59 +01:00
Vladimir 'phcoder' Serbinenko
f4727da93f
Use libgeom on FreeBSD to detect partitions.
...
* Makefile.util.def (grub-mkimage): Add LIBGEOM to ldadd.
(grub-mkrelpath): Likewise.
(grub-script-check): Likewise.
(grub-editenv): Likewise.
(grub-mkpasswd-pbkdf2): Likewise.
(grub-fstest): Likewise.
(grub-mkfont): Likewise.
(grub-mkdevicemap): Likewise.
(grub-probe): Likewise.
(grub-setup): Likewise.
(grub-ofpathname): Likewise.
(grub-mklayout): Likewise.
(example_unit_test): Likewise.
(grub-menulst2cfg): Likewise.
* grub-core/Makefile.core.def (grub-emu): Likewise.
(grub-emu-lite): Likewise.
* configure.ac: Check for -lgeom on FreeBSD and set LIBGEOM.
* grub-core/kern/emu/hostdisk.c [FreeBSD]: Include libgeom.h. Don't
define HAVE_DIOCGDINFO.
(follow_geom_up) [FreeBSD]: New function.
(find_partition_start) [FreeBSD]: Rewritten using follow_geom_up.
(convert_system_partition_to_system_disk) [FreeBSD]: Likewise.
(grub_util_biosdisk_get_grub_dev) [FreeBSD]: Use FreeBSD path
unconditionally of HAVE_DIOCGDINFO.
2011-03-26 12:59:02 +01:00
Vladimir 'phcoder' Serbinenko
82fe6c751b
Fix FreeBSD compilation problem.
...
* grub-core/kern/emu/hostdisk.c (MAJOR) [FreeBSD]: New definition.
(FLOPPY_MAJOR) [FreeBSD]: Likewise.
2011-03-26 12:49:34 +01:00
Colin Watson
f9c790b223
releasing version 1.99~rc1-6
2011-03-25 23:37:24 +00:00
Colin Watson
249b0ccb22
Update branch_embed-sectors.patch, avoiding consuming lots of space and
...
time if the first partition is not near the start of the disk (closes:
#619458 , LP: #691569 ).
2011-03-25 17:28:24 +00:00
Colin Watson
ddfa395c65
Drop the default priority of grub2/linux_cmdline to medium. We only
...
need to ask it if we're upgrading from GRUB Legacy and found an empty
kopt in menu.lst (LP: #591202 ).
2011-03-25 10:56:01 +00:00
Colin Watson
24bf5498ad
Switch back to framebuffer page zero before loading the kernel
...
(thanks, Felix Kuehling).
2011-03-25 10:53:35 +00:00
Colin Watson
70e4d5f34f
* Merge from Ubuntu:
...
- If we're upgrading and /boot/grub/core.img doesn't exist, then don't
ask where to install GRUB, since it probably means we're in some kind
of specialised environment such as a live USB stick (LP: #591202 ).
2011-03-25 10:51:08 +00:00
Colin Watson
4c6c9431d2
* grub-core/video/fb/video_fb.c (grub_video_fb_get_info_and_fini):
...
Switch back to page zero before loading a kernel, since some kernel
drivers expect that.
Thanks to: Felix Kuehling.
2011-03-25 00:03:54 +00:00
Vladimir 'phcoder' Serbinenko
c7064d9425
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_addr)
...
[DEBUG_RELOCATOR]: Reuse grub_mm_check.
(grub_relocator_alloc_chunk_align) [DEBUG_RELOCATOR]: Likewise.
2011-03-24 12:45:51 +01:00
Vladimir 'phcoder' Serbinenko
3f71cded81
* include/grub/mm.h (GRUB_MM_CHECK): Rename to ...
...
(grub_mm_check): ... this. MAke a function-like macro and use GRUB_FILE.
2011-03-24 12:43:28 +01:00
Colin Watson
f8111673e4
Account for FreeBSD module headers when calculating allocation size.
2011-03-24 11:42:13 +00:00