How do I fix "can't open /dev/sr0: No medium found" on USB boot?
Solution 1
If you got this bug, when you boot from USB, press F6 then edit the boot option:
Remove this:
file=/cdrom/preseed/ubuntu.seed
Add these:
live-media-path=/casper/ ignore_uuid
Full sample:
append boot=casper initrd=/casper/initrd.lz live-media-path=/casper/ quiet splash ignore_uuid --
If you don't want to edit every time you boot from USB, you can edit this file in USB:
/syslinux/text.cfg
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/492301/comments/17
Solution 2
I've had the same problem the entire night. It's due to the installer not recognizing the USB drive after it's booted to BusyBox.
To fix this, you need to press F6 and modify the boot options. First, remove "quiet splash" from the options and add "break debug" in it's place. Continue installation as normal from this point. Eventually, it will break and you'll be presented with the BusyBox shell, and see plenty of the errors relating to this.
Are you ready for the next step? I promise you, it's an advanced manuver that even Han Solo himself would struggle to attempt.
Step 1: Unplug your USB drive
Step 2: Plug your USB drive back in
Step 3: Type exit and press <Enter>
Step 4: Wait 5-30 seconds and you'll be booted into your Ubuntu graphical installer.
Note: I've verified this works for Ubuntu and Linux Mint. I've been working on this problem for about 4 hours tonight and this is what worked for me, after trying every imaginable method of configuration flags for both the installer and BIOS. I am using a Toshiba Satellite C655D and using a 32GB USB 3.0 flash drive as the installation media.
I hope this helps someone, as I was about to go back to Windows after this nightmare.
Solution 3
I found a solution in this comment on Launchpad bug 492301. If you've got this bug, when you boot from USB, press F6 then edit the boot options:
Add these:
live-media-path=/casper/
ignore_uuid
Solution 4
Befort the installation it should tell you that there are still some devices mounted. It will ask you to unmount them. Don't tell it to unmount them as it will also try to unmount your USB drive, which is the installation medium.
Solution 5
This may be bug #492301
Try disabling Floppy in BIOS to find out.
Related videos on Youtube
sultan
Updated on September 18, 2022Comments
-
sultan over 1 year
I tried to install Ubuntu 11.04 on my laptop using thumb drive, but it failed, even though I used the standard Startup Disk Creator utility.
The laptop is a a Dell Studio 1536.
The problem shows as:
stdin: error 0 /init: line 7: can't open /dev/sr0: No medium found ...
What is the problem? What did I do wrong or what's wrong with boot loader?
-
Takkat about 13 yearsDid you setup BIOS to boot from USB-drive?
-
sultan about 13 yearsYes I did, I can even select boot device
-
sultan about 13 yearsI've mounted ISO image from my home directory under the BusyBox shell, so the question is how to start the installation process from this stage?
-
-
sultan about 13 yearsMy BIOS doesn't have this option, I don't know to disable this stuff(
-
Tony Tellez over 7 yearsUnbelievably this worked for me. I was shocked. Thank you so much!
-
Jim over 5 years2019 checking in. This worked on 18.04.
-
ITAdminNC over 5 yearsGlad to hear I am still relevant!
-
Radko Dinev over 2 yearsI had the same problem trying to boot into live USB Ubuntu 20.04.3 LTS. I can confirm this solution worked like a charm, thanks so much @ITAdminNC ;)
-
QwertyChouskie over 2 yearsWorked for me! In my case, I re-flashed the drive using Etcher between steps 1 and 2, though that likely wasn't necessary.