Update: This work is superseded by my 'isorespin.sh' script which can respin an official ISO suitable for use on Intel Atom devices.
linuxium-persistence-v4.12-rc6-artful-desktop-amd64.iso
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:
- Fetch the Ubuntu 17.04 ISO
- Respin the Ubuntu 17.04 ISO with Cinnamon
- Extract the file system from the ISO
- Capture all the packages that were installed in the ISO
- Identify which packages in the Cinnamon repository were actually installed in the ISO
- Download those installed Cinnamon packages
- Fetch the Artful ISO
- Derive the package dependencies required by the Cinnamon packages in Artful
- Prepare a configuration file to boot a Cinnamon session
- 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
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.
54 comments:
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!
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?
Thanks ever so much for this! Much appreciated! Going to try it right now
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 ;)
Can you send normal iso not dd one?
I don't understand what you mean. Can you rephrase your question?
Comments with advertising links are not allowed.
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.
ISO is brouken. Not working on Virtual box and no possible to open it showing mestake.
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'.
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.
DD iso not allow edit files inside USB, but i need edit grub.cfg to add set timeout=10
set default=0
как сделал тач и звук? остальное нельзя завести?
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?
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).
I using recommend 'dd' (or 'Rufus' if on Windows).
got it, thanks so much !
Тач и звук завелся сразу без проблем
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?
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.
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.
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?
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.
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?
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 '').
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?
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
thank you for relpying. yes i tried all the logos but i didn't get access. never mind, i installed it new ....
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
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?
Great and good to know everything works now using my script.
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.
Try a later ISO like the one from https://linuxiumcomau.blogspot.com.au/2017/07/sixth-look-at-ubuntu-1710-julyshakedown.html.
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 ;)
Manjaro is based on Arch and I've only looked at Ubuntu/Ubuntu based ISOs so I can't really comment.
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)
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.
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?
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.
hello,
When i execute
spript '/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 -fl
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 '
script: invalid option - i
What is the problem?
Thanks.
It is probably miss-interpreting the 'sed' command as you have to be very careful with quotes and double quotes. The solution I recommend is to write and include 'wrapper' scripts to prevent issues with quotes and glob patterns.
hello, linuxium, i copy your code to the terminal, but when i run, he will prompt
'script: invalid option - i', do you have a simpler way? What is script?
What command did you enter?
Hello, I follow the steps above to get ISO, but he can not recognize wifi and bluetooth.
What device?
Wifi requires kernel v4.12 or v4.13.2 and later or v4.14-rc1. Bluetooth requires a patch that is still waiting for review so if required means compiling your own kernel.
I obtain the following error:
Cannot add PPA: 'ppa:~embrosyn/ubuntu/cinnamon'.
ERROR: '~embrosyn' user or team does not exist.
Hey lifedj, shouldn't this be 'sudo add-apt-repository ppa:embrosyn/cinnamon' instead?
The problem after the execution of the second command:
isorespin.sh -i ubuntu-17.04-desktop-amd64.iso -r "ppa:embrosyn/cinnamon" -p cinnamon -p blueberry
The complete log is the following:
created 112482 files
created 16964 directories
created 27397 symlinks
created 7 devices
created 0 fifos
Extracting isorespin files ...
Processing bootloader/bootmanager ...
Adding repositories ...
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
WARNING:root:system-image-cli failed, using defaults: [Errno 13] Permission denied: '/dev/null'
Cannot add PPA: 'ppa:~embrosyn/ubuntu/cinnamon'.
ERROR: '~embrosyn' user or team does not exist.
./isorespin.sh: Adding repository 'ppa:embrosyn/cinnamon' failed.
Comment notification failed recently so I have a backlog of comments to read and reply to hence the delay with this response.
The 'ubuntu-17.04-desktop-amd64.iso' ISO is EOL. Use the '17.10.1' one as this works as the repo is valid for the release.
Hi,
I would like to respin Ubuntu 16/18 image on Ubuntu 16. I got:
ubuntu-18.04.1-desktop-amd64.iso --atom
Extracting ISO ...
Parallel unsquashfs: Using 4 processors
140111 inodes (157326 blocks) to write
[===========================================================================================================-] 157326/157326 100%
created 112666 files
created 16997 directories
created 27412 symlinks
created 7 devices
created 0 fifos
Extracting isorespin files ...
Processing bootloader/bootmanager ...
cp: failed to preserve ownership for 'mnt/efi/boot/bootx64.efi': Operation not permitted
cp: failed to preserve ownership for 'mnt/efi/boot/grubx64.efi': Operation not permitted
cp: failed to preserve ownership for 'mnt/efi/boot': Operation not permitted
cp: failed to preserve ownership for 'mnt/efi': Operation not permitted
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.
I have installed gdebi, but it does not helps. I am using latest 8.2.6
I have read https://linuxiumcomau.blogspot.com/2017/06/customizing-ubuntu-isos-documentation.html
I have just recognised it will work only with Ubuntu 17..
The current (latest) version of the isorespin.sh script works on Ubuntu 16.04 LTS.
Post a Comment
All comments now moderated so that spam can be deleted.