[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wheezy: Questions about UEFI boot etc.



On Wed, 2013-05-15 at 15:20 +0200, Svante Signell wrote:
> On Wed, 2013-05-15 at 13:58 +0100, Ben Hutchings wrote:
> > On Wed, 2013-05-15 at 08:39 +0200, Svante Signell wrote:
> > [...]
> > > On the SSD the Linux partition
> > > is /dev/sda5, which I made bootable (also UEFI boot). However, even if
> > > grub is written to /dev/sda no grub menu appears, and only W8 starts up
> > > every time. Additionally, booting from the HDD does not seem to be
> > > possible, at least within W8. How to access the UEFI boot manager, can
> > > it be enabled by a BIOS setting change?
> > 
> > The Debian installer is supposed to set GRUB as the highest priority
> > boot loader, but this may fail in some cases due to checks in Linux's
> > EFI variable access code (which are there to avoid triggering BIOS bugs
> > that can leave a computer completely unbootable).  Unfortunately there
> > seems to be another bug in grub-install, in that it doesn't report this
> > failure.
> 
> Can the problem be that the EFI partition containing W8 is /dev/sda2,
> while I have been writing grub to /dev/sda and /dev/sda5 (Linux /)?

All EFI boot loaders are written to the EFI boot partition
(probably /dev/sda1 on your system) which is an ordinary FAT file
system.

Maybe you booted the installer in BIOS mode (also called legacy or CSM)?
If you do that, it can't access the EFI boot variables at all.

> I
> have not yet dared to try to write it to /dev/sda2 where the W8 is
> installed. The trials were made with /dev/sda5 mounted as / with and
> without marking it as an EFI partition. (/dev/sda2 comes before
> /dev/sda5 physically. Additionally I saw somewhere that only one EFI
> partition is allowed per disk)
> 
> For the install-grub /dev/sda; update-grub commands can I use the Rescue
> mode on the DVD to check failure/success?

Maybe.

Ben.

-- 
Ben Hutchings
Every program is either trivial or else contains at least one bug

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: