Reimport nestpart
This commit is contained in:
parent
bf7fcba2d7
commit
15cb7d433f
26 changed files with 561 additions and 720 deletions
|
@ -49,7 +49,7 @@ static grub_err_t grub_pcpart_boot (const grub_device_t dev,
|
|||
|
||||
index = dev->disk->partition->index;
|
||||
part = dev->disk->partition;
|
||||
dev->disk->partition = 0;
|
||||
dev->disk->partition = part->parent;
|
||||
|
||||
/* Read the MBR. */
|
||||
if (grub_disk_read (dev->disk, 0, 0, sizeof (mbr), &mbr))
|
||||
|
@ -96,7 +96,7 @@ static grub_err_t grub_pcpart_type (const grub_device_t dev,
|
|||
|
||||
index = dev->disk->partition->index;
|
||||
part = dev->disk->partition;
|
||||
dev->disk->partition = 0;
|
||||
dev->disk->partition = part->parent;
|
||||
|
||||
/* Read the parttable. */
|
||||
if (grub_disk_read (dev->disk, part->offset, 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue