grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GPT on PC/BIOS computers


From: Marco Gerards
Subject: Re: GPT on PC/BIOS computers
Date: Sat, 05 May 2007 15:21:38 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Robert Millan <address@hidden> writes:

[...]

> I've looked into this, but I need some advice.  What's the simplest way to
> obtain the corresponding grub_partition_t structure for a partition by knowing
> its drive name?

You can use grub_partition_iterate.  Or open the disk and use
->partition.  You can read the name of the partitioning scheme.  The
is also done in grub-setup.c, in the code you altered.

--
Marco






reply via email to

[Prev in Thread] Current Thread [Next in Thread]