Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 12:19:26 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        Diego Depaoli <trebestie@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: disklablel/gpart [Was: AMD 780G chipset major issues 3/3 (btx)]
Message-ID:  <200904161219.30639.jkim@FreeBSD.org>
In-Reply-To: <49E74B6B.50100@icyb.net.ua>
References:  <83e5fb980904061402q73940f8at4ec4b8f821354320@mail.gmail.com> <83e5fb980904151722p17d4210dqeca1c137683eebb0@mail.gmail.com> <49E74B6B.50100@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 16 April 2009 11:14 am, Andriy Gapon wrote:
> on 16/04/2009 03:22 Diego Depaoli said the following:
> > On Thu, Apr 16, 2009 at 1:43 AM, Jung-uk Kim <jkim@freebsd.org> 
wrote:
> >>> After reboot I get BTX halted.
> >>> Perhaps bsdlabel -B works only upon a slice with 0X80 flag set?
> >>> Otherwise I don't know...
> >>
> >> It only works when there is no error. ;-) It seems you have to
> >> fix the label first.
> >
> > Starting from this...
> > can be done without loosing data?
>
> You can try to do it with gpart, maybe it will like slices of your
> disks better :)
> http://lists.freebsd.org/pipermail/freebsd-geom/2009-April/003440.h
>tml
>
> E.g.: gpart bootcode -b /boot/boot ad10s1
>
> Be warned that gpart says back something like "partition has boot
> code" and it's not terribly clear what is actually meant here: "it
> (already) has boot code, so I am not doing anything" or "I did my
> job and it (now) has boot code". It is the latter :-)

Well, I recalculated everything with help of trusty bc(1). ;-)

Seriously, I must say you should back it up first if the data is 
important.  When I got my current laptop, I had to reinstall all OSes 
several times in different orders to make all OS loaders agree with 
an MBR. :-(

Jung-uk Kim



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