[SOLVED] Media Test Failure after installation reboot
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I am trying to install Fedora for the first time. I downloaded the latest live version, booted from usb, and installed it. The installation process didn't seem to have any problems. I chose to shrink my windows installation so that I can dual boot.
When I rebooted I am getting this "media test failure" and a boot menu eventually comes on the screen. I can't figure out how to get into Windows or Fedora anymore.
I'm using a thinkpad x1 carbon laptop.
Please help?
Thanks
edit: I should also mention that in order for the live loader to actually load, I had to add "intel_pstate=no_hwp" at the loading screen.
MBR (Master Boot Record) is the first 512 bytes of your main disk.
It is very important as it contains the layout of your disk + the initial boot code that is run when you switch on your PC.
Do what @TxLonghorn says.
When I rebooted I am getting this "media test failure" and a boot menu eventually comes on the screen.
What is the complete message ?. Sounds like a PXE message.
Quote:
I can't figure out how to get into Windows or Fedora anymore.
Take a photo of that menu and post it as an attachment - I'm guessing it will be a UEFI menu.
Quote:
edit: I should also mention that in order for the live loader to actually load, I had to add "intel_pstate=no_hwp" at the loading screen.
Looks like a fix for this was pushed out by the Fedora devs yesterday - not sure if it will make the F23 downloads. This needs to be added to grub for every boot by the looks of it but if you can't get to grub that's no help.
Last edited by syg00; 04-14-2016 at 10:17 PM.
Reason: typos
Your results show that Windows was installed in UEFI mode. The existence of a "bios_grub" partition indicates that Fedora might have been installed in non-UEFI mode (Legacy/CSM).
You do have to be sure when you boot the live Fedora that it is booted in UEFI mode before installing. You can verify the mode with the command:
Code:
[ -d /sys/firmware/efi ] && echo "Currently in EFI mode" || echo "Currently in Legacy mode"
Your results show that Windows was installed in UEFI mode. The existence of a "bios_grub" partition indicates that Fedora might have been installed in non-UEFI mode (Legacy/CSM).
You do have to be sure when you boot the live Fedora that it is booted in UEFI mode before installing. You can verify the mode with the command:
Code:
[ -d /sys/firmware/efi ] && echo "Currently in EFI mode" || echo "Currently in Legacy mode"
This is starting to make sense. But I can't run that command from my Fedora installation because I still can't get into it. The command in the previous code was run from a live load off of a usb stick.
If the problem is what you think it is, could I just reinstall Fedora in the correct mode, overwriting the previous install?
edit: when I run the command from the live loader off a usb I get "Currently in Legacy mode".
edit: when I run the command from the live loader off a usb I get "Currently in Legacy mode".
That is the source of the problem. You will have to enter the computer's settings to figure out how to boot the live Fedora in UEFI mode instead of Legacy. You will have to re-install.
Windows in UEFI and Fedora in Legacy will not work out well, at all.
A live Fedora DVD may work better than a USB. How was your USB created?
If you are using Windows to create the USB, the Rufus program is pretty reliable.
Last edited by TxLonghorn; 04-15-2016 at 07:56 AM.
How was your USB created?
If you are using Windows to create the USB, the Rufus program is pretty reliable.
I used https://sourceforge.net/projects/win32diskimager/. I will try again with Rufus, but I'm still not clear on what I need to change in the installation so that Fedora gets installed in UEFI mode. I just walked through the setup again, and I don't see anything referring to UEFI or Legacy.
I just reinstalled Fedora following these instructions.
I'm still getting the media test failure. Here is my partition breakdown now:
Code:
[liveuser@localhost ~]$ sudo parted --list
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Model: ATA SAMSUNG MZNLN512 (scsi)
Disk /dev/sda: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: pmbr_boot
Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition boot, esp
2 106MB 240MB 134MB Microsoft reserved partition msftres
3 240MB 269GB 269GB ntfs Basic data partition msftdata
4 269GB 269GB 1049kB bios_grub
5 269GB 270GB 524MB ext4
7 270GB 270GB 524MB ext4
8 270GB 271GB 1074MB ext4
9 271GB 499GB 227GB ext4
6 499GB 512GB 13.6GB ntfs Basic data partition msftdata
Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.
Ignore/Cancel?
Whether a Fedora image written to a USB stick will be bootable natively via UEFI is a somewhat complex question which depends on the Fedora release, the type of image (live or non-live), and the method used to write it. The --efi parameter to the livecd-iso-to-disk tool attempts to make a stick written with that tool natively UEFI bootable.
As of Fedora 20, all sticks written using "direct write" methods should be UEFI-bootable, at least some sticks written with liveusb-creator should be UEFI-bootable, and all sticks written with livecd-iso-to-disk --format --reset-mbr --efi should be UEFI-bootable. Use of --efi without --format and --reset-mbr can be considered a 'best effort', and may not produce a UEFI-bootable stick. Sticks written with other methods and tools will most probably not be UEFI-bootable.
If you boot a Fedora stick in UEFI native mode and install from it, you will get a UEFI native installation of Fedora. If you wish to do a BIOS native installation of Fedora, you must ensure you boot your stick in BIOS compatibility mode, if your firmware has this capability. The interface for choosing the mode used to boot varies between systems, and so we cannot give precise instructions on this. If you have difficulty, you may want to use a method which is known not to produce a UEFI-bootable stick, and hence force your firmware to boot it in BIOS compatibility mode.
Congratulations on a successful UEFI installation!
I don't know much about editing the boot menu. I know that you use a program called efibootmgr.
(It is not uncommon to see multiple entries.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.