D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian 9 reinstall. UEFI stuckness

 

And in the non-graphical install, the option to install grub worked.
Up and running, on one screen with the Nouveau driver. Next bit of fun will be getting back the other screens.


On Thu, 29 Jun 2017, 23:22 Adrian Midgley, <amidgley@xxxxxxxxx> wrote:

Netinstall 20170617-13:06 is what I have.

Graphical expert install is where I am now.

And at select the type of partition table to use...
Gpt or msdos (I'm assuming the rest are irrelevant).
Let's try for msdos with an MBR. Noope

Gpt. .... No bootable partition.ÂÂ Hmm


On Thu, 29 Jun 2017, 22:55 Adrian Midgley, <amidgley@xxxxxxxxx> wrote:
Rescue mode seemed more help FB hi l than graphical redhe more, but no go.

On Thu, 29 Jun 2017, 22:39 Adrian Midgley, <amidgley@xxxxxxxxx> wrote:
Entirely fail to boot. Sits looking for OS on CD.

It might be relevant there is a 4TByte second/data drive connected, but not marked to be used in the install.


The SSD was straight out of the box.

Not sure my motherboard does UEFI, nothing about it seen. A Gigabyte a few years old now.
Series 6 stepping 3 ultradurable it claims.

I'll look at that.... Mention of standard BIOS settings. EFI for CD is on auto.
Secure Boot not seen.

So, BIOS MODE....


On Thu, 29 Jun 2017, 18:47 mr meowski, <mr.meowski@xxxxxxxx> wrote:


Do you actually get to the emergency grub rescue prompt or does the
system entirely fail to boot? You can actually boot the incomplete
system and repair the grub configuration from the rescue prompt if you
know the exact arcane utterances.

First things to check are your PC's firmware settings to see if you're
booting in UEFI or BIOS mode on the hardware: pick your poison and stick
with it. It sounds like the computer is preferring UEFI as it and your
Stretch install medium both support UEFI and wisely default to it. Make
sure optional Secure Boot is disabled though.

The culprit will most likely be in the details of your disk structure,
which Stretch should have automatically taken care of for you but
apparently has not (there have been some bugs with the Stretch UEFI
implementation but I'm presuming you're using a fresh netinstall image).
Technically for full UEFI support the disk should be GPT format, 4K
sectors for SSD optimisation if appropriate and should have a minimum of
two partitions: one bootable FAT32 EFI system partition of 200-1024Mb
and one or more standard Linux partitions of any type/filesystem for the
rest of the system. The EFI partition must be mounted or bind-mounted to
/boot for Grub to work automatically. Debian should have done all of
this for you but it most likely has inherited an old MBR type layout
disk and didn't correctly re-initialize it.

Your best bet is probably to boot a gparted live ISO or any other
installer/live Linux system you're comfortable with to examine the
target disk and prepare it manually, specifically wiping it and setting
it up as GPT and not MBR layout. Parted and cfdisk both handle this
perfectly, don't be tempted to use fdisk as it doesn't always implement
GPT correctly. Then let Debian reinstall itself as normal and you should
be fine the second time around.

Alternatively manually disable everything UEFI related in the PC
firmware and force BIOS style boot and installation all the way through,
sticking with MBR disklabels. This is "cheating" though especially as
the Debian team put a lot of effort in to make sure that Stetch was
their first proper release with a full UEFI implemention integrated. And
it is 2017 after all :/

Cheers

Report back if things don't go as planned.
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq
--
A Midgley
--
A Midgley
--
A Midgley
--
A Midgley
-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq