Friday 6 April 2018

Fourth look at Ubuntu 18.04 LTS (Bionic Beaver) Beta 2


Canonical have now made available the Beta 2 (Final Beta) of the upcoming Ubuntu 18.04 LTS (Bionic Beaver) release.

I've respun the ISO using my 'isorespin.sh' script and created ISOs suitable for Intel Atom and Intel Apollo Lake devices:

  • Atom (-i ubuntu-18.04-beta2-desktop-amd64.iso --atom)
  • Apollo (-i ubuntu-18.04-beta2-desktop-amd64.iso --apollo)
Update: ISOs have been removed as they have been superseded.

The release announcement provides a link to the release notes together with highlighting that "The beta images are known to be reasonably free of showstopper CDbuild or installer bugs, while representing a very recent snapshot of 18.04 that should be representative of the features intended to ship with the final release expected on April 26th, 2018". Note that two of the documented bugs with the ISO include slow booting and issues with reboot.

Please donate if you find the ISOs or script useful using the following link http://goo.gl/nXWSGf.

58 comments:

Unknown said...

I tried to respun:
./isorespin.sh -i ubuntu-17.10.1-desktop-amd64.iso --atom -k v4.12.12
but i have a kernel error. After a bit analysis i modify this line of code:

MAINLINE_INITRD=$(ls -t iso-chroot/boot/initrd* 2> /dev/null | tail -1)

so i changed head with tail and now the respun is ok.
Can you fix the shell ? Thanks

Linuxium said...

It is because you are downgrading the kernel on the ISO that you need 'tail' rather than 'head'. I've now fixed the script to allow both upgrades and downgrades to the kernel. Can you download the script again and test?

Anthony said...

Niiiiiice ! thank you ! :)

Unknown said...

I have downloaded the new script and I confirm that it works so bug fixed :) Thanks again. I don't know why for alfawise x5 i need to downgrade the kernel.

Linuxium said...

If it is related to audio have you tried using the default kernel from the ISO and trying the fix I posted here: http://linuxiumcomau.blogspot.com.au/2017/10/fixing-broken-hdmi-audio.html

Unknown said...

Yes, i tried but no device can manage sound

Ricardo Garreta Calderón said...

Hi there!
First of all... Keep up the good work!! And thanks for the script!
Gonna try this one... Haven't been able to work WiFi, Touch or audio on my Atom device and can't figure out why... :(
Thing is... I have an obsolete distro based on ubuntu that works... but is pretty limited and I don't like it.
I'll keep trying though, thanks again.

jobarjo said...

Hi

Tried on teclast x98 pro.
could manage to install then boot.
Wifi OK.
But touchscreen is inverted.
usb works during live install, but no more after reboot.
Battery indicator seems to work.

Very hard to do anything without keyboard and inverted touch screen. I could manage to upgrade the packages and reboot. But still the same.
I have network access, but don't have openssh.

What version should I install for x98 pro? (with everything working)

Thanks

Frankie said...

Hi!

I tried this out on an Acer Switch 3. Overall, it works pretty much perfectly, except the touchpad doesn't work at all. Keep up the good work!

Unknown said...

Hello Linuxium

First of all, thank you for this great job you do here!


I'm trying to install Ubuntu 18.04 LTS (Bionic Beaver) Beta 2 on my notebook (Atom Z3735F) using your respin.

I can start live version, wifi OK (sound, video, SD card not yet tested).
After I install it to my notebook, the OS starts OK but after login it goes to sleep after about 10 seconds of running. If i press Power button, I can log in again but after 10 second, it goes again to sleep.

Can you help me?

This is my pastebin
https://pastebin.com/3mUeww1j

Thank you very much!

Linuxium said...

Have you tried using the 'xrandr' command for screen rotation (see the 'Rotation issues' section in my documentation)?

Linuxium said...

There are some touchpad patches coming soon upstream so hopefully it won't be too long before it is fixed.

Linuxium said...

Can you make sure your 'Secure Boot' setting is disabled in the BIOS and also disable TPM if possible. And if you have the ability to change the 'OS Selection' setting in tbe BIOS can you set to Linux or similar?

Unknown said...

I disabled TPM, now I can't start the device anymore. Power led is on + blank screen.

Any idea how can I go back?

Thanks

Linuxium said...

Just go back into the BIOS and enable TPM again. Hit F7 (or whatever key accesses your BIOS) immediately after power-on.

Unknown said...

Blank screen+power led on. I can't go anywhere. I sent the notebook to service.
I've read that is a common error for Atom bios.

Central Souls Like said...

nice work

but touch screen is not working in my chuwi hi10 pro, can you help me?

wifi perfect
battery indicator ok

Central Souls Like said...

sound is not working

Linuxium said...

When you get it back you'll be able to try the release version of Ubuntu 18.04 LTS rather than a beta version.

Linuxium said...

Can you post a link to 'dmesg' immediately after booting?

Central Souls Like said...

dmesg in terminal

https://docs.google.com/document/d/1T7bjbfdOz6MOu6I6XKw4FALlwrRjxjpBS6hcvhnETrc/edit?usp=sharing

Linuxium said...

For touch screen you need the firmware (see https://github.com/edward-p/mssl1680-firmware) and for sound you might have to try some of the audio fixes I've posted like http://linuxiumcomau.blogspot.com.au/2017/10/fixing-broken-hdmi-audio.html and http://linuxiumcomau.blogspot.com.au/2018/03/fixing-broken-hdmi-audio-again.html

Prada said...

Hi linuxium,

thanks for help us with your work!

I have booted the iso(I have an atom z8350) and it looked works well but no. Ubuntu goes so laggy; wifi, bluetooth, audio and touchpad doesn't work(sd card not tested). Could you help me? I have to say i'm so noobie in this OS...

Linuxium said...

Start by reading the documentation (link top right) as this includes pointers for all of the issues you mention.

Unknown said...

Just tested release version. The live one works ok: wifi, sound, display.
After installing it, same problem: it goes to sleep after 5-10 seconds

Linuxium said...

Are there any messages in the 'dmesg' log either immediately prior or after sleeping?

Unknown said...

I find out that is an old bug (https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1438301) about bogus lid switch.

I also found a solution, at least on XFCE Desktop (currently on Peppermint): In Power Option there is a simple option about lid and actions when closed. I just changed the default option (Suspend) to any other. Now I can use my notebook.

Btw, I installed Peppermint using original iso + bootia32.efi copied in EFI folder + rtl8723bs_4.12.0_amd64.deb for Wifi.


My next problem to solve is about sound in jack (I don't tested HDMI one). Sometimes Pulseaudio is running OK, driver is loaded in pavucontrol but no sound coming. No sound from tester in pavucontrol or from terminal using speaker-test command.

Any advice?

Unknown said...

thank you for your work.
are you going to respin the release version of Ubuntu 18.04 LTS for apollo lake devices?
I don´t think i have the abilities to do it myself.

Linuxium said...

@Oboyle SRL: Start by using the latest kernel (v4.17-rc4) together with the UCM files and see if 'aplay' on a device will work.

Linuxium said...

@cedric shadok: See http://linuxminipcs.com/ubuntu-18-04-lts-bionic-beaver

Anthony said...

hi ! can you add iso with stable version of 18.04 please ?

Linuxium said...

See http://linuxminipcs.com/ubuntu-18-04-lts-bionic-beaver

Anthony said...

ohhh thank you so much ! i will donate asap again for yours great work !

Brad said...

I've read people with N3450 Notebooks say that eg., Xubuntu 18.04 boots fine out of the box. So no respin required with Ubuntu v18.04 or later?

Sven said...

I tried the Linuxium atom ISO (linuxium-atom-ubuntu-18.04-desktop-amd64.iso) on a Teclast X80 Pro. I selected “Install OS” from the boot menu and this failed after the successful Wifi step. Then I tried “Live mode” from the boot menu and it worked nicely, but selecting the “Install OS” icon fails again after the Wifi step. Finally, I started by hand:

> ubiquity –debug –wireless –pdb does

This failed as before and did not add any debug output.
The device has only 2 GB RAM. Can this be the problem? Any other ideas?

Brad said...

"this failed" is not informative and does not help anyone try to figure out why it failed. You need to describe what happens, what you see, and pertinent log file output (dmesg, etc.)
No 2GB RAM is likely not the problem.

Unknown said...

Could you solve the rotation problem? I used xrandr -o normal. That works, but only until the next restart. I can't find the xorg.conf to put it into the file.

Sven said...

OK, I found that /var/log/syslog contained interesting log messages from Ubiquity. I always kept the defaults in the selection screens. (The GUI of Ubiquity silently stops after Wifi and "a report a problem to Ubuntu" is offered (which does not work, but should not matter here).) Here is the log (removed time stamps to fit the 4096 character limit):
ubiquity[4090]: Ubiquity 18.04.14
ubiquity[4090]: switched to page language
ubiquity[4090]: switched to page language
localechooser: info: Language = 'en'
localechooser: info: line=en;0;US;en_US.UTF-8;;console-setup
localechooser: info: Set debian-installer/language = 'en'
localechooser: info: Default country = 'US'
localechooser: info: Default locale = 'en_US.UTF-8'
localechooser: info: Set debian-installer/consoledisplay = 'console-setup'
localechooser: info: Set debian-installer/country = 'US'
localechooser: info: Set debian-installer/locale = 'en_US.UTF-8'
localechooser: info: System locale (debian-installer/locale) = 'en_US.UTF-8'
ubiquity: /usr/lib/ubiquity/localechooser/localechooser: 910: [: C.UTF-8: unexpected operator
ubiquity[4090]: debconffilter_done: ubi-language (current: ubi-language)
ubiquity[4090]: Step_before = stepLanguage
ubiquity[4090]: switched to page console_setup
ubiquity[4090]: log-output -t ubiquity setxkbmap -model pc105 -layout us -option
ubiquity: Your console font configuration will be updated the next time your system
ubiquity: boots. If you want to update it now, run 'setupcon' from a virtual console.
ubiquity[4090]: log-output -t ubiquity setxkbmap -model pc105 -layout us -option
ubiquity[4090]: debconffilter_done: ubi-console-setup (current: ubi-console-setup)
ubiquity[4090]: Step_before = stepKeyboardConf
ubiquity[4090]: switched to page wireless
ubiquity[4090]: Step_before = stepWireless
ubiquity[4090]: Exception in GTK frontend (invoking crash handler):
ubiquity[4090]: Traceback (most recent call last):
ubiquity[4090]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 795, in
ubiquity[4090]: lambda: self.dbfilter.start(auto_process=True))
ubiquity[4090]: File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 103, in start
ubiquity[4090]: prep = self.prepare()
ubiquity[4090]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 415, in prepare
ubiquity[4090]: self.setup_sufficient_space()
ubiquity[4090]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 432, in setup_sufficient_space
ubiquity[4090]: free = self.free_space()
ubiquity[4090]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 446, in free_space
ubiquity[4090]: devices = proc.communicate()[0].rstrip('\n').split('\n')
ubiquity[4090]: File "/usr/lib/python3.6/subprocess.py", line 830, in communicate
ubiquity[4090]: stdout = self.stdout.read()
ubiquity[4090]: File "/usr/lib/python3.6/codecs.py", line 321, in decode
ubiquity[4090]: (result, consumed) = self._buffer_decode(data, self.errors, final)
ubiquity[4090]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x91 in position 239: invalid start byte

The line containing "910" (reported after hitting "Continue" in the first Ubiquity screen) looks like a wrong shell (sh vs bash?) was chosen and the last line hints at some encoding problem.

Linuxium said...

Comment notification failed recently so I have a backlog of comments to read and reply to.

I need to investigate this issue further. Can you post a full 'dmesg' using 'pastebinit' or similar?

Sven said...

Here is the full dmesg: http://paste.ubuntu.com/p/3Hz33qZyHn/

Linuxium said...

Can you post a full 'dmesg' using 'pastebinit' or similar so I can see what is being detected together with details as to which ISO you have used (including the 'isorespin.log' file if you have respun you own ISO)?

Linuxium said...

Comment notification failed recently so I have a backlog of comments to read and reply to hence the delay with this response.

It seems to depend on the BIOS. Some BIOS work by supporting either Linux or that GRUB just works whereas others require respinning with the 'apollo' option just to get the ISO to boot.

Linuxium said...

Comment notification failed recently so I have a backlog of comments to read and reply to hence the delay with this response.

You could try putting the 'xrandr' command in as an 'autostart' for the desktop or maybe as a 'customXSession'.

Linuxium said...

The problem appears to be an error in the official ISO:

$ diff /usr/lib/ubiquity/localechooser/localechooser localechooser
910c910
< if [ "$LOCALE" != C ] && [ "$LOCALE" != C.UTF-8 ] \
---
> if [ "$LOCALE" != C ] && [ "$LOCALE" != C.UTF-8 ] && \
$

I've respun a test ISO using the following command:

isorespin.sh -i ubuntu-18.04-desktop-amd64.iso --atom -f localechooser -c "mv /usr/local/bin/localechooser /usr/lib/ubiquity/localechooser/localechooser"

which you can download from:

http://bit.ly/fixed-ubuntu-18_04-atom

Give it a try and see if it fixes the issue.

Sven said...

Thanks. I wrote the file with
dd if=fixed... of=/dev/sdd
to a stick.
md5sum of fixed-linuxium-atom-ubuntu-18.04-desktop-amd64.iso:
89528af53f7fba8cb8c4fdb2829f6628
When booting, it reports after the GRUB screen:
error: invalid magic number.
error: you need to load the kernel first.

Linuxium said...

The md5sum should be 7326afa6945e1945d011e1406a3c675c so could you re-download and check?

Sven said...

Thanks for the checksum. The iso downloaded correctly now.
The first error message (localechooser) went away; so your fix seems to be correct. The second error remains, i.e. all lines from "Exception in GTK frontend".

Linuxium said...

Interestingly there seems to be a bug already logged for this. The following WORKAROUND *may* work:

1. Boot into the live session.
2. Settings > Devices > Displays > Scale = 100%
3. Click Apply.
4. Proceed with installation: Click "Install Ubuntu 18.04 LTS".

Sven said...

I found no "Scale" under "Displays" and there seems to be no scaling in effect on the device. This time, I switched to Orientation="Portrait Right" and Resolution=1200x1920. But this led to no change during the ubiquity run.

What bug number are you referring to?

Sven said...

Is there a way to use the terminal-based alternative to ubiquity (e.g. the one used in Ubuntu Server images)?

Linuxium said...

Both https://bugs.launchpad.net/ubuntu/bionic/+source/ubiquity/+bug/1751252/ and https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1772870 included references to the 'localechooser: 910: [: C.UTF-8: unexpected operator' but that obviously is not the root of the problem.

Why not try installing Ubuntu server from https://www.ubuntu.com/download/server and then once booted install the ubuntu-desktop and remove the ubuntu-server packages using 'tasksel'? Once you've then got the desktop installed we can look at sorting out what then fails to work (most likely to be bluetooth).

Sven said...

Interesting idea. I used Ubuntu Server 18.04, but the problem is that (s)ubiquity wants to install to an entire disk and I cannot select any existing partition. I will try other Ubuntu flavors now.

Linuxium said...

Update: ISO has been removed due to lack of space on hosting service.

imayoda said...

Hi there, Lixium people and dev..
After 2 years on W10, Lenovo Miix310, and the third update that blasted my system, I've decided to jump on Ubuntu 18.04
As far as I know, everything kida works.. just the screen orientation that goes the wrong by +90° in any tablet position I put it on. And the audio that sometimes brings the hardware in the settings panel, sometimes not or after some time from boot.. really strange.

I'm trying to set ACCEL_MOUNT_MATRIX in 60-sensor to correct the screen orientation detection, but nothing changes.

Do you have any (kind) suggestion for me, please ?
Kind regards

imayoda said...

For anyone interested :)
Solved Screen Rotation as per https://github.com/systemd/systemd/blob/master/hwdb/60-sensor.hwdb

but changing dmi ID to sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN26WW:*:svnLENOVO:pn80SG:*

And touchpad orientation was fixed using
xinput set-prop 'FTSC1000:00 2808:1015' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1

Nice to have almost all functional..
Audio is still wonky, can't find a solution

BlondMammuth said...

Hi Frankie,

I am currently trying to do exactly the same thing (Acer Switch 3), so I'd be very grateful if you could tell me which options you have used. The processor is not one given in the options, so I don't know which to use, and I have not managed to boot from a USB memory stick, which I kind of need because I cannot install internet on the live CD, but without internet the installation process runs into an error at EFI installation. So I am somehow stuck as how to go on.

Do you have any hint for me?

Thanks!

Brad said...

"-u --apollo -i"

BlondMammuth said...

Thanks a lot!

Post a Comment