2007-05-05 Robert Millan <rmh@aybabtu.com>
* conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/gpt.c. (grub_probe_SOURCES): Likewise. * util/i386/pc/biosdisk.c (grub_util_biosdisk_get_grub_dev): Detect GPT and initialize dos_part and bsd_part accordingly. * util/i386/pc/grub-setup.c (setup): Ditto for install_dos_part and install_bsd_part. (main): Activate gpt module for use during partition identification, and deactivate it afterwards. * util/i386/pc/grub-install.in: Add gpt module to core.img. * util/i386/pc/grub-probe.c (main): Activate gpt module for use during partition identification, and deactivate it afterwards.
This commit is contained in:
parent
99123174c9
commit
20b976586e
6 changed files with 81 additions and 29 deletions
|
@ -244,6 +244,7 @@ main (int argc, char *argv[])
|
|||
/* Initialize the emulated biosdisk driver. */
|
||||
grub_util_biosdisk_init (dev_map ? : DEFAULT_DEVICE_MAP);
|
||||
grub_pc_partition_map_init ();
|
||||
grub_gpt_partition_map_init ();
|
||||
grub_raid_init ();
|
||||
grub_lvm_init ();
|
||||
|
||||
|
@ -268,6 +269,7 @@ main (int argc, char *argv[])
|
|||
|
||||
grub_lvm_fini ();
|
||||
grub_raid_fini ();
|
||||
grub_gpt_partition_map_fini ();
|
||||
grub_pc_partition_map_fini ();
|
||||
grub_util_biosdisk_fini ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue