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

Re: Request for help - Debian UEFI not possible after starting windows



Thank you, it worked. While Debian boot menu was removed after reboot, my pendrive partition was displayed as last option. After selecting it, Debian booted successfully.
I will try to compare my friend /boot contents to see if I could make it better.
Regards, Robert

Pon., 13 kwi 2020, 20:41 użytkownik Robert Gomułka <robert.zbigniew.gomulka@gmail.com> napisał:
Thanks, I'll check it out.

On Mon, Apr 13, 2020 at 8:34 PM <Mario.Limonciello@dell.com> wrote:
>
> Dell Customer Communication - Confidential
>
>
>
> Try making the directory /boot/efi/EFI/boot.  Then just copy everything from /boot/efi/EFI/Debian into that directory and then rename grubx64.efi to bootx64.efi in that directory.
>
>
>
> From: Robert Gomułka <robert.zbigniew.gomulka@gmail.com>
> Sent: Saturday, April 11, 2020 3:08 AM
> To: Limonciello, Mario
> Cc: debian-efi@lists.debian.org
> Subject: Re: Request for help - Debian UEFI not possible after starting windows
>
>
>
> [EXTERNAL EMAIL]
>
> Good morning everyone,
>
> I have checked few things.
>
> 1. I have Debian version 10.1
>
> 2. I have installed grub-efi-amd64-bin (it was installed previously, not now). After trying to install grub-efi-amd64 I get message that it is not available but referred by another package.
>
> So I can't reconfigure no-bin version.
>
> 3. Inside /boot/efi/EFI/Debian I have grub.cfg and grubx64.efi. I don't know how meaningful are those names, but can't tell what to copy, either.
>
>
>
> Could you provide further advise?
>
>
>
> Regards, Robert
>
>
>
> Pon., 6 kwi 2020, 20:17 użytkownik <Mario.Limonciello@dell.com> napisał:
>
> Dell Customer Communication - Confidential
>
> > -----Original Message-----
> > From: Robert Gomułka <robert.zbigniew.gomulka@gmail.com>
> > Sent: Saturday, April 4, 2020 1:43 PM
> > To: debian-efi@lists.debian.org
> > Subject: Request for help - Debian UEFI not possible after starting
> > windows
> >
> >
> > [EXTERNAL EMAIL]
> >
> > Good evening,
> > I couldn't find better place to ask, but apologize if that's not proper
> > forum.
> > I appreciate all the work Debian maintainers put in maintaining whole
> > (U)EFI thing. I am not familiar with its concepts, so please bear with me.
> > I have employer owned laptop (Dell 3541). I'd like to use it, but in order
> > to not abuse anything on their disks, I have installed Debian on external
> > SSD (pendrive). I have done it year ago on different laptop without UEFI,
> > so I had to convert it to UEFI when new computer had UEFI in place. I've
> > thought I did it correctly (re-partitioning, installing grub efi, ...) The
> > problem is - after booting windows Debian is not visible any more and
> > can't be started.
> > The operations I perform are:
> > 1. Start and use windows without Debian pendrive inserted.
> > 2. Reboot system from Debian Live (another USB stick) 2a. I press F12 in
> > bios to select boot from Debian Live 2b. My ordinary "debian" entry in
> > bios boot up is not available (not visible) 3. Debian Live is started 4. I
> > insert my Debian pendrive 5. I "rescue" it by mounting its filesystem
> > following instructions from here: http://emmanuel-
> > galindo.github.io/en/2017/04/05/fixing-debian-boot-uefi-grub/
> > (just a subset - mount, chroot, grub-install, update-grub) 6. I restart
> > system 7. I am able to select "debian" in boot up bios menu 8. I can boot
> > up Debian successfully 9. Unless I boot up windows (without my Debian
> > pendrive inserted), which leaves me at 2
> >
> > Do you have any idea of how to debug/fix it? Even if Windows somehow
> > messes my bios settings, I still can boot from Debian Live in UEFI mode.
> > But can't do the same for my Debian pendrive. Is there something I can do
> > to make my pendrive appear the same way as Debian Live?
> > Fixing it each time is inconvenient...
>
> On your Pendrive copy the efi/boot/shimx64.efi to efi/boot/bootx64.efi
>
> Then you should see your pendrive as a bootable entry every time it is plugged
> in.
>
> This is the so called 'removable drive' path that the firmware should be checking
> for dictating it's bootable.
>
> >
> > A friend of mine uses very similar setup, but with Ubuntu - in his case
> > menu entry doesn't disappear after booting to Windows.
> >
> > I don't remember Debian version currently, probably current stable. If it
> > matters, I can provide it (along with other information).
> >
>
> As another solution, what if you try to copy your bootloader into the ESP
> of the disk on the machine and use that?

Reply to: