Wednesday 24 January 2018

First look at Ubuntu 18.04 or Bionic


With the date for the first 'Alpha 1' releases of the upcoming Ubuntu 18.04 code named Bionic Beaver having silently slipped by I decided to respin the latest daily build of Ubuntu MATE (20180123) using my 'isorespin.sh' script with the latest Canonical built kernel (v4.15-rc9) and try it out on the MINIX NEO Z83-4.

The command I used was:
isorespin.sh -i bionic-desktop-amd64.iso --atom -u -f 4345r6nvram.txt \
-c
"mv /usr/local/bin/4345r6nvram.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt" \
-f MINIX-Z83-4_usr_share_alsa_ucm_chtrt5645_HiFi.conf \
-f wrapper-linuxium-install-UCM-files.sh
which includes the required files to support wifi and headphone audio (see Linux on MINIX NEO Z83-4 and Z83-4 Pro) on this specific device

The following command should work for other Intel Atom devices:
isorespin.sh -i bionic-desktop-amd64.iso --atom -u 
or this command for Intel Apollo devices:
isorespin.sh -i bionic-desktop-amd64.iso --apollo -u
although do also read Resize EFI partition to prevent any installation issues on Intel Apollo devices.

The reason for trying Ubuntu MATE is due to what might be seen as somewhat provocative 'call to arms' in their blog which highlights their various 'panel' layouts which control the look of the desktop.

The panel layout 'Mutiny' creates a surprisingly similar look and feel to Unity and is certainly worth trying if you are still unsure of the direction Ubuntu is moving to in their current releases.

Simply use 'MATE Tweak' to change the default panel to 'Mutiny' and then 'pin' applications to the panel like with Unity.

Please donate if you find my scripts useful using the following link http://goo.gl/nXWSGf.

45 comments:

Unknown said...

Hi, I have a problem this is the log
isorespin.log:
script '/usr/local/bin/isorespin.sh' called with '-i bionic-desktop-amd64.iso --atom -u' ...
Work directory 'isorespin' used ...
ISO '/home/snoopy/Documenti/RESPIN/bionic-desktop-amd64.iso' respun ...
Bootloader 'GRUB' added ...
Kernel updated with mainline kernel version '4.15.0-041500rc9-generic' ...
Local package 'rtl8723bs_4.12.0_amd64.deb' failed to install correctly.

Thanks for help
Ciao

Unknown said...

And here is the output:
snoopy@snoopy-PC ~/Documenti/RESPIN $ sudo isorespin.sh -i bionic-desktop-amd64.iso --atom -u
Extracting ISO ...
Parallel unsquashfs: Using 4 processors
175821 inodes (191290 blocks) to write

[=======================================================================================================================================================================================================================|] 191290/191290 100%

created 146728 files
created 20294 directories
created 29014 symlinks
created 7 devices
created 0 fifos
Extracting isorespin files ...
Updating bootloader/bootmanager ...
Fetching mainline kernel packages ...
Installing mainline kernel packages ...
Installing local packages ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selecting previously unselected package rtl8723bs.
(Reading database ... 217206 files and directories currently installed.)
Preparing to unpack rtl8723bs_4.12.0_amd64.deb ...
Unpacking rtl8723bs (4.12.0) ...
dpkg: error processing archive rtl8723bs_4.12.0_amd64.deb (--install):
trying to overwrite '/lib/firmware/rtlwifi/rtl8723bs_bt.bin', which is also in package linux-firmware 1.170
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
rtl8723bs_4.12.0_amd64.deb
Reading state information... Done
/usr/local/bin/isorespin.sh: Local package 'rtl8723bs_4.12.0_amd64.deb' failed to install correctly.
snoopy@snoopy-PC ~/Documenti/RESPIN $

Linuxium said...

Make sure you are running the latest version of my script 'isorespin.sh -v' as this needs to be '8.0.6' and can be downloaded from the link above.

Marvin Gonzalez said...

I got the same exact issue as Oscar Baksa.
I have downloaded the latest version of isorespin.sh (Version: 8.0.6), the ISO image bionic-desktop-amd64.iso and the other files from your links above.
This is the same result using ubuntu-16.04.3-desktop-amd64.iso

Marvin Gonzalez said...

Looking back at my problem I found that maybe is not exactly the same problem as Oscar Baksa. Here's my output error:

/home/mago/Downloads/bionic# isorespin.sh -i bionic-desktop-amd64.iso --atom -u -f 4345r6nvram.txt -c "mv /usr/local/bin/4345r6nvram.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt" -f MINIX-Z83-4_usr_share_alsa_ucm_chtrt5645_HiFi.conf -f wrapper-linuxium-install-UCM-files.sh

Extracting ISO ...
Parallel unsquashfs: Using 4 processors
175777 inodes (191246 blocks) to write

[=====================================================================================================================/] 191246/191246 100%

created 146693 files
created 20273 directories
created 29005 symlinks
created 7 devices
created 0 fifos
Extracting isorespin files ...
Updating bootloader/bootmanager ...
Fetching mainline kernel packages ...
Installing mainline kernel packages ...
Installing local packages ...
Reading package lists... Done
Building dependency tree
Failed to open the software package
The package might be corrupted or you are not allowed to open the file. Check the permissions of the file.
Reading state information... Done
/usr/local/bin/isorespin.sh: Local package 'rtl8723bt_4.12.0_amd64.deb' failed to install correctly.

And this is my isorespin.log:

/home/mago/Downloads/bionic# cat isorespin.log
Script '/usr/local/bin/isorespin.sh' called with '-i bionic-desktop-amd64.iso --atom -u -f 4345r6nvram.txt -c mv /usr/local/bin/4345r6nvram.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt -f MINIX-Z83-4_usr_share_alsa_ucm_chtrt5645_HiFi.conf -f wrapper-linuxium-install-UCM-files.sh' ...
Work directory 'isorespin' used ...
ISO '/home/mago/Downloads/bionic/bionic-desktop-amd64.iso' respun ...
Bootloader 'GRUB' added ...
Kernel updated with mainline kernel version '4.15.0-041500rc9-generic' ...
Local package 'rtl8723bt_4.12.0_amd64.deb' failed to install correctly.

Linuxium said...

When you run the script it automatically downloads the 'rtl8723bt_4.12.0_amd64.deb' ready for installation. The only way I could reproduce your error was if that download somehow corrupted the file. Can you make sure there is no local directory called 'isorespin' and run the script again?

Christian Sandera said...

did it two times and it worked. created a folder on my desktop, put isospin.sh and the mate.iso in there, made the script executable and in the terminal i worked with sudo su, password and ./isospin.sh with you commands. no problems. after that i created a persistent usb-stick with the refind-boot-loader with your script. many thanks!

Linuxium said...

Good to hear.

Marvin Gonzalez said...

Thanks so much for your answer. In fact I think the error was mine. I was trying to run isospin.sh from a debian distribution, so I made a VirtualBox ubuntu virtual machine and everything runs smoothly from there. Now my Minix is running with Bionic.

I don't know if you have experimented this, but when navigating it freezes and you cannot do any action on the screen, I had to go to a terminal (alt+f2) and do a reboot, after that it works normally. It happens twice.

Marcelo said...

Hi.
Great work you are doing.
I have a RCA Cambio w101sa23t1 (x5-z8350). I have tried to use several of your respins, but I cannot get them to boot without adding "nomodeset" on the kernel line.
When I do this, it boots, but only on portrait mode and I can't rotate the screen.
Any ideas?

Unknown said...

Hello Linuxium,

When I run the script, I always get it
/usr/local/bin/isorespin.sh: Local package 'rtl8723bt_4.12.0_amd64.deb' failed to install correctly.

When I run there will be 'isorespin' folder But every time there will be this error, how can I solve.

Best regards,
Raif

Marvin Gonzalez said...

I had the same problem, but I was running isorespin.sh from a debian linux. I made a Ubuntu Virtual Machine and from there it works fine.

Linuxium said...

Kernel freezes should be a thing of the past however you can try the solution under 'Kernel freezes' in my documentation and see if this helps.

Agent Alexander said...

I've been trying to respin an Ubuntu ISO for my Apollo laptop, which creates successfully, however the Ubuntu Installer will not launch once I get to the live desktop. Any thoughts?

Linuxium said...

This maybe a 'Wayland' vs 'Xorg' issue. Try logging out and then changing your desktop by clicking the 'circle' icon near your username.

Linuxium said...

@Marvin: Thanks for this suggestion. I haven't tried respinning on Debian so I'll put it on my TODO list to see if there is an easy fix.
@Raif: If this doesn't solve your issue can you provide details of your environment (e.g. OS, release/version, script version and log, ISO being respun etc)?

Linuxium said...

What options are you using to respin and with what ISO? What symptoms do you get when trying to boot?

Agent Alexander said...

I'm respinning with "./isorespin.sh --apollo" as root.

The Live USB boots fine, and I can open the web browser, install packages, etc. But the actual "Install Ubuntu" will not open.

Agent Alexander said...

Sorry, I'm respinning the normal desktop Ubuntu ISOs. I've tried 17.10 and 16.04.

Linuxium said...

So after booting your respun LiveUSB you can see the 'Install Ubuntu' icon on the desktop and double-clicking doesn't work? Or do you mean the 'Install' option from the GRUB boot menu?

Agent Alexander said...

It's the "Install Ubuntu" icon on the desktop that doesn't work. It doesn't make any attempt to open (no spinning icon, etc).

Unknown said...

Hi, Linuxium - just wanted to share with your studio audience that isorespin.sh no longer works in Debian - it chokes on installing the Realtek driver, at least on my 8" Bay Trail tablet. I know I saw someone else mention this but couldn't find the thread, sorry for bringing it up in this one -

I eventually ended up spinning up a VM using the iso I was trying to respin and ran isorespin in a Kubuntu virtual machine, which worked just fine - almost :)

Interestingly, a Debian Testing multiarch netinstall image supports 32-bit EFI so I tried that first. When we got to the wireless portion the Debian installer showed me a list of wireless networks but refused to connect to any of them; it wouldn't connect to an open network either. Since this was a netinstall disc an internet connection was required.

But - the respun Kubuntu installer did the same thing; the installer would display available wireless networks and refused to connect to any of them; but with the Kubuntu live CD networking worked just fine after install. This kinda points to an installer problem, not an isorespin problem.

Anyway, thought I'd share. I got Kubuntu installed on the cheap 8" Win10 tablet and isorespin worked without a hitch if called from an *buntu VM.

Thanks for all you do -

Unknown said...

ps - not sure, but I think the reason isorespin doesn't work in Debian is because mkisofs isn't available.

Unknown said...

I used the following command:
isorespin.sh -i bionic-desktop-amd64.iso --atom -u
And after loading I see the following message:
unable to find a medium containing a live file system.
If i use GUI, nothing changes
What am I doing wrong.
Tablet : Dexp Ursus gx210
P.S. sorry for my english.

Linuxium said...

I can't reproduce this unfortunately. Does the 'Install Ubuntu' from the 'Launcher' work?

Linuxium said...

Thanks. When Debian release the next 'experimental' kernel I'll take a look at this next.

Linuxium said...

Try a latter version of the 'bionic-desktop-amd64.iso' as it is a daily image and sometimes doesn't work as it is under development.

Anonymous said...

I noticed you are still using rEFInd to spin the ISOs instead of relying on the pre-packaged Grub. Does this mean that we still cannot boot a standard 64bit Ubuntu 18.04 ISO on an Apollo Lake device?

Unknown said...

I have been secretly playing with ubuntu's beaver for months. It works awesome on the cube's with xubuntu and the 4.15 kernel. Here is the theme I made for it :) https://github.com/tekcomm/borg-bionic-beaver-plymouth-theme

db-linux said...

Having an issue with mounting the created iso. The respin looks to complete correctly but the iso won't mount or boot. Here;s the end of the log which looks good:

------
Created symlink /etc/systemd/system/multi-user.target.wants/brcmbt.service -> /lib/systemd/system/brcmbt.service.
./linuxium-install-broadcom-drivers.sh: Starting Broadcom bluetooth service ...
Running in chroot, ignoring request.
./linuxium-install-broadcom-drivers.sh: Installation of Broadcom finished
Persistence partition of '2048MB' added ...
Respun ISO created as 'linuxium-atom-persistence-v4.16-rc2-lubuntu-17.10.1-desktop-amd64.iso'.
------

isorespin.sh version:
test@test-VirtualBox:~/Downloads$ ./isorespin.sh -v
./isorespin.sh: Version: 8.0.7


Here's the failed mount of the iso:
test@test-VirtualBox:~/Downloads$ sudo mount -o loop linuxium-atom-persistence-v4.16-rc2-lubuntu-17.10.1-desktop-amd64.iso /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
test@test-VirtualBox:~/Downloads$ sudo mount -t iso9660 -o loop linuxium-atom-persistence-v4.16-rc2-lubuntu-17.10.1-desktop-amd64.iso /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.

I didn't see anything is the docs or on the site about this specifically. Should I use a different isorespin version?

db-linux said...

Ah. I figured out persistence makes the iso unmountable. Not sure if that's expected.

Linuxium said...

To respin with rEFInd you have to explicitly include it as an option ('-b rEFInd') as it is not included by default or with the '--apollo' option. Booting a standard Ubuntu ISO on an Apollo Lake device is still dependent on the device's BIOS and if it doesn't support Linux then you will need to respin the ISO for which I recommend using the '--apollo' option.

Linuxium said...

This is as expected. The ISO 9660 file system is by definition read-only so to add persistence I respin the ISO as a bootable image. This still allows you to mount the individual partitions manually however if required from the resultant disk image.

Unknown said...

I used your isorespin script to install elementary os on apollo lake laptop celeron n3450
after the installation I just can't enter boot mode for elementary.
the system just ignore it, although I checked the boot menu and the ubuntu boot option is at first.
somehow the computer ignore it and continue to UEFI Built-in EFI

Linuxium said...

Take a look at 'http://linuxiumcomau.blogspot.com.au/2017/12/resize-efi-partition.html' and see if it fixes your problem.

Levi Brito said...

Great work, I'll try into my baytrail tablet here in brazil. It's a local brand called "CCE" model "TF74W". Post the result soon

Unknown said...

I'm running Ubuntu 18.04.01 on a Windows 10 VM and unable to spin. Here is the log. Any advice?

Script '/usr/local/bin/isorespin.sh' (version: 8.2.4) called with '-i lubuntu-18.04.1-desktop-amd64.iso -u --atom' ...
Work directory 'isorespin' used ...
ISO '/home/test/Downloads/lubuntu-18.04.1-desktop-amd64.iso' respun ...
Bootloader '32-bit GRUB' added ...
Kernel updated with mainline kernel version '4.18.0-041800-generic' ...
Local package 'rtl8723bt_4.12.0_amd64.deb' failed to install correctly.

Linuxium said...

The mailine kernel version has just been updated and if you caught it during the update process it can result in instability while respinning. I suggest trying it again otherwise try on a true Ubuntu device (e.g. boot from a LiveUSB and use the '-w' option with respinning to help on space. I've just successfully run your command so currently there are no issues.

raxy said...

hi, I'm running Ubuntu 18.10 and unable to spin. Here is the log. Any advice?

Script '/usr/bin/isorespin826.sh' (version: 8.2.6) called with '-i xubuntu-18.10-desktop-amd64.iso --atom -u -w /media/raxy/ext3part/backupX16pro' ...
Work directory '/media/raxy/ext3part/backupX16pro/isorespin' used ...
ISO '/media/raxy/ext3part/backupX16pro/xubuntu-18.10-desktop-amd64.iso' respun ...
Bootloader '32-bit GRUB' added ...
Kernel updated with mainline kernel version '4.19.0-041900-generic' ...
Local package 'rtl8723bt_4.12.0_amd64.deb' failed to install correctly.

Linuxium said...

Make sure that there is not a 'rtl8723bt_4.12.0_amd64.deb' file on your USB in '/media/raxy/ext3part/backupX16pro' becuase it appears to be trying to install a 'local' version rather than downloading the required packages.

raxy said...

Hello, I retried on another computer (without the -u) an,d all went well, tks a lot ! my teclast x16 pro is now about to clean reinstall of xubuntu 18.10; I booted on the USB stick, at least wifi working, youtube video also, but no sound yet, need to remember of to fix sound...

Gustavo Pessoa said...

Hey guy, you try? What's the results?

Levi Brito said...

could someone link the iso on google drive? My Mega account is free and I already exceeded

Todor said...

Hi, I have problem spinning on Linux Mint with --atom option.
Error:
Installing local packages ...
/bin/bash: line 12: gdebi: command not found
/usr/local/bin/isorespin.sh: Local package rtl8723bt_4.12.0_amd64.deb' failed to install correctly.

gdebi is installed and working correctly.
I can see the script creates its working folder and downloads the package.

Linuxium said...

Which ISO are you using to respin?

Post a Comment