Fwd: Reinstalling Windows from a corrupt FreeBSD install

Mike Starr starrtennis at gmail.com
Wed Nov 26 16:49:57 UTC 2014


---------- Forwarded message ----------
From: Mike Starr <starrtennis at gmail.com>
Date: Tue, Nov 25, 2014 at 11:01 PM
Subject: Re: Reinstalling Windows from a corrupt FreeBSD install
To: lgfbsd <lgfbsd at be-well.ilk.org>


I tried all the commands and they didn't work. I shall have to do some more
reading.

On Tue, Nov 25, 2014 at 6:31 PM, Mike Starr <starrtennis at gmail.com> wrote:

> Thank you for your help so far. The gpart show command works, and it shows
> the following partitions:
> ~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~
> *Geom name: ada0*
> *Scheme: MBR*
> *Providers:*
> 1.
>     ada0s1
>     1.5G
>     type: !39
>
> 2.
>     ada0s2
>     581G
>     ntfs (windows?)
>
> 3.
>     ada0s3
>     338G
>     ebr
>
> 4.
>     ada0s4
>     11G
>     FreeBSD
>
> *Consumers:*
>     1.
>     ada0
>     932G (I'm guessing this is just the hdd)
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> *Geom Name: ada0s3*
> *Scheme: EBR*
> *Providers:*
> 1.
>      ada0s5
>       192G
>        ntfs
>
> *Consumers:*
> 1.
>        ada0s3
>         338G
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> *Geom Name: ada0s4*
> *Scheme: BSD*
> *Providers:*
> 1.
>     ada0s4a
>     10G (I thought this was where I installed FreeBSD...)
>     FreeBSD-ufs
> 2.
>     ada0s4b
>     561M
>     FreeBSD-swap
>
> *Consumers:*
> 1.
>     ada0s4
>     11G
>     no type, just a mode like all the other partitions (each partition has
> a different mode)
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> So it looks like there are three Geoms:
>
>    - ada0 (MBR)
>    - ada0s3 (EBR)
>    - adad0s4 (BSD)
>
>
> In FreeBSD partitions are referred to as "slices".
> A single Geom can have more than one slice on it.
>
>
> I tried the boot0cfg -B -m 0xf command but it didn't work. But I see what
> you're trying to do--not so change the BIOS (each slice or Geom has its
> own?), but to change the boot manager (so you can choose which Geom to load
> from). I don't know what the difference between a  provider and a consumer
> is. I'll poke around with the boot0cfg command a bit more and see what
> happens.
>
> Correct me if I'm wrong at any stage, syntactically or semantically.
>
> And thank you so much for your help.
>
> Michael
>


More information about the freebsd-questions mailing list