Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 15:29:08 -0200
From:      "Luiz Otavio O Souza" <lists.br@gmail.com>
To:        "Marcel Moolenaar" <xcllnt@mac.com>, "Dimitry Andric" <dimitry@andric.com>, <current@freebsd.org>
Cc:        Randy Bush <randy@psg.com>, George Neville-Neil <gnn@neville-neil.com>, Ben Kaduk <minimarmot@gmail.com>
Subject:   Re: GEOM and moving to CURRENT from 7.1
Message-ID:  <4465FEDC68154E66AD569B18D668880F@adnote989>
References:  <FC3D3CF7-091B-4ECF-BE38-6C7751C20994@neville-neil.com> <alpine.BSF.2.00.0901112002080.3696@ibyngvyr.purzvxnyf.bet> <496D0364.2060505@psg.com> <47d0403c0901131335h46e7b151p3768de9a3e2c2027@mail.gmail.com> <EC370904A7B74B93887C79E120CA2835@adnote989> <085BEE07-BAE5-4A45-A14D-9587987FAA5C@mac.com> <496F44FA.1070004@andric.com> <48C1C477-B7BE-43B0-AC57-9DEB7BF9AA88@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Jan 15, 2009, at 6:15 AM, Dimitry Andric wrote:
> 
>> On 2009-01-14 17:34, Marcel Moolenaar wrote:
>>>> The only way i've found to boot my system again is to compile a new
>>>> kernel with GEOM_BSD and GEOM_MBR, instead of GEOM_PART_*.
>>>
>>> Wipe out your second sector on the disk. You have a
>>> stale BSD disklabel that prevents the MBR from being
>>> used.
>>
>> Hmm, in my case I can't do so, since I have a "Dangerously Dedicated"
>> FreeBSD MBR partition.
> 
> You don't have a DD installation if your root file system
> is mounted on ad0s1a. You have a DD installation if your
> root file system is mounted on ad0a.
> 
> In the DD case, the BSD disklabel in the 2nd sector is the
> one that's being used. In the non-DD case the BSD disklabel
> is in the 2nd sector of the first slice (sector 64 on the
> disk in the most common case).
> 
> -- 
> Marcel Moolenaar
> xcllnt@mac.com

Yep,

This do the magic here:

# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 -> 16
# dd if=/dev/zero of=/dev/ad0 seek=1 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.000266 secs (1924269 bytes/sec)

Now i'm booting from geom_part_*

Thanks Marcel.

Luiz




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