Thursday, 22 June 2017

Third look at Ubuntu 17.10: spicing up Artful



For this look at the latest daily build of Ubuntu 17.10 (Artful Aardvark) I've not only respun the ISO with the latest kernel and wifi/bt drivers together with some additional useful packages but I've also added the Cinnamon desktop.

The result is rather nice.

Canonical may be concerned about people's reaction to their decision that Ubuntu 17.10 will drop Unity and use GNOME 3.0 for the default desktop as they recently ran a poll to collect data on usefulness of some GNOME Shell extensions including 'Dash to Dock'. They have just published the results from the 18,330 responses (https://insights.ubuntu.com/2017/06/12/ubuntu-desktop-gnome-extensions-poll-results) which show an overwhelming interest for 'Dash to Dock'.

1 for not very useful and 5 for very useful

They suggest "Perhaps we work with upstream GNOME to provide a setting we could override which shows the dash outside of just the activities view".

Well given that not everyone likes GNOME 3.0 and Linux Mint is gaining popularity, when I saw the news that Cinnamon 3.4 had been released and "Here’s How To Install it on Ubuntu" I thought why not spice up Artful Aardvark?

Using my 'isorespin.sh' script I created the respun ISO with the following command:

isorespin.sh -i artful-desktop-amd64.iso -u -p "$(cat cinnamon-package-dependencies-for-artful.txt)" -p "ssh openssh-server inxi" -l google-chrome-stable_current_amd64.deb -l rtl8723bt_4.12.0_amd64.deb -f cinnamon-packages-isorespin/usr/src -f 50-ubuntu.conf -f linuxium-install-UCM-files.sh -f wrapper-linuxium-install-UCM-files.sh -f linuxium-install-broadcom-drivers.sh -f wrapper-linuxium-install-broadcom-drivers.sh -c "mv /usr/local/bin/src/*.deb /var/cache/apt/archives" -c "rm -rf /usr/local/bin/src" -c "apt-get install -y /var/cache/apt/archives/*.deb" -c "rm -f /var/cache/apt/archives/*.deb" -c "mv /usr/local/bin/50-ubuntu.conf /usr/share/lightdm/lightdm.conf.d" -c wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-install-broadcom-drivers.sh -c "sed -i 's?/usr/share/themes/Adwaita/backgrounds/adwaita-timed.xml?/usr/share/backgrounds/warty-final-ubuntu.png?' /usr/share/glib-2.0/schemas/org.cinnamon.desktop.background.gschema.xml" -c "glib-compile-schemas /usr/share/glib-2.0/schemas" -s 200MB

The key features of the respun ISO are:
  • Based on the Ubuntu 17.10 (Artful Aardvark) Daily Build from 19th June
  • Upgraded with the latest Ubuntu mainline v4.12-rc6 kernel
  • Includes the packages ssh, openssh-server, inxi and Google Chrome
  • Includes the RTL8723BS and Broadcom wifi/bt firmware
  • Includes the ALSA UCM files
  • Configured with Cinnamon 3.4 desktop
  • Has a persistence partition of 200MB
  • Uses the rEFInd boot manager (with GRUB for 32-bit BIOS devices)

so it works on Intel Atom Bay Trail/Cherry Trail and Intel Apollo Lake devices. And now for the first time I've see wifi working on the Minix NEO Z83-4:


If you want to respin the ISO yourself you will need to resolve the issue that the Cinnamon repository is only currently available up to 'zesty'. The steps I took were as follows:
  1. Fetch the Ubuntu 17.04 ISO
  2. Respin the Ubuntu 17.04 ISO with Cinnamon
  3. Extract the file system from the ISO
  4. Capture all the packages that were installed in the ISO
  5. Identify which packages in the Cinnamon repository were actually installed in the ISO
  6. Download those installed Cinnamon packages
  7. Fetch the Artful ISO
  8. Derive the package dependencies required by the Cinnamon packages in Artful
  9. Prepare a configuration file to boot a Cinnamon session
  10. Download the Google Chrome package

Using the following commands:

wget http://releases.ubuntu.com/17.04/ubuntu-17.04-desktop-amd64.iso
isorespin.sh -i ubuntu-17.04-desktop-amd64.iso -r "ppa:embrosyn/cinnamon" -p cinnamon -p blueberry
mv linuxium-ubuntu-17.04-desktop-amd64.iso cinnamon-linuxium-ubuntu-17.04-desktop-amd64.iso
mv isorespin.log cinnamon-17.04-isorespin.log
sudo mount cinnamon-linuxium-ubuntu-17.04-desktop-amd64.iso /mnt
sudo unsquashfs /mnt/casper/filesystem.squashfs
sudo umount /mnt
mv squashfs-root cinnamon-17.04-squashfs-root
sudo chroot cinnamon-17.04-squashfs-root dpkg -l > all-packages-in-cinnamon-17.04.txt
for PACKAGE in $(grep Package  cinnamon-17.04-squashfs-root/var/lib/apt/lists/ppa.launchpad.net_embrosyn_cinnamon_ubuntu_dists_zesty_main_binary-amd64_Packages | sed 's/^Package: //'); do echo "'ii  ${PACKAGE}'"; grep "ii  ${PACKAGE}" all-packages-in-cinnamon-17.04.txt; done  | grep -v "'" | sed 's/^ii  //' | sed 's/ .*//' | sed 's/:amd64$//' > cinnamon-packages-in-cinnamon-17.04.txt
isorespin.sh -i ubuntu-17.04-desktop-amd64.iso -r "ppa:embrosyn/cinnamon" -d "$(cat cinnamon-packages-in-cinnamon-17.04.txt)" -o /usr/src
rm linuxium-ubuntu-17.04-desktop-amd64.iso
rm isorespin.log
sudo rm -rf isorespin/usr/src/linux-headers-4.10.0-19/ isorespin/usr/src/linux-headers-4.10.0-19-generic/
mv isorespin cinnamon-packages-isorespin
wget http://cdimage.ubuntu.com/daily-live/current/artful-desktop-amd64.iso -O artful-desktop-amd64.iso
isorespin.sh -i artful-desktop-amd64.iso -f cinnamon-packages-isorespin/usr/src -c "mv /usr/local/bin/src/*.deb /var/cache/apt/archives" -c "rm -rf /usr/local/bin/src" -c "apt-get install -y /var/cache/apt/archives/*.deb" -c "rm -f /var/cache/apt/archives/*.deb"
rm -f linuxium-artful-desktop-amd64.iso
mv isorespin.log cinnamon-package-dependencies-for-artful-isorespin.log
sed -z 's/or\n/or /g' cinnamon-package-dependencies-for-artful-isorespin.log | tr -s ' ' | grep 'Depends: ' | sed 's/.*Depends: //' | sed 's/ but it is not installable//g' | sed 's/(.*)//' | sed 's/.*or \([^ ]*\) or.*/\1/' | xargs > cinnamon-package-dependencies-for-artful.txt
sed 's/ubuntu/cinnamon/' cinnamon-17.04-squashfs-root/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf > 50-ubuntu.conf 
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 

As I had already copied the other required local package and script files into the directory I then respun the Artful ISO using the command above creating the following (abridged for readability) log file:

Script '/usr/local/bin/isorespin.sh' called with '-i artful-desktop-amd64.iso -u -p wmctrl bluez-tools gnome-icon-theme-symbolic gir1.2-keybinder-3.0 gir1.2-javascriptcoregtk-3.0 gksu python-imaging python-gi-cairo python-pexpect st
reamer gnome-panel gnome-icon-theme gnome-icon-theme-symbolic inxi gist -p ssh openssh-server inxi -l google-chrome-stable_current_amd64.deb -l rtl8723bt_4.12.0_amd64.deb -f cinnamon-packages-isorespin/usr/src -f 50-ubuntu.conf -f l
inuxium-install-UCM-files.sh -f wrapper-linuxium-install-UCM-files.sh -f linuxium-install-broadcom-drivers.sh -f wrapper-linuxium-install-broadcom-drivers.sh -c mv /usr/local/bin/src/*.deb /var/cache/apt/archives -c rm -rf /usr/loca
l/bin/src -c apt-get install -y /var/cache/apt/archives/*.deb -c rm -f /var/cache/apt/archives/*.deb -c mv /usr/local/bin/50-ubuntu.conf /usr/share/lightdm/lightdm.conf.d -c wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-
install-broadcom-drivers.sh -c sed -i 's?/usr/share/themes/Adwaita/backgrounds/adwaita-timed.xml?/usr/share/backgrounds/warty-final-ubuntu.png?' /usr/share/glib-2.0/schemas/org.cinnamon.desktop.background.gschema.xml -c glib-compile
-schemas /usr/share/glib-2.0/schemas -s 200MB' ...
Work directory 'isorespin' used ...
ISO '/usr/src/development/linuxium/isorespin/test/v7.1.0/artful-desktop-amd64.iso' respun ...
Bootmanager 'rEFInd' added ...
Kernel updated with mainline kernel version '4.12.0-041200rc6-generic' ...
Package 'wmctrl' added ...
...
Package 'gist' added ...
Package 'ssh openssh-server inxi' added ...
Local package '/usr/src/development/linuxium/isorespin/test/v7.1.0/google-chrome-stable_current_amd64.deb' added ...
Local package '/usr/src/development/linuxium/isorespin/test/v7.1.0/rtl8723bt_4.12.0_amd64.deb' added ...
Directory '/usr/src/development/linuxium/isorespin/test/v7.1.0/cinnamon-packages-isorespin/usr/src' added ...
File '/usr/src/development/linuxium/isorespin/test/v7.1.0/50-ubuntu.conf' added ...
File '/usr/src/development/linuxium/isorespin/test/v7.1.0/linuxium-install-UCM-files.sh' added ...
File '/usr/src/development/linuxium/isorespin/test/v7.1.0/wrapper-linuxium-install-UCM-files.sh' added ...
File '/usr/src/development/linuxium/isorespin/test/v7.1.0/linuxium-install-broadcom-drivers.sh' added ...
File '/usr/src/development/linuxium/isorespin/test/v7.1.0/wrapper-linuxium-install-broadcom-drivers.sh' added ...
Command run ...
# mv /usr/local/bin/src/*.deb /var/cache/apt/archives
# rm -rf /usr/local/bin/src
# apt-get install -y /var/cache/apt/archives/*.deb
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  build-essential dpkg-dev fakeroot g++ g++-6 gcc gcc-6 gir1.2-gkbd-3.0
...
  python-pam python-pyinotify python-setproctitle python3-setproctitle
Suggested packages:
  cinnamon-screensaver-x-plugin cinnamon-screensaver-webkit-plugin
...
  python-pam-dbg python-pyinotify-doc
Recommended packages:
  cinnamon-bluetooth
The following NEW packages will be installed:
  blueberry build-essential cinnamon cinnamon-common cinnamon-control-center
...
  python-pyinotify python-setproctitle python3-setproctitle xapps-common
0 upgraded, 75 newly installed, 0 to remove and 38 not upgraded.
Need to get 26.9 MB/44.4 MB of archives.
After this operation, 180 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu artful/main amd64 python-setproctitle amd64 1.1.10-1build1 [14.5 kB]
...
Get:42 http://archive.ubuntu.com/ubuntu artful/main amd64 policykit-1-gnome amd64 0.105-6ubuntu2 [24.0 kB]
Extracting templates from packages: 100%
Fetched 26.9 MB in 23s (1127 kB/s)
Selecting previously unselected package python-setproctitle:amd64.
(Reading database ... 204306 files and directories currently installed.)
Preparing to unpack .../00-python-setproctitle_1.1.10-1build1_amd64.deb ...
Unpacking python-setproctitle:amd64 (1.1.10-1build1) ...
...
Preparing to unpack .../74-policykit-1-gnome_0.105-6ubuntu2_amd64.deb ...
Unpacking policykit-1-gnome (0.105-6ubuntu2) ...
Setting up libquadmath0:amd64 (7.1.0-6ubuntu2) ...
...
Processing triggers for dbus (1.10.10-1ubuntu2) ...
# rm -f /var/cache/apt/archives/*.deb
# mv /usr/local/bin/50-ubuntu.conf /usr/share/lightdm/lightdm.conf.d
# wrapper-linuxium-install-UCM-files.sh
./linuxium-install-UCM-files.sh: Extracting UCM files ...
./linuxium-install-UCM-files.sh: Installing UCM files ...
./linuxium-install-UCM-files.sh: Reloading UCM driver ...
./linuxium-install-UCM-files.sh: Installation of UCM finished 
# wrapper-linuxium-install-broadcom-drivers.sh
./linuxium-install-broadcom-drivers.sh: Extracting Broadcom files ...
./linuxium-install-broadcom-drivers.sh: Installing Broadcom files ...
./linuxium-install-broadcom-drivers.sh: Reloading Broadcom driver ...
./linuxium-install-broadcom-drivers.sh: Installing Broadcom bluetooth service ...
./linuxium-install-broadcom-drivers.sh: Starting Broadcom bluetooth service ...
Running in chroot, ignoring request.
./linuxium-install-broadcom-drivers.sh: Installation of Broadcom finished 
# sed -i 's?/usr/share/themes/Adwaita/backgrounds/adwaita-timed.xml?/usr/share/backgrounds/warty-final-ubuntu.png?' /usr/share/glib-2.0/schemas/org.cinnamon.desktop.background.gschema.xml
# glib-compile-schemas /usr/share/glib-2.0/schemas
Persistence partition of '200MB' added ...
Respun ISO created as 'linuxium-persistence-v4.12-rc6-artful-desktop-amd64.iso'.

As you can see I used my 'isorespin.sh' script four times in total adding repos, installing packages, adding and running scripts, adding files and directories, downloading packages, running commands, outputting directories and of course respinning the ISO.

Please donate if you find the script useful using the following link http://goo.gl/nXWSGf as everything helps with development costs.

48 comments:

  1. Did you already see this patch:
    https://webcache.googleusercontent.com/search?q=cache:bDFTTE3c5eUJ:https://lkml.org/lkml/2017/6/12/504+&cd=1&hl=de&ct=clnk&gl=de&client=ubuntu
    This could fix a bug I find in the dmesg currently.
    [RTL8723BS: ERROR sd_recv_rxfifo: alloc recvbuf FAIL!]

    I am currently using your last respin:
    linuxium-v4.12-rc4-ubuntu-17.04-desktop-amd64.iso on a Lenovo Ideapad 100S-11iby and it works pretty well. I am running it off of an SD-card, so I can keep Windows in case I need the Microsoft Office Suite. One bug I have though, is that since I think kernel version 4.12 my battery LED is blinking white while the Laptop is running and the battery indication seems to be wrong (37% all the time). It also keeps blinking, when the laptop is off, but then the color turns to orange. Do you have any idea, as to what this might be related to? Can you help me troubleshoot this?
    Thanks for all the work you put into this project!

    ReplyDelete
    Replies
    1. I saw the original post and I'm hoping that Tomas posts a patch as it reads like he is working on one.

      I can't test the battery indicator as I don't have an Intel Atom based laptop or device but I can't find any bug reported on it. Have you tried reporting it on bugzilla?

      Delete
    2. Thanks for your reply, no I have not, but I have just verified, that it changes from kernel 4.11 to 4.12, as I installed 4.11.6 and don't see the "problem". No blinking and also the battery gets reported correctly. Maybe I'll just give your latest respin a go and see if it has already been fixed, before I report the bug. One thing I haven't figured out yet, is where I can find all the files required for respinning, but maybe I ll just have to search a bit. I currently need the laptop to be productive in linux at the university, so my time to fiddle around is rather limited. But if I find a fix to my problems, I ll certainly post them here and let you know. Maybe you can integrate them in future builds then.
      Edit:
      Forget what I just said. I found the files along with your great tutorial! I really appreciate it. I once made a similar tutorial on xda and know how much time you have to put into it! Once I am done with university, you ll certainly be among the first persons to get a financial thanks ;)

      Delete
  2. Thanks ever so much for this! Much appreciated! Going to try it right now

    ReplyDelete
  3. Can you send normal iso not dd one?

    ReplyDelete
    Replies
    1. I don't understand what you mean. Can you rephrase your question?

      Delete
    2. ISO is brouken. Not working on Virtual box and no possible to open it showing mestake.

      Delete
    3. ISO works! And working in VirtualBox!

      First create a raw 'vmdk' file from the ISO using the command 'VBoxManage internalcommands createrawvmdk -rawdisk linuxium-persistence-v4.12-rc6-artful-desktop-amd64.iso -filename linuxium-persistence-v4.12-rc6-artful-desktop-amd64.vmdk'. Next create your VM and for 'Hard disk' use your existing virtual hard disk file (i.e. the newly created linuxium-persistence-v4.12-rc6-artful-desktop-amd64.vmdk) and then under 'Settings' and 'System' check the 'Enable EFI (special OSes only)' box and then 'OK'. Finally boot by clicking 'Start'.

      Delete
    4. DD iso not allow edit files inside USB, but i need edit grub.cfg to add set timeout=10
      set default=0

      Delete
    5. As it is a 'live' ISO I haven't included the ability to modify the ISO 'grub.cfg' other than to add Kernel Boot Parameters using the '-g' option which I will extend to including in '/etc/default/grub' in the next release (v7.1.2).

      Delete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. Comments with advertising links are not allowed.

      Delete
  5. I installed v4.12-rc6 on my tablet teclast x90hd (Intel Bay Trail z3735d, 2GB Ram). The system runs slightly slower than the windows 10. Touch screen, wifi, sound work well. Brightness adjustment of the screen, bluetooth, card reader, accelerometer and screen rotation do not work. Sometimes after exiting the standby mode when idle, the devices connected via usb otg do not work (reconnect do not help) and sound stopped working (device not found), after reboot - all ok.

    ReplyDelete
    Replies
    1. как сделал тач и звук? остальное нельзя завести?

      Delete
    2. Тач и звук завелся сразу без проблем

      Delete
  6. I haven't tried this varient out but I love the look of the Cinnamon desktop environment and I have used quite a few of your modified Ubuntu distros and I love how they get better over time. I will try this one when I'm on wifi.

    ReplyDelete
  7. hm, writing the iso to usb with unetbootin and i only end up with 5 files not a whole install session, did i do something wrong?

    ReplyDelete
    Replies
    1. I using recommend 'dd' (or 'Rufus' if on Windows).

      Delete
  8. Good day! Thx for your work!
    I have ezbook 3 and in bios there no options to boot linux but when i boot with rEFInd installation end success but abter reboot system do tot boot and stuck on bootloader ( Grub ) maybe you can make ISO that have rEFInd on installed system?

    ReplyDelete
    Replies
    1. The rEFInd boot manager isn't included within an official Ubuntu ISO and so you have to manually install it as a post-installation activity.

      Delete
  9. Works great on Pipo X7 (tv box) - Z3735F with 2GB of ram. WiFi and sound work. Did not check BT (I'm sure it does too). However, playing YouTube at 720p makes video choppy. I have installed proprietary drivers in repository, whatever was available, but that did not solve the problem. Could this be due to running this from a USB stick? Also, ram usage was 1.3GB in idle (1.6GB during YouTube payback at 720p - Chrome) which is shocking as:
    1) I have only 1.9xxGB of physical memory
    2) Win10 32bit takes only 0.9GB in idle (1.2GB during YouTube payback at 720p - Edge).

    For me, the main idea going Linux is to drop the extra weight and squeeze every bit of performance out of these Atom boxes.

    Since I'm am a Linux noob, and respinning to me is bit like voodoo, would it be possible for you to do your respinning magic but with Lubuntu 16.04 LTS?

    Just a suggestion. Thanks in advance.

    ReplyDelete
    Replies
    1. The speed of the USB might impact performance but certainly using Lubuntu with Firefox works well.

      Respinning an ISO is quite easy and for the Pipo X7 you'll only need as a minimum my RTL8723BS package, the UCM script and to upgrade the kernel so the command would be './isorespin.sh -i lubuntu-17.04-desktop-amd64.iso -u -l rtl8723bs_4.12.0_amd64.deb -f linuxium-install-UCM-files.sh -f wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-install-UCM-files.sh' and you would just need to download the files and the ISO first.

      Delete
    2. Thanks for the info. I will go back to one of your tutorials and re-read it, but my last attempt ended in an epic fail (I couldn't even get your spinner script to work). Yes, I am a point-and-click user and command lines are just not for me. "sudo apt-get update" is the limit of my knowledge :). Yes, I use Windows on a daily basis.

      Going back to re-spinning ISOs. Since we are slipping in latest kernel and drivers, it doesn't matter which version I use, correct? For example (L)UBUNTU 16.04LTS vs (L)UBUNTU 17.10. My only reason going LTS are the updates. I don't want to be re-spinning new ISO's every 12 months. Also, since I am hopeless with the Terminal, is there a way to visually slip in these drivers into the appropriate folders in the ISO? For example, doing this in WIN 10, you would mount the Linux ISO, then open the appropriate folders and just copy/paste the needed drivers?

      Delete
    3. You can use either 16.04 or 17.10 although 16.04.2 may be better for you from your explanation.

      If you just type 'isorespin.sh' it will open the script with a GUI which may be easier for you.

      Finally what device do you have and what do you want to get from the respun ISO as I can suggest the best command for you to run if that helps?

      Delete
  10. I have a Pipo X7 (Z3736F - mistake above), which is a Chinese box with supposedly genuine Intel guts.

    http://www.techradar.com/reviews/pc-mac/pc-mac-desktops/pipo-x7-1282773/review

    It is hooked up via HDMI to my semi-smart TV (HDMI works in your respin as well) and is the main "brain" for multimedia. I use it primarily to watch Netflix and Youtube and listen to online radio. Win10 works great on this box but I am tired of MS forcing updates on you, some of which change the feel of the OS, and in general want something different. Something simple (like Android), robust and easy on the sys. hardware. I am also hoping that the switch will provide me with smooth Netflix playback in Chrome. Right now (in Win 10) I use Edge as it is the only browser not choking. Firefox, Chrome, Opera, all start studdering during Netflix playback after about 10-15 mins - which is a mystery on its own. And yes, I have done everything under the sun to remedy the problem and came to the conclusion that either Win8/10 32bit torpedoes the operation of the competing browsers, or the Z3736F platform isn't powerful enough (but yet HD playback is smooth using VLC or Edge), or the guts are not genuine Intel. Anyhow, going off topic here.

    So this is my project, making a Linux (Lubuntu?) smart TV box to remedy my video "studdering" problem. I have Ubuntu on two other older laptops and have been using Ubuntu on/off in my spare time for the past 2 years or so. The Windows realm I know inside and out, but Linux is a new beast that I would like to master.

    ReplyDelete
    Replies
    1. So to respin an ISO for the Pipo X7 based on what you describe you'll need to download 'isorespin.sh', 'rtl8723bs_4.12.0_amd64.deb', 'linuxium-install-UCM-files.sh' and 'wrapper-linuxium-install-UCM-files.sh' from 'http://linuxiumcomau.blogspot.com.au/2017/06/customizing-ubuntu-isos-documentation.html' and the 'lubuntu-16.04.2-desktop-amd64.iso' ISO from 'http://cdimage.ubuntu.com/lubuntu/releases/16.04.2/release/lubuntu-16.04.2-desktop-amd64.iso' and then run the command './isorespin.sh -i lubuntu-16.04.2-desktop-amd64.iso -u -l rtl8723bs_4.12.0_amd64.deb -f linuxium-install-UCM-files.sh -f wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-install-UCM-files.sh'. Write the respun ISO to a USB using 'dd' and then boot your Pipo X7 from it.

      Delete
  11. Fantastic, I'll give it a go on the weekend and will report back. BTW, can I just copy/paste your commands without the ' '? Also, should I leave my downloads in the "downloads" folder or can I keep them on my desktop (Ubuntu)? Originally your isorespin.sh file was on my desktop and pasting isorespin.sh into the terminal didn't do anything.

    ReplyDelete
    Replies
    1. If you leave the downloads in you 'Downloads' directory but change directory to there before trying to run the script (i.e. first enter 'cd ~/Downloads') you can just copy/paste the commands (without the '').

      Delete
    2. I have tried and no-go. Per your suggestion, I had all the files, including the Lubuntu ISO, in my Downloads folder. I have navigated to 'cd ~/Downloads' and copy/pasted your commands without the ''.

      1st error
      bash: ./isorespin.sh: Permission denied

      So I run it with sudo before the ./xxxxxx. Punched in my sudo password and I got...

      2nd error
      sudo: ./isorespin.sh: command not found

      Since I am hopeless with the Terminal, how do I get your GUI working?

      Delete
    3. It seems the permissions changed on the script after you downloaded it. Open a terminal windows and enter:
      cd ~/Downloads
      sudo chmod 755 isorespin.sh
      ./isorespin.sh -i lubuntu-16.04.2-desktop-amd64.iso -u -l rtl8723bs_4.12.0_amd64.deb -f linuxium-install-UCM-files.sh -f wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-install-UCM-files.sh

      Delete
    4. error:
      Please ensure package 'xorriso' or equivalent for your distro is installed.

      But I think we might be getting closer.

      BTW, I also installed Lubuntu on my laptop just to see if this exercise makes even sense:
      Intel® Pentium(R) Dual CPU T3200 @ 2.00GHz × 2
      RAM 2.9 GB
      Mobile Intel® GM45 Express Chipset

      ... and I found out that:
      1. Lubuntu after loading in idle takes half the RAM memory than Ubuntu. 4xxMB vs 8xxMB
      2 Netflix playback in Chrome takes 1-1.1GB of RAM in Lubuntu, vs 1.4-1.5GM of RAM in Ubuntu
      3. Lubuntu loads, and shuts down way quicker. Chrome loads faster and things are snappy. Yes, the GUI is not as polished as Ubuntu and it is not loaded with the Ubuntu "gizmos", but it is not bad looking.

      Still interested in loading Lubuntu on the Atom box, but if not, I will use one of your patched Ubuntu distros which I have already downloaded.

      Delete
    5. The error is as as expected if required packages are missing. So now run the following commands to install everything (just in case some others are missing):

      sudo apt-get update
      sudo apt-get install -y bc losetup ip isoinfo mkdosfs mksquashfs rsync unsquashfs unzip wget xargs xorriso

      and then you should be able to run the script now with:

      cd ~/Downloads
      ./isorespin.sh -i lubuntu-16.04.2-desktop-amd64.iso -u -l rtl8723bs_4.12.0_amd64.deb -f linuxium-install-UCM-files.sh -f wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-install-UCM-files.sh

      Delete
    6. "sudo apt-get install -y bc losetup ip isoinfo mkdosfs mksquashfs rsync unsquashfs unzip wget xargs xorriso"

      ..did not work but...

      "sudo apt-get install xorriso"

      ..did. Then I ran your script above...

      "cd ~/Downloads
      ./isorespin.sh -i lubuntu-16.04.2-desktop-amd64.iso -u -l rtl8723bs_4.12.0_amd64.deb -f linuxium-install-UCM-files.sh -f wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-install-UCM-files.sh"

      ..and in my Downloads folder now I have...
      "linuxium-v4.12-rc7-lubuntu-16.04.2-desktop-amd64.iso"

      I will see if it works and post back my results. Thanks for your help and patience!

      Delete
    7. Yes I should have suggested the packages and not the commands themselves making the installation command 'sudo apt install -y bc klibc-utils iproute2 genisoimage dosfstools squashfs-tools rsync unzip wget findutils xorriso' but it didn't matter as my script correctly checks for them and normally you only need to additionally install 'xorriso' and/or 'squashfs-tools' if respinning on Ubuntu.

      So did your respun ISO work?

      Delete
    8. Yes, the ISO worked! In the same way I have also made an Ubuntu 16.04LTS ISO. Both of them worked - WIFI, sound, HDMI all works in both spins (did not test BT).

      Installed both. Overall I like the feel and look of Ubuntu as I am used to it, but it is so resource heavy. 1080p video in Youtube still studders which really puzzles me. I partially think this is due to the WIFI drivers, because the same video played tad better via USB WIFI... and partially because the onboard video card is just weak. Pretty much the same hardware powers my Asus T100TA netbook and I have no video problems there. Saying this, Asus runs on 1368x768 resolution (not 1920x1080).


      Lubuntu in video playback is better but still studders on the same Youtube 1080p video via the same USB WIFI stick. However, with system taxed, RAM usage stayed under 1GB vs 1.5GB in Ubuntu. I had to decrease desktop resolution to 1368x768 in order to remedy the problem. Videophones will probably frown on this but I can't tell the difference in picture quality.

      So this is it for anyone who has the same Pipo X7 using it for a similar purpose. Ubuntu will run with the scripts and files found on this website, and you can probably respin any Ubuntu flavour.

      Thanks for your help!

      Delete
    9. Great and good to know everything works now using my script.

      Delete
  12. i really love this build, but run into a problem. i use it as a live-stick, but after some updates it boots into the artful-desktop and not into the cinnamon-desktop. when i try to login in the wished desktop i am forced for a user and a password. could you please help?

    ReplyDelete
    Replies
    1. Right now Cinnamon 3.4 isn't officially supported for Ubuntu 17.10 so you may experience anomalies. Have you tried selecting the Cinnamon desktop by clicking on the small logo icon to the right of your username on the login screen?

      Delete
  13. thank you for relpying. yes i tried all the logos but i didn't get access. never mind, i installed it new ....

    ReplyDelete
  14. I'm owner of a EzBook 3 Pro und i try install this ISO on it. At first i install the rEFInd boot manager usin Windows.
    The boot process stuck always with the message:
    Starting grubx64.efi
    Using load options ''
    I have no idea how it should go on.

    ReplyDelete
    Replies
    1. Try a later ISO like the one from https://linuxiumcomau.blogspot.com.au/2017/07/sixth-look-at-ubuntu-1710-julyshakedown.html.

      Delete
  15. hi linuxium

    thanks heaps for your informative blog! I was just about to give up on my cube iwork 5x ever running linux before I tried one of your ISO's. It works great and all the hardware is supported (besides some weird issue where the touchpad works but not the builtin buttons - though you can click with it).

    I have a question though, how would I replicate this with manjaro linux (as that is the OS which i was trying to install initially) - there does not seem to be much information out there about how to replace grub on a livecd?

    I only need it for an apollo lake pc (from your post it seems to be the simpler of the two to make the iso for ubuntu).

    any assistance would be greatly appreciated, and i would not mind dropping you a donation to express my gratitude ;)

    ReplyDelete
    Replies
    1. Manjaro is based on Arch and I've only looked at Ubuntu/Ubuntu based ISOs so I can't really comment.

      Delete
    2. do any of your posts detail what exactly the apollo lakes require though? my machine doesnt seem to need any special drivers (wireless etc) but i know your script changes some of the boot parameters to aid booting.

      i have refind installed as my windows bootloader so thats one problem solved (finds and boots linux as well)

      Delete
    3. Apollo Lake is so new and as I've only got one device it is very difficult to generalize what might be necessary. So far I've found that if the BIOS does not explicitly support Linux and booting an official ISO does not work then booting using the rEFInd boot manager is possible. Therefore at this stage I just add the rEFInd boot manager by default for Apollo Lake support and will extend as necessary as more is learnt about devices with the Apollo Lake SOC.

      Delete
    4. ah so the only change which is made to the iso by using the -apollo flag is to replace grub with the refind boot manager?

      Delete
    5. Currently yes. And whilst not exactly complicated it makes it easier to respin ISOs for specific SOCs without having to remember what is actually required.

      Delete