[ltp] Re: ThinkPad T520: uefi/gpt debian install
Martin Steigerwald
linux-thinkpad@linux-thinkpad.org
Wed, 31 Aug 2011 13:20:11 +0200
Am Freitag, 13. Mai 2011 schrieb Robert Tomsick:
> On Fri, 2011-05-13 at 14:13 -0300, Stefan Monnier wrote:
> > UEFI+GPT is no worse than traditional BIOS+MBR and offers some
> > advantages, but unless you have more than 4 partitions you likely
> > will never notice the difference (except for the fact that some
> > tools don't support GPT, of course).
>=20
> IIRC, the Tx20 series boot a couple second faster when set up as UEFI
> +GPT, hence the interest in getting them to do UEFI boots as opposed to
> using BIOS emulation.
So out of curiosity I started a second attempt with the most recent 1.31=20
BIOS. The following failed:
1) GPT with EFI and GRUB 2
2) GPT with BIOS Boot Partition for GRUB 2
3) MBR with EFI and GRUB 2
I only get the device selection menu and then I select the intel SSD the=20
firmware scans a while and then goes back to the device selection menu.
I looked after setting with partition types in GPT and/or MBR. I also set=20
the partition I didn=C2=B4t want to use, either the BIOS Boot Partition or =
the=20
EFI System Partition to a different type.
This is what I have in EFI partition:
merkaba:~> ls -l /boot/efi =20
insgesamt 804
drwxr-xr-x 4 root root 512 31. Aug 2011 efi
=2Drwxr-xr-x 1 root root 822784 31. Aug 2011 shellx64.efi
merkaba:~> ls -lR /boot/efi
/boot/efi:
insgesamt 804
drwxr-xr-x 4 root root 512 31. Aug 2011 efi
=2Drwxr-xr-x 1 root root 822784 31. Aug 2011 shellx64.efi
This is the 64-bit beta shell mentioned here:
https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#=
UEFI_Shell
/boot/efi/efi:
insgesamt 818
drwxr-xr-x 2 root root 512 31. Aug 2011 debian
drwxr-xr-x 3 root root 13824 31. Aug 12:27 grub
=2Drwxr-xr-x 1 root root 822784 31. Aug 2011 shellx64.efi
/boot/efi/efi/debian:
insgesamt 2685
=2Drwxr-xr-x 1 root root 4987 9. Aug 06:09 ascii.pf2
=2Drwxr-xr-x 1 root root 51613 9. Aug 06:09 euro.pf2
=2Drwxr-xr-x 1 root root 131584 31. Aug 12:26 grubx64.efi
=2Drwxr-xr-x 1 root root 2560080 9. Aug 06:09 unicode.pf2
[... above was from a call to grub-install from grub-efi without parameters=
=20
=2E.. I copied the font files there myself...]
/boot/efi/efi/grub:
insgesamt 4776
[...]
=2Drwxr-xr-x 1 root root 132608 31. Aug 12:27 grub.efi
[ + all modules as single files + pf2 fonts ]
/boot/efi/efi/grub/locale:
insgesamt 618
=2Drwxr-xr-x 1 root root 23380 31. Aug 12:27 ast.mo
=2Drwxr-xr-x 1 root root 45816 31. Aug 12:27 ca.mo
=2Drwxr-xr-x 1 root root 42440 31. Aug 12:27 da.mo
=2Drwxr-xr-x 1 root root 45131 31. Aug 12:27 de.mo
[...]
I used grub-efi and even installed it once from my running (with MBR and=20
GRUB 2 PC then again) Linux 3.0 debian with modprobe efivars and grub-
install reported no errors and thus must have executed the efibootmgr=20
command that reported errors about efivars before.
Any ideas?
Anyway I am back at MBR + grub-pc as this is the only combination that=20
seems to work for me.
I had a look at the following pages:
https://wiki.archlinux.org/index.php/GRUB2
https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface
And stuff from there:
http://www.rodsbooks.com/gdisk/
Should anyone have a success using UEFI, preferably with GPT on any=20
ThinkPad, please post a step by step guide ;)
I will postpone with for now, cause I have no idea, whats wrong.
Ciao,
=2D-=20
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7