ValdikSS / Super-UEFIinSecureBoot-Disk

Super UEFIinSecureBoot Disk: Boot any OS or .efi file without disabling UEFI Secure Boot
735 stars 112 forks source link

Boot from another ext4 partition #6

Closed gorru closed 4 years ago

gorru commented 4 years ago

Hi. I'm trying to boot a customized distro that I made without luck. I put your image in a usb drive via dd and then added a new partition with gparted. I then changed the grub.cfg file in order to search the root filesystem by label to complete boot.

When I start the pc some screen flashes occurs and the a message says that /vmlinux was not found. pressing a key appears a message that says that both default and fallback entries failed. Then my grub menu is shown but if I try to go ahead a new /vmlinux was not found message is printed.

Can you help me? Thanks in advance

ValdikSS commented 4 years ago

You need to set proper root variable to your disk. Use search --set=root … command or just set root=(hd…,…) https://www.gnu.org/software/grub/manual/grub/html_node/GRUB-only-offers-a-rescue-shell.html

gorru commented 4 years ago

it works! Thank you very much!

On Tue, Jan 21, 2020 at 11:18 AM ValdikSS notifications@github.com wrote:

You need to set proper root variable to your disk. Use search --set=root … command or just set root=(hd…,…)

https://www.gnu.org/software/grub/manual/grub/html_node/GRUB-only-offers-a-rescue-shell.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ValdikSS/Super-UEFIinSecureBoot-Disk/issues/6?email_source=notifications&email_token=AA7PCLJWYNVE5ECXHFBADX3Q63DYDA5CNFSM4KJOWQJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJPG2KY#issuecomment-576613675, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7PCLL64ITTDJUPUMXQUETQ63DYDANCNFSM4KJOWQJQ .