Error when installing: "unable to find a medium containing a live file system"
(initramfs) unable to find a live medium containing a live file system
I got this error while trying to install Ubuntu 10.10 from a bootable USB stick on to Asus X64J series laptop. After getting this error the installation fails to start.
I have used the same USB stick on some other laptops and the installation started as usual. Any help will be appreciated.
The content of the USB may have been corrupted. I had this about some months ago. If you have a second PC with Ubuntu try to create a new bootable Live USB from System –> Administration –> StartUp Disk Creator.
Assuming that the data on your stick are o.k. (did you try to boot with this very stick on another machine?), check that BIOS is set for booting from “USB-HDD” or something like that as first boot device.
Edit: I can see this was done. Maybe other BIOS settings for USB or HD access need to be corrected. Your error indicates mounting problems.
From here we can only guess. Try switching from IDE to AHCI, deactivate BIOS support for any non-existent devices, check your BIOS is up to date etc. I do believe it is some BIOS issue we have here.
ya you should first make the default booting device to usb drive. i think you have chosen unetbootin for burning which is not useful i myself faced same problem. use multi boot iso which is good…
You need change your bios from IDE to ACHI.
Greetings. I just solved this. Packard Bell TK85. My boot sequence was USB, CD, HD. I changed it to USB, HD, CD and it worked.
Try changing the following:
- Switch from a USB 3.0 socket to 2.0
- Try using a USB hub
- (If booting from a USB stick) try using a different USB stick
I’m using 10.04 Ubuntu on Asus 1015PEM, but reports of this affecting 18.04 and newer versions of Ubuntu are still occurring.
In 22.04, the USB is UEFI bootable only, but the installed 18.04 is not,
hence in the BIOS you need to set back and forth.
I recieved the same error, “unable to find a medium containing a live file system”, when installing from a SATA DVD drive. Installing using USB 2.0 stick worked though.
Here is what I found looking around for this error message:
Check that the hash of the ISO you downloaded matches the official one. Also try different USB sticks or DVD burners, there may be data corruption on the stick or wear on the drive mechanics you want to rule out.
- Community Help Wiki: How To MD5SUM
- How to download Ubuntu over an unreliable connection
To rule out hardware issues you can try a different computer, if available. Remember that you can usually install Ubuntu by installing the target harddrive in another computer and complete the installation there, which may be the quickest workaround in such a situation.
Cause analysis and general advice
The cause of the issue seems to be that the USB or SATA device isn’t available or detection is too slow at the time the kernel takes over during the boot process, so that it can’t find the image of the live OS to load. Similar to the recommendation in the data integrity section above, try burning optical installation media when you are unable to boot from USB and vice versa. If that’s not possible because your computer only has USB 3.0 ports and no internal optical drive, try booting from an integrated SD card reader. Also look out for available firmware updates for your computer that may fix the issue. If you are trying to install from an ISO of an older release, then please try the latest ISO.
As a last resort you can try to use the minimal ISO, which doesn’t seem to load another filesystem except initrd but requires a working Internet connection for installation. I would recommend this for Intel Macs from Apple that have this issue.
Hardware issues on laptops and desktops
There seem to be issues on laptops from Dell, Lenovo, Toshiba, Sony and may be other manufacturers. Non-custom built desktops may also be affected and as far as I am aware this is specific to modern AMD processors.
Try changing the firmware settings (BIOS/UEFI) for SATA (set to AHCI mode) when using optical media or use another (non 3.0) USB port when using USB, this seems to work in most cases.
Hardware issues on Gigabyte mainboards
There apparently was or still is an issue on some Gigabyte mainboards with the IOMMU on AMD platforms (Intel calls this VT-d).
Turns out the IOMMU needs to be enabled in the BIOS. This problems seems to be exclusive to Gigabyte boards.
As well as this answer here on AU:
Gigabyte UEFI boot issues – The partition size of the created USB Installer device needs to be under that of 4GB. Others found UEFI/BIOS update solved issue of 4GB FAT limit.
The thing that solved this problem for me was having the Optical drive plugged into the right socket on the motherboard.
Try changing the following:
- Switch from a USB 3.0 socket to 2.0 or vice versa
- Use a USB hub (this might switch you from USB 3.0 to USB 2.0 or vice versa)
- If booting from a USB stick, use a different USB stick
I’ve hit this on a few different laptops (Dell XPS 9350, Razer Blade Stealth 13 2019). The above eventually got me working but it was trial and error.
Dell XPS 9350 specifics: I had to switch to Legacy ROM mode in the advanced boot section and switch to legacy boot instead of UEFI in the regular boot option.
I solved this by using a USB 2.0 hub as a go-between.
I have an MSI MPG X570 main board, and tried booting from:
- the internal DVD drive
- an external DVD drive, connected to both USB 2.0 and USB 3.1 ports
- an USB stick on USB 2.0 and 3.1
but I got the error every time.
The solution is simple: Just completely disconnect the SATA DVD drive, and boot from a stick or DVD drive connected to USB.
(As found in this thread)