Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 6822  / 3 Years ago, sun, november 7, 2021, 4:12:06

I have attempted to create a UEFI pen drive that installs Ubuntu 20.04 LTS Desktop 64-bit.

The exFAT partition gpt2 contains the entire Ubuntu 20.04 LTS system image.

The FAT32 partition gpt1 contains the following files:


.
├── boot
│   └── grub
│   └── x86_64-efi
│   └── exfat.mod
└── EFI
└── BOOT
├── BOOTX64.EFI
├── grub.cfg
├── grubx64.efi
└── mmx64.efi

5 directories, 5 files

where the grub.cfg file contains the following lines:


insmod exfat
search --no-floppy --set=root --fs-uuid 7026-67D5
configfile /boot/grub/grub.cfg

After changing the Secure Boot method from Deployed Mode to Audit Mode, the default grub.cfg file of the exfat partition is called correctly from the grub.cfg file of the FAT32 partition.

In fact, the correct installation options appear.

After selecting the Ubuntu option, loops endlessly and pressing the ESC key I realize that the cause is an unspecified error: stdin: invalid argument, which is repeated many times.

What could be the cause of this error?


UPDATE 1: Even disabling secure boot completely, the same error appears.


UPDATE 2: Waiting for some time, the following message appeared:


Unable to find a medium container a live file system
Attempt interactive netboot from a URL?
yes no (default yes): _

UPDATE 3:

I found that if instead of having the partition in exFAT, I have it in NTFS, the problem doesn't appear. From this I deduce that despite the insmod exfat command, passed to the partition with that filesystem, the initrd.lz file does not support the exfat file system.
In fact, I also performed this other test to have an almost total confirmation of this thing:


insmod exfat
search --no-floppy --set=root --fs-uuid 7026-67D5
chainloader /efi/boot/bootx64.efi
boot

and I got the error message:


Failed to find fs: Unsupported
Failed to load image efiootgrubx64.efi: Unsupported
start_image() returned Unsupported

If there is a Windows image in the exfat partition instead of Ubuntu, the bootloader starts correctly.


Is there a way to implement exfat support inside of bootx64.efi and initrd.lz files?


More From » boot

 Answers
4

From this forum:





This issue was raised:


[20.655271] usb usb1-port4: couldn't allocate usb_device

After a few seconds it restarts with appropriate OS logo and shows next errors:


stdin: invalid argument

...like 50 same errors...


Unable to find a medium container a live system

Attempt interactive netboot from a URL ?




This solution:



  • Inserting "iommu=soft" into /boot/grub/grub.cfg in bootable USB helped me.


fixed the problem.




Summary


Sounds like the same problem you have and the same solution should work.


[#777] Monday, November 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terneive

Total Points: 329
Total Questions: 117
Total Answers: 105

Location: Denmark
Member since Tue, Oct 18, 2022
2 Years ago
;