J4205-ITX UEFI Mode CSM=off doesn't boot Ubuntu 16
Printed From: ASRock.com
Category: Technical Support
Forum Name: Intel Motherboards
Forum Description: Question about ASRock Intel Motherboards
URL: https://forum.asrock.com/forum_posts.asp?TID=4123
Printed Date: 22 Jul 2025 at 7:46pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: J4205-ITX UEFI Mode CSM=off doesn't boot Ubuntu 16
Posted By: Juanjo1982
Subject: J4205-ITX UEFI Mode CSM=off doesn't boot Ubuntu 16
Date Posted: 30 Dec 2016 at 12:44am
" rel="nofollow - I've bought a J4205ITX motherboard because it supports Ubuntu 16.10 but It doesn't load GRUB-EFI if the CSM module is disabled. The boot loader shows the EFI partitions but when you choose it you get a blank screen. You get the same results booting the Ubuntu instalation in a Kingston SSD connected to SATA3 port or the USB made with Rufus (GPT, FAT32, ISO Ubuntu16.10 AMD 64 bits image).I've tried in USB 3.0 and 2.0 porte. The problem seems to be that it freezes before showing the GRUB loader. You can test it with the USB image you get from Rufus. Could it be related to he Intel HD 505 graphics?
|
Replies:
Posted By: wardog
Date Posted: 30 Dec 2016 at 5:36am
https://help.ubuntu.com/community/UEFI" rel="nofollow - https://help.ubuntu.com/community/UEFI
|
Posted By: parsec
Date Posted: 30 Dec 2016 at 10:56am
" rel="nofollow -
Juanjo1982 wrote:
I've bought a J4205ITX motherboard because it supports Ubuntu 16.10 but It doesn't load GRUB-EFI if the CSM module is disabled. The boot loader shows the EFI partitions but when you choose it you get a blank screen. You get the same results booting the Ubuntu instalation in a Kingston SSD connected to SATA3 port or the USB made with Rufus (GPT, FAT32, ISO Ubuntu16.10 AMD 64 bits image).I've tried in USB 3.0 and 2.0 porte. The problem seems to be that it freezes before showing the GRUB loader. You can test it with the USB image you get from Rufus. Could it be related to he Intel HD 505 graphics? |
Using Rufus may be part of your problem. I never use it, the default formatting of USB flash drives is fine, at least for installing Windows in UEFI booting (EFI boot loader) mode. The resulting formatting of the OS drive is perfect, GPT and four partitions, for Windows.
I assume you installed Ubuntu from a USB flash drive? If so, did you check the entry in the boot order for the USB flash drive? You must select the entry that is, "UEFI: <flash drive name>", in order for the EFI boot loader to be used, even if CSM is disabled.
When you installed Ubuntu, did you only have the target OS drive installed in the PC? No other drives connected and powered up?
The Intel integrated graphics VBIOS, which is part of the UEFI/BIOS for your board, has supported the UEFI GOP video standard since the Sandy Bridge processor generation. Support for the GOP protocol is necessary for UEFI booting, which many older video cards do not, and cannot support. ASRock has always included the appropriate EFI compatible VBIOS for the Intel graphics, in the UEFI/BIOS for their current and earlier boards, if possible.
If the Intel HD 505 graphics VBIOS (sourced from Intel) did not support GOP, then including the CSM option in the UEFI would be a mistake. I can't believe Intel would not support GOP on one of their latest products, the J4205 processor. The specs for the J4205 include support for Secure Boot, which when enabled will automatically disable CSM. Given that, the HD 505 graphics must support GOP.
------------- http://valid.x86.fr/48rujh" rel="nofollow">
|
Posted By: Juanjo1982
Date Posted: 30 Dec 2016 at 5:07pm
Thank you for your answer. I explained how I made the USB flash stick in order to make it reproducible. I think it is not part of the problem because I'm able to boot it in UEFI Mode in other computer for example Acer Aspire E5-571 Bios version 1.04 Furthermore I also tested images made with unetbootin and dd and the result is the same. It crashes before grup-efi was shown.
I confirm that when I choosed "UEFI: USB flash Drive" I get a blank screen and nothing happens". At this point I activated the CSM module and I choosed the new device without "UEFI:" and I was able to boot it.
Once intalled Ubuntu 16.10 on the SSD drive the problem is the same if CSM is disabled I can't boot the device "UEFI:SSD Kingston", the only way to boot it is activating the CSM module and choose the device not labeled as UEFI:..
Mostrando of the time I'm managing the boot order with F11. I'm quite sure I'm choosing the right device. I Will add some images later.
|
Posted By: Juanjo1982
Date Posted: 30 Dec 2016 at 5:38pm
Thank you for your answer. I've read this link before post it. I'm in the third case, Ubuntu is the only OS in the system, but I'm not agree with the part saying that it doesn't matter installing in CSM or UEFI Mode. I want to install it in UEFI Mode for better performance and future compatibility with other OS.
I confirm I've checked the 6 príncipes: 1 I've a 64 bit image 2 I've disabled the secure boot, fast boot 3 The image is right. I'm able to ser the GRUB-EFI loader in other computer
|
Posted By: wardog
Date Posted: 30 Dec 2016 at 10:15pm
" rel="nofollow - What BIOS are you currently running?
|
Posted By: Juanjo1982
Date Posted: 31 Dec 2016 at 3:30am
" rel="nofollow -
wardog wrote:
[URL=][/URL]What BIOS are you currently running?
|
I'm not at home tonight, tomorrow I Will post it, but I tried to upgrade it through the UEFI utility and it said that there wasn't upgrade. More information. Today I've tried to boot it with an Ubuntu image made with their recovry disk tool. The result still being the same.
Furthermore I'm not the only want who has this problem: https://www.google.es/url?sa=t&source=web&rct=j&url=https://tapatalk.com/topic/68622-freenas-community/47117-no-boot-with-asrock-j4205-itx&ved=0ahUKEwiFx6a60pzRAhXDchQKHVqADnQQFgggMAE&usg=AFQjCNErqY01ASp29-Tm_Pa_xQ73dqedOg
https://www.google.es/url?sa=t&source=web&rct=j&url=http://www.technikaffe.de/anleitung-394-asrock_j4205_itx_im_test__apollo_lake_mit_hdmi_2.0_und_hevc_10bit&ved=0ahUKEwiFx6a60pzRAhXDchQKHVqADnQQFgg_MAg&usg=AFQjCNEXfFmlmGPgNQXzI6xWcyBlfZN8cA
https://www.google.es/url?sa=t&source=web&rct=j&url=http://androidpc.es/blog/2016/12/05/review-asrock-j4205-itx-j3455-itx/&ved=0ahUKEwjWqqDA05zRAhVLbRQKHeUHAj0QFggiMAI&usg=AFQjCNF_yxaVDu6WRjm3W7PALLgoet4qQw
|
Posted By: wardog
Date Posted: 31 Dec 2016 at 8:39am
" rel="nofollow - Is this 16.10 Server i386 that you're attempting to use?
|
Posted By: Juanjo1982
Date Posted: 31 Dec 2016 at 1:52pm
" rel="nofollow -
wardog wrote:
[URL=][/URL]Is this 16.10 Server i386 that you're attempting to use?
|
No, it isn't. I'm using the Desktop versión. The image has this name ubuntu-16.10-desktop-amd64.iso
|
Posted By: parsec
Date Posted: 31 Dec 2016 at 2:44pm
I believe you are choosing the correct entry in the Boot Order, that is not difficult.
Try this: With CSM set to Enabled, set the CSM sub-option Launch Storage OpROM Policy to UEFI Only. That should cause the use of the EFI boot loader, but will not be a complete UEFI boot, meaning no need for GOP support.
You always must Save and Exit the UEFI/BIOS before that setting is applied. After the Save and Exit, go back into the UEFI and select the UEFI entry for Ubuntu.
If you can boot Windows in UEFI mode, with CSM disabled, using the HD 505 graphics, that means the VBIOS in the UEFI supports GOP. That means it should work for Ubuntu too.
------------- http://valid.x86.fr/48rujh" rel="nofollow">
|
Posted By: wardog
Date Posted: 31 Dec 2016 at 5:59pm
EDITED because I'm stupid and should have remembered 64bit releases are labeled AMD64
Teach me to wake up and immediately begin typing
My apologies Juanjo1982
|
Posted By: Juanjo1982
Date Posted: 31 Dec 2016 at 6:11pm
http://askubuntu.com/questions/7027/why-is-the-64bit-10-10-iso-labeled-amd64-iso" rel="nofollow - http://askubuntu.com/questions/7027/why-is-the-64bit-10-10-iso-labeled-amd64-iso
All 64bits editions are called amd64....
http://askubuntu.com/questions/54296/difference-between-the-i386-download-and-the-amd64
You'll never go to bed without learning something
|
Posted By: wardog
Date Posted: 31 Dec 2016 at 6:48pm
Juanjo1982 wrote:
You'll never go to bed without learning something  |
Again, please accept my sincerest apology for that.
Worst thing is years ago I ran a few linux VMs on and off.
Lesson: Coffee first, keyboard second 
|
Posted By: Juanjo1982
Date Posted: 31 Dec 2016 at 6:52pm
wardog wrote:
EDITED because I'm stupid and should have remembered 64bit releases are labeled AMD64
Teach me to wake up and immediately begin typing
My apologies <span id="userPro1" ="msgSidePro" title="View Drop Down">Juanjo1982</span>
|
Don't worry. Thank you for your help. I will provide additional details in the next hours... I will say you the Bios/Uefi versión, a picture of the black screen with a freezed cursor in the top left that appears and don't load GRUB-EFI and finally the test purposed with the option of storage OpROM in uefi only mode...I think I tested it and I was able to boot if CSM was enabled and the three options OpROM were in uefi only Mode but I will check it again.
|
Posted By: Juanjo1982
Date Posted: 01 Jan 2017 at 12:00am
About the firmware version I can confirm I have P1.10 version. See the complete output bellow. I've edited with xxxxx some serial numbers for security.
sudo dmidecode # dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 3.0.0 present. Table at 0x000ED450.
Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: American Megatrends Inc. Version: P1.10 Release Date: 09/29/2016 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 8192 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 5.12
Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: To Be Filled By O.E.M. Product Name: To Be Filled By O.E.M. Version: To Be Filled By O.E.M. Serial Number: To Be Filled By O.E.M. UUID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Wake-up Type: Power Switch SKU Number: To Be Filled By O.E.M. Family: To Be Filled By O.E.M.
Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: ASRock Product Name: J4205-ITX Version: Serial Number: XXXXXXXXXXXXXXXXXXXXXXX Asset Tag: Features: Board is a hosting board Board is replaceable Location In Chassis: Chassis Handle: 0x0003 Type: Motherboard Contained Object Handles: 0
Handle 0x0003, DMI type 3, 22 bytes Chassis Information Manufacturer: To Be Filled By O.E.M. Type: Desktop Lock: Not Present Version: To Be Filled By O.E.M. Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Boot-up State: Safe Power Supply State: Safe Thermal State: Safe Security Status: None OEM Information: 0x00000000 Height: Unspecified Number Of Power Cords: 1 Contained Elements: 0 SKU Number: To Be Filled By O.E.M.
Handle 0x0008, DMI type 9, 17 bytes System Slot Information Designation: PCIE1 Type: x1 PCI Express Current Usage: Available Length: Long ID: 17 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:ff:1f.7
Handle 0x0009, DMI type 9, 17 bytes System Slot Information Designation: mPCIE Type: x1 PCI Express Current Usage: Available Length: Short ID: 33 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:ff:1f.7
Handle 0x000A, DMI type 11, 5 bytes OEM Strings String 1: To Be Filled By O.E.M.
Handle 0x000B, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x001FFFFFFFF Range Size: 8 GB Physical Device Handle: 0x000F Memory Array Mapped Address Handle: 0x0011 Partition Row Position: 1 Interleave Position: 1 Interleaved Data Depth: 2
Handle 0x000C, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00200000000 Ending Address: 0x003FFFFFFFF Range Size: 8 GB Physical Device Handle: 0x0010 Memory Array Mapped Address Handle: 0x0011 Partition Row Position: 1 Interleave Position: 2 Interleaved Data Depth: 2
Handle 0x000D, DMI type 32, 20 bytes System Boot Information Status: No errors detected
Handle 0x000E, DMI type 16, 23 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 16 GB Error Information Handle: Not Provided Number Of Devices: 2
Handle 0x000F, DMI type 17, 40 bytes Memory Device Array Handle: 0x000E Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 8192 MB Form Factor: SODIMM Set: None Locator: ChannelA-DIMM0 Bank Locator: BANK 0 Type: DDR3 Type Detail: Synchronous Speed: 1600 MHz Manufacturer: Unde Serial Number: 149C4C46 Asset Tag: 9876543210 Part Number: CT102464BF160B.C16 Rank: 2 Configured Clock Speed: 1600 MHz Minimum Voltage: 1.35 V Maximum Voltage: 1.5 V Configured Voltage: 1.5 V
Handle 0x0010, DMI type 17, 40 bytes Memory Device Array Handle: 0x000E Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 8192 MB Form Factor: SODIMM Set: None Locator: ChannelA-DIMM1 Bank Locator: BANK 1 Type: DDR3 Type Detail: Synchronous Speed: 1600 MHz Manufacturer: Unde Serial Number: 149C4D6E Asset Tag: 9876543210 Part Number: CT102464BF160B.C16 Rank: 2 Configured Clock Speed: 1600 MHz Minimum Voltage: 1.35 V Maximum Voltage: 1.5 V Configured Voltage: 1.5 V
Handle 0x0011, DMI type 19, 31 bytes Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x003FFFFFFFF Range Size: 16 GB Physical Array Handle: 0x000E Partition Width: 2
Handle 0x0012, DMI type 7, 19 bytes Cache Information Socket Designation: CPU Internal L1 Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 224 kB Maximum Size: 224 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Parity System Type: Other Associativ
|
Posted By: Juanjo1982
Date Posted: 01 Jan 2017 at 12:19am
About the test. CSM enabled and storage pRom in UEFI mode. It boots my Ubuntu installation and also my USB stick, it also boots if the other two options are in UEFI only. I think it isn't able to boot via UEFI and as CSM is enabled it boots via BIOS anyway. So we are back to the initial point. Some images:
The UEFI device I choose when I try to boot from the USB image made with rufus (the same as unetbottin) http://imgur.com/b9ZqcBU
My gparted information about the Ubuntu installation made in mode CSM:

I will add a photo of the blank screen if you need it but it doesn't help to much
|
Posted By: parsec
Date Posted: 01 Jan 2017 at 2:02am
Juanjo1982 wrote:
About the test. CSM enabled and storage pRom in UEFI mode. It boots my Ubuntu installation and also my USB stick, it also boots if the other two options are in UEFI only. I think it isn't able to boot via UEFI and as CSM is enabled it boots via BIOS anyway. So we are back to the initial point. Some images:
The UEFI device I choose when I try to boot from the USB image made with rufus (the same as unetbottin) http://imgur.com/b9ZqcBU
My gparted information about the Ubuntu installation made in mode CSM:

I will add a photo of the blank screen if you need it but it doesn't help to much
|
A picture of the blank screen won't help, no need for that.
I don't have much else to tell you, if it is a problem with the board's UEFI/BIOS, I cannot fix that myself.
A Windows UEFI booting installation has a legacy MBR partition, and an EFI partition, so it can boot in UEFI or legacy/BIOS mode.
You said you think Ubuntu is booting in legacy/BIOS mode with the CSM options configured as you described, but where is the legacy, non-EFI boot partition?
I don't know Ubuntu/Linux well enough to know what is happening in this situation.
------------- http://valid.x86.fr/48rujh" rel="nofollow">
|
Posted By: wardog
Date Posted: 01 Jan 2017 at 2:24am
" rel="nofollow - Is this trying at bare metal or as Windows as a Host?
|
Posted By: Juanjo1982
Date Posted: 03 Jan 2017 at 2:41am
wardog wrote:
" rel="nofollow - Is this trying at bare metal or as Windows as a Host?
|
It's a bare metal set up. I don't have any windows license to test the boot without CSM enabled. Can you try to boot Windows with the J4205 ITX and the CSM disabled? If it failed would be a good test to discard any mistake in the SO image.
|
Posted By: wardog
Date Posted: 03 Jan 2017 at 3:04am
Juanjo1982 wrote:
wardog wrote:
" rel="nofollow - Is this trying at bare metal or as Windows as a Host?
|
It's a bare metal set up. I don't have any windows license to test the boot without CSM enabled. Can you try to boot Windows with the J4205 ITX and the CSM disabled? If it failed would be a good test to discard any mistake in the SO image.
|
Unfortunately you'll want to contact Tech Support using http://event.asrock.com/tsd.asp .
I'm a Moderator yet that access will need to be addressed by Tech Support.
Please, keep me updated on whatever is determined to be causing this.
|
Posted By: Juanjo1982
Date Posted: 17 Jan 2017 at 3:25am
Hello, I come back with good news. Thank you both for your help. Updating your J4205 ITX firmware to version 1.20 fix the issue. Finally I'm able to boot with CSM disabled. Furthermore, with the version 1.10 I get a lot of screen freeze using the UEFI firmware and it seems that the last version fix it.
|
Posted By: wardog
Date Posted: 17 Jan 2017 at 3:32am
Juanjo, thanks for returning to post BIOS 1.2 solved that.
It was much appreciated.
|
Posted By: 9000h
Date Posted: 18 Jan 2017 at 5:50pm
Hi,
I did had also some unusual boot issues with the bios 1.10 and 1.20 seems to fix it.
CU 9000h
|
Posted By: Xaltar
Date Posted: 18 Jan 2017 at 5:52pm
Thanks for letting us know, we will recommend 1.20 to anyone having issues until there is a new release.
-------------
|
Posted By: ASRock_TSD
Date Posted: 24 Jan 2017 at 6:31pm
Dear Juanjo1982,
Greetings, this is ASRock TSD.
This model could install Ubuntu 16.10 in UEFI mode successfully after upgrading to BIOS P1.20
So please refer below link to upgrade latest BIOS P1.20 for trying again. http://www.asrock.com/mb/Intel/J4205-ITX/index.us.asp%3Fcat=Download&os=BIOS" rel="nofollow - http://www.asrock.com/mb/Intel/J4205-ITX/index.us.asp?cat=Download&os=BIOS
Thanks!
All the best, ASRock TSD
|
Posted By: vienna
Date Posted: 28 Jan 2017 at 7:52pm
" rel="nofollow - Hello Asrock TSD Is it possible to install W7? Is it possible to Install Ubuntu 16.04 lst? Kann I do dualboot of both of them too? Best Regards Vienna
|
Posted By: vienna
Date Posted: 06 Feb 2017 at 4:09pm
Hello Asrock TSD Pls,for your support in this matter Best Regards Vienna
|
|