gpart oddity
Marcel Moolenaar
xcllnt at mac.com
Wed Oct 22 22:09:07 UTC 2008
On Oct 22, 2008, at 2:58 PM, Andriy Gapon wrote:
> on 23/10/2008 00:03 Marcel Moolenaar said the following:
>> On Oct 22, 2008, at 1:46 PM, Andriy Gapon wrote:
>>> I'll try to boot into a new kernel now (the one without GEOM_MBR
>>> and GEOM_BSD).
>> Could you send a quick "it works" message if this was the
>> problem?
>
> Unfortunately, no. But I can't really tell what's going wrong.
>
> I do a verbose boot, but I don't see any GEOM message whatsoever after
> GEOM: new disk ad4
> And then kernel can not find root filesystem and at the prompt it
> reports that it sees only slice devices, ad4s1 and ad4s2, but not
> ad4s1a or any other partition.
> So I can not complete booting and I don't know how to debug that.
It's possible that I haven't merged all the changes from
HEAD to 7-stable. Try the following patch:
Index: g_part_bsd.c
===================================================================
--- g_part_bsd.c (revision 183454)
+++ g_part_bsd.c (revision 183455)
@@ -293,7 +293,7 @@
magic2 = le32dec(buf + 132);
g_free(buf);
return ((magic1 == DISKMAGIC && magic2 == DISKMAGIC)
- ? G_PART_PROBE_PRI_NORM : ENXIO);
+ ? G_PART_PROBE_PRI_HIGH : ENXIO);
}
static int
FYI,
--
Marcel Moolenaar
xcllnt at mac.com
More information about the freebsd-geom
mailing list