PDA

View Full Version : [SOLVED] Installation on the laptop with UEFI



vkireyeu
18th September 2017, 11:22 AM
Dear all,

I am trying to install Fedora on my Jumper EzBook 3 Pro laptop (Intel N3450 Apollo Lake).
I have downloaded both Live and netinst iso images (x86_64, 25 and 26 versions) and tried to follow this instruction: https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB

I used two methods: dd and livecd-iso-to-disk (with additional --efi option), but Fedora still not boot (black screen with white "_" symbol on the top left corner). upd.: I can not use meriawriter because my system just hangs when I am trying to use it.
BIOS does not have any switch to the Legacy mode, and another Linux distributions (like Antergos) boot well.

So, how it is possible to install Fedora on the laptop with UEFI?

Thank you and best regards,
Viktar

antikythera
18th September 2017, 12:01 PM
that blinking cursor can take a while to disappear when booting from USB especially with slower hardware. if it is still there after 5 minutes then you have an issue. but for now try again and be patient.

vkireyeu
18th September 2017, 12:03 PM
Cursor is not blinking and I waited more than 10 minutes.

antikythera
18th September 2017, 12:06 PM
su -c 'dd if=/path/to/image.iso of=/dev/sdX bs=8M status=progress oflag=direct'

it isn't necessary to specify EFI, replace X with the appropriate device letter for your usb stick

vkireyeu
18th September 2017, 12:08 PM
EFI is specified for the livecd-iso-to-disk program, not for dd (as it's mentioned on my first post, I also tried dd).

antikythera
18th September 2017, 12:27 PM
did you verify the downloaded ISO are okay?

vkireyeu
18th September 2017, 12:33 PM
Of course )
I even installed Fedora on my workstation with one of these iso.

satanselbow
18th September 2017, 06:36 PM
What size USB stuck are you using? Some UEFI firmware can throw a strop if you use anything bigger than 8 / 16GB

vkireyeu
18th September 2017, 07:04 PM
I use 4 Gb usb stick.

Upd.: just tried 2GB stick - no result. But I do not think that it is the case, because Antergos boot well from the same stick.

satanselbow
19th September 2017, 09:08 AM
Other possibility is there is some flotsam from a previous use - especially dual mbr/efi type isos - that was not cleared from the stick when you created the installation media.

You could wipe the stick and then retry the dd command: X being your stick from the output of lsblk



# dd if=/dev/zero of=/dev/sdX status=progress

then

# dd if=/path/to/your/ISO of=/dev/sdX bs=4M status=progress

vkireyeu
19th September 2017, 10:28 AM
I am not sure how it is possible if dd was used, but I tried to clean usb stick with /dev/zero and write iso again - nothing changes.

I think the problem is in how Fedora make their iso images, because Arch-based distributions (Arch, Antergos, Manjaro) boot well from the same stick.
Maybe there is some way to modify iso to make it bootable on UEFI systems.

satanselbow
19th September 2017, 11:02 AM
Do you have an installed Linux (whatever flavour) at the moment?

vkireyeu
19th September 2017, 11:03 AM
On a laptop? Yes, I have there now Antergos on my laptop and Fedora on my workstation. Fedora seems more stable, so I want to deploy it also on a laptop.

TruboXL
19th September 2017, 12:00 PM
does the drive boot on uefi-csm? legacy mode?

anyway, i think this will fix the crash, no eta when that update will live...
https://github.com/MartinBriza/MediaWriter/commit/8f6c16d1adbcf15c4319953259e76d7e70c85951

vkireyeu
19th September 2017, 12:44 PM
> does the drive boot on uefi-csm? legacy mode?
Apollo Lake does not have any CSM or legacy options.


It seems like the only way to use UEFI laptop now it to use Antergos or 'respin' ubuntu to use rEFInd bootloader.
As Fedora still use GRUB these is no possibility to even load it.
https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/jumper-ezbook-3-pro-can%27t-boot-from-usb-most-of-common-linux-distros-4175605766/
What a shame...

Bittler
19th September 2017, 06:59 PM
I didn't have any trouble booting fedora on an UEFI system, no clue what went wrong here. Your system seems fine, fedora as well.

Maybe try another way to create your UEFI installation medium?

* Format your USB stick so it just has one single, big FAT32 partition
* Set the bootable flag for this partition
* Copy the data from the ISO over (in the most simple and primitive way, I mounted the ISO, mounted the USB and copied over via gnome files)

That's it. This stick should be bootable via UEFI only.

bbaker6212
19th September 2017, 07:19 PM
The blank/black screen, blinking cursor at bootup is a very common problem with various of the popular inexpensive Apollo-Lake Celeron N3450 devices. I don't know if it has something to do with the embedded Intel HD Graphics 500 or what. It does not seem to be specific to any one Linux distro, nor a specific hardware, as it happens on many. Could be driver or bios related I suppose. The Linux Mint 18.2 release notes has a section "solving freezes" tip that basically explains how to use the "nomodeset" kernel startup option.

bbaker6212
19th September 2017, 07:24 PM
ah, I didn't realize this was part of an extensive thread for your notebook that includes the freeze problem.
he got it working using Lubuntu if memory serves, but it will at least get you past the bootup problem - hopefully...

https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/jumper-ezbook-3-pro-can't-boot-from-usb-most-of-common-linux-distros-4175605766/

vkireyeu
20th September 2017, 08:20 AM
Thank you for your suggestion!

Of course, when I tried to just copy everything from iso to the FAT32 partition on the stick it does not work, but after that I installed rEFInd also to that partition and slightly modified refind config to boot Fedora - and this work!

Of course now I have a lot of other problem like Fedora can not into Wi-Fi on the Realtek 8723bu chip, but it reminds me about the situation with linux ~5-10 years ago, when you needed another one computer with internet to download some packages and transfer them to your fresh linux installation...

So, the main problem is solved, but I never suspected than Fedora had so poor hardware support - it's a shame.

antikythera
20th September 2017, 08:35 AM
Fedora aren't responsible for realtek wireless device support, that is an upstream kernel issue and is never likely to change because realtek themselves do not give two figs about supporting linux and making their devices properly opensource operating system compliant like intel and atheros. regarding UEFI support, it is there and works even with secureboot normally.

vkireyeu
20th September 2017, 08:39 AM
Fedora aren't responsible for realtek wireless device support, that is an upstream kernel issue and is never likely to change because realtek themselves do not give two figs about supporting linux and making their devices properly opensource operating system compliant like intel and atheros. regarding UEFI support, it is there and works even with secureboot normally.

Sorry, but you are wrong.
It not so hard for Fedora to make the needed rpm for realtek driver: https://github.com/lwfinger/rtl8723bu
But it's very hard for a laptop without internet :)

> regarding UEFI support, it is there and works even with secureboot normally.
The whole this thread is about the very poor UEFI support.

Anyway, I think discussion can be closed due to solving the boot problem.

antikythera
20th September 2017, 08:54 AM
to package the realtek drivers, fedora would have to use proprietary licensed code which is what that git resource contains. that will never happen since the entire project is restricted by strict american licensing laws and also intended to be FOSS compliant.

yes your very odd device is problematic but it is one specific model with firmware that is not common to all other devices.

the UEFI problem was partly also of your own doing evidenced by the fact you have since figured out what you were doing wrong by formatting the USB stick in the wrong manner

vkireyeu
20th September 2017, 09:02 AM
the UEFI problem was partly also of your own doing evidenced by the fact you have since figured out what you were doing wrong by formatting the USB stick in the wrong manner

Are you kidding?
dd and livecd-iso-to-disk are official ways to prepare bootable USB from iso: https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB
And they do not work due to incompetence of Fedora responsible people for iso images.

Now I am trying to finish my Fedora installation on this laptop, but I am pretty sure that it will not boot, because Fedora can not into UEFI.



Update: yes, Fedora 26 does not boot after installation, just a not blinking cursor on the top left corner.
So, the problem is not solved.

Update: Installed rEFInd again from the Live session to the mounted Fedora partition.
Now it works.

TruboXL
20th September 2017, 12:56 PM
what? you can boot live session all this time? i thought you can't even use the usb at all...

vkireyeu
20th September 2017, 01:00 PM
what? you can boot live session all this time? i thought you can't even use the usb at all...

Never expected that Fedora community is so... blind?
I fixed boot from USB only few posts ago.
https://forums.fedoraforum.org/showpost.php?p=1794845&postcount=19

bbaker6212
20th September 2017, 05:19 PM
to package the realtek drivers, fedora would have to use proprietary licensed code which is what that git resource contains. that will never happen since the entire project is restricted by strict american licensing laws and also intended to be FOSS compliant.

yes your very odd device is problematic but it is one specific model with firmware that is not common to all other devices.

the UEFI problem was partly also of your own doing evidenced by the fact you have since figured out what you were doing wrong by formatting the USB stick in the wrong manner
LOL odd device. Massive numbers of low cost Apollo-Lake quad-core N3450 devices are sold all over the world at the moment. They are just little known brands (besides Xiaomi) outside of China. b

bbaker6212
20th September 2017, 05:25 PM
Are you kidding?
dd and livecd-iso-to-disk are official ways to prepare bootable USB from iso: https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB
And they do not work due to incompetence of Fedora responsible people for iso images.

Now I am trying to finish my Fedora installation on this laptop, but I am pretty sure that it will not boot, because Fedora can not into UEFI.



Update: yes, Fedora 26 does not boot after installation, just a not blinking cursor on the top left corner.
So, the problem is not solved.

Update: Installed rEFInd again from the Live session to the mounted Fedora partition.
Now it works.

I just read a review written by Linuxium of a N3450 mini-PC where he states that the problem is that Linux is not supported in the BIOS by *some* Apollo-Lake devices and the workaround, as you have seen, is installing the rEFInd boot loader, possibly in combination with his ISO respin script (custom Ubuntu distro creator). https://www.cnx-software.com/2017/08/25/beelink-ap34-ultimate-fanless-mini-pc-review-with-windows-10-and-ubuntu/

bbaker6212
20th September 2017, 05:36 PM
@vkireyeu That rtl8723bu wifi driver is in the Arch User Repo (AUR). So maybe you can install Arch or Manjaro onto a USB drive and get wifi working from there. Would that help you to build the driver for Fedora?

https://aur.archlinux.org/packages/rtl8723bu-git

antikythera
20th September 2017, 05:36 PM
LOL odd device. Massive numbers of low cost Apollo-Lake quad-core N3450 devices are sold all over the world at the moment. They are just little known brands (besides Xiaomi) outside of China. b

indeed, however they do not share a common firmware setup. they are all customised exclusively with whichever version of Windows they are supplied with in mind or even Chrome OS by the OEM

bbaker6212
20th September 2017, 05:56 PM
Sorry, but you are wrong.
It not so hard for Fedora to make the needed rpm for realtek driver: https://github.com/lwfinger/rtl8723bu
But it's very hard for a laptop without internet :)

> regarding UEFI support, it is there and works even with secureboot normally.
The whole this thread is about the very poor UEFI support.

Anyway, I think discussion can be closed due to solving the boot problem.

I think you want this one
https://github.com/johnheenan/rtl8xxxu

"Known to work with more recent series kernels as of October 2016. Due to recent kernel changes it is possible this patched driver may not work with linux 4.7 or earlier."

vkireyeu
20th September 2017, 09:22 PM
I just read a review written by Linuxium of a N3450 mini-PC where he states that the problem is that Linux is not supported in the BIOS by *some* Apollo-Lake devices and the workaround, as you have seen, is installing the rEFInd boot loader, possibly in combination with his ISO respin script (custom Ubuntu distro creator). https://www.cnx-software.com/2017/08/25/beelink-ap34-ultimate-fanless-mini-pc-review-with-windows-10-and-ubuntu/

Yes, I installed it (https://github.com/lwfinger/rtl8723bu) - works fine.

Anyway, there is a problem with the kernel updates - new kernel (I mean after 'dnf update') just don't want to boot...
Maybe Antergos is better for our laptops.