Bug#422370: should switch to grub2 when using GPT
On Wed, May 09, 2007 at 10:34:49PM +0200, Frans Pop wrote:
> tags 422370 - patch
> thanks
>
> On Wednesday 09 May 2007 22:02, Robert Millan wrote:
> > Here it is. I tested it with grub-installer from trunk, but only in
> > combination with an etch installer because of current
> > mklibs/gcc/binutils breakage.
>
> Sorry, but depending on parted-udeb for this is IMO not acceptable.
>
> Note that on x86 we already have fdisk installed, but parsing the output
> of that is IMO equally unacceptable.
>
> I have recently wanted a simple utility that would return the partition
> type of a certain partition, and now it seems we want a simple utility
> that returns the type of partition table used.
> I guess someone will have to write those. using libparted for that is OK,
> but installing parted just to get a disk label is not.
"grub-probe -t partmap" does exactly that, with 104 KiB (-O2) and no other
dependencies. Do you want an udeb that includes grub-probe?
Alternatively, could partman write partition table information to debconf so
that grub-installer can grab it?
--
Robert Millan
My spam trap is honeypot@aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
Reply to: