Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 22:24:45 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        freebsd-current@freebsd.org
Subject:   Re: Lenovo BIOS boot fix
Message-ID:  <20150712222445.b44ee8b0c06773df9d2f003e@dec.sakura.ne.jp>
In-Reply-To: <20150712093414.GI49099@home.opsec.eu>
References:  <55A1FFD5.7080008@freebsd.org> <20150712093414.GI49099@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

As far as I could confirm currently,

  *My ThinkPad didn't boot from decompressed .xz image written in
   memstick.

  *The partition tables (both PMBR and GPT) looks fine.
   (As expected. Verified with `gpart show` and `fdisk -p -v da0`)

  *Overwriting bootcode (gptzfsboot) in GPT partition 1 didn't help.


Not yet confirmed, but possible cause would be

  *Bootcode in PMBR is missing or corrupt.
    (I noticed I hadn't tested overwriting it.)

  */boot in ZFS partition or anything related is not proper.


Sorry, I cannot reboot my ThinkPad right now.
Allan, can you confirm above?


On Sun, 12 Jul 2015 11:34:14 +0200
Kurt Jaeger <lists@opsec.eu> wrote:

> Hi!
> 
> > I have spent my weekend researching why my Lenovo X220s refuse to boot
> > from GPT partitioned disks.
> > 
> > Based on this mailing list post:
> > https://lists.freebsd.org/pipermail/freebsd-i386/2013-March/010437.html
> > 
> > I have written a patch for gpart to change the way the PMBR is created.
> > 
> > Instead of writing the 0xee partition in the first slot (offset 0), it
> > writes it to the 2nd slot (offset 1).
> > 
> > This resolves the issue on my Lenovo X220s, and the installed image
> > boots fine on my T530, and various other non-lenovo amd64 machines at my
> > house.
> > 
> > If others could please test this image (it is a pre-installed system, so
> > just dd it to a memory stick, and see if it boots. Can be safely done
> > without touching your disks), that would be most helpful.
> 
> I used the image, put it on a stick, and set the BIOS to boot uefi-only
> or gpt-only and it never booted ? It's early sunday morning, it was
> a long week, so maybe I just missed something I'm supposed to do ?
> 
> BIOS is 1.39.
> 
> -- 
> pi@opsec.eu            +49 171 3101372                         5 years to go !
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 


-- 
Tomoaki AOKI    junchoon@dec.sakura.ne.jp



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