Views: 
              20,349β
          
          
                Votes:  2β
          
          
                β
 Solution
          
          
            
            Tags: 
              
                boot  
              
                partitioning  
              
                20.04  
              
                grub2  
              
                uefi  
              
          
          
            
              
                
                Link: 
                  π See Original Answer on Ask Ubuntu β§ π
              
            
          
        
        
          
            URL: 
              https://askubuntu.com/q/1394671
          
          
            
            Title: 
              stdin: invalid argument
            
          
          
            ID: 
              /2022/02/24/stdin_-invalid-argument
            
          
          
            Created: 
               February 24, 2022
          
          
          
          
            
            Upload: 
              October 19, 2025
          
          
               Layout:  post
          
          
            
            TOC: 
              false
          
          
               Navigation:  false
          
          
               Copy to clipboard:  false
          
          
        
       
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.