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

Bug#422370: should switch to grub2 when using GPT

On Thu, May 10, 2007 at 05:42:30PM +0200, Frans Pop wrote:
> On Thursday 10 May 2007 17:26, Robert Millan wrote:
> > On Thu, May 10, 2007 at 03:48:49PM +0200, Frans Pop wrote:
> > > On Thursday 10 May 2007 15:30, Robert Millan wrote:
> > > > "grub-probe -t partmap" does exactly that, with 104 KiB (-O2) and
> > > > no other dependencies.  Do you want an udeb that includes
> > > > grub-probe?
> > >
> > > Can you give an example of its output?
> >
> > $ sudo grub-probe -t partmap /boot/grub/
> > gpt
> Hmm. Nice, but I don't think so. IMO it is way too slow:
> $ time sudo grub-probe -t partmap /dev/hda

That's not how it works.  You give it a path (typicaly /boot/grub) and it
traverses /dev to resolve what device it belongs to (-t device).  Then it
tells you the modules core.img will need to access this path (-t partmap,
-t fs).

$ time sudo grub-probe -t partmap /boot/grub

real    0m0.469s
user    0m0.000s
sys     0m0.088s

Not sure why /dev/hda is so slow though.  Maybe it's a bug, but not an
important one.

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: