All of lore.kernel.org
 help / color / mirror / Atom feed
* Regression with grub-probefs
@ 2006-09-21 22:08 Robert Millan
  2006-09-22 11:57 ` Yoshinori K. Okuji
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Millan @ 2006-09-21 22:08 UTC (permalink / raw)
  To: grub-devel; +Cc: Yoshinori K. Okuji


Looks like grub-probefs is broken in current CVS:

$ sudo grub-probefs -v /
grub-probefs: info: changing current directory to /dev
[...]
grub-probefs: info: /dev/hda1 starts from 63
grub-probefs: info: opening the device hd0
grub-probefs: info: the size of hd0 is 156301488
grub-probefs: info: opening the device `/dev/hda'
grub-probefs: info: DOS partition 0 starts from 63
grub-probefs: info: opening hd0,0
grub-probefs: info: the size of hd0 is 156301488
grub-probefs: error: unknown device

I've performed a binary search and found that it stopped working after:

2006-06-05  Yoshinori K. Okuji  <okuji@enbug.org>

	Count partitions from 1 instead of 0 in the string representation
	of partitions. Still use 0-based internally.

I'm not sure if this applies to device.map.  Note that grub-mkdevicemap both
from before and after this commit generates the same output for me.

My (hand-editted) file is:

$ cat /boot/grub/device.map
(hd0)	/dev/hda

I also tried with (hd1) and even (hd-1), with same result.

-- 
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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-14 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 22:08 Regression with grub-probefs Robert Millan
2006-09-22 11:57 ` Yoshinori K. Okuji
2006-10-14 19:18   ` Robert Millan
2006-10-14 21:08     ` Yoshinori K. Okuji
2006-10-14 21:45       ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.