Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL
Tai-hwa Liang
avatar at mmlab.cse.yzu.edu.tw
Fri Apr 3 00:18:59 PDT 2009
On Thu, 2 Apr 2009, Marcel Moolenaar wrote:
>
> On Apr 2, 2009, at 10:29 PM, Tai-hwa Liang wrote:
>
>>> The real fix will be a bit more involved, because we should
>>> avoid wiping out the boot menu entry on a write. But at least
>>> with the patch you should be able to read the EBR.
>>
>> Much better. I can see extended partition nodes after booting with the
>> patched kernel:
>
> I dug a bit deeper and it's not a boot manager menu entry,
> but some signature particular to some tool. I'm not going
> to worry about preserving that.
>
> Patch committed.
Thanks!
> *snip*
>> => 0 192855600 ad0s3 EBR (92G)
>> 0 16783200 1 !131 (8.0G)
>> 16783200 50243760 266401 !11 (24G)
>> 67026960 31251024 1063921 freebsd (15G)
>> 98277984 94577616 1559969 freebsd (45G)
>>
>> The only downside is that I'll have to update /etc/fstab to boot correctly
>> as /dev/ad0s7a is still missing.
>
> Ok, let's look at those sectors as well. Can you send the
> output of:
> dd if=/dev/ad0s7 of=dump.dd count=2 bs=512
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200 57 45 56 82 00 00 00 00 61 6d 6e 65 73 69 61 63 |WEV.....amnesiac|
00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000220 00 00 00 00 00 00 00 00 00 02 00 00 3f 00 00 00 |............?...|
00000230 10 00 00 00 1a 79 00 00 f0 03 00 00 11 da dc 01 |.....y..........|
00000240 00 00 00 00 00 00 00 00 10 0e 01 00 00 00 00 00 |................|
00000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000280 00 00 00 00 57 45 56 82 93 e0 08 00 00 20 00 00 |....WEV...... ..|
00000290 00 00 00 00 01 da dc 01 a0 40 1d 02 00 08 00 00 |......... at ......|
000002a0 07 08 88 6f 00 00 00 00 00 00 00 00 00 00 00 00 |...o............|
000002b0 00 00 00 00 11 da dc 01 a0 40 1d 02 00 00 00 00 |......... at ......|
000002c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000400
> BTW: Thanks for testing!
Thanks for fixing! :)
--
Cheers,
Tai-hwa Liang
More information about the freebsd-current
mailing list