Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2009 15:18:36 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL
Message-ID:  <09040315161311.79260@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <8583A3BA-2871-4DF4-9792-1031044A4A22@mac.com>
References:  <DED07257-A1C7-4504-9A9E-CAAC2A9737D6@mac.com> <95891.1238477069@critter.freebsd.dk> <20090331133132.1e191836@ernst.jennejohn.org> <gqt3um$f77$3@ger.gmane.org> <20090331155542.74d89d64@ernst.jennejohn.org> <60084D1E-9F64-463A-A8E9-7A237D5C7661@mac.com> <0904011910169.29800@www.mmlab.cse.yzu.edu.tw> <DC771BC5-F356-4D81-9082-91C922CCBF38@mac.com> <0904020940371.36257@www.mmlab.cse.yzu.edu.tw> <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com> <0904021314574.37737@www.mmlab.cse.yzu.edu.tw> <E6347C70-099B-494A-89E2-8CBDDAA36A85@mac.com> <09040309313414.76643@www.mmlab.cse.yzu.edu.tw> <A821815A-63BE-4354-A8A9-6C1C8D277422@mac.com> <0904031327195.78401@www.mmlab.cse.yzu.edu.tw> <8583A3BA-2871-4DF4-9792-1031044A4A22@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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  |.........@......|
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  |.........@......|
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09040315161311.79260>