Re: GEOM and moving to CURRENT from 7.1

From: Luiz Otavio O Souza <lists.br_at_gmail.com>
Date: Thu, 15 Jan 2009 15:29:08 -0200
> 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_at_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
Received on Thu Jan 15 2009 - 16:29:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC