Comments (6)
Just poked around with things a bit; seems you may need to edit ISO/boot/grub/grub.cfg
, ISO/boot/grub/loopback.cfg
and ISO/isolinux/txt.cfg
to change the initrd=/casper/initrd
line to initrd=/casper/initrd.lz
-- Just had this happen on an EFI boot while I was testing myself.
from customizer.
Actually, it's due to the SPECTRE mitigations, a copy of the intel and AMD microcode is prepended to the initramfs, which (as far as I know) is already compressed. So I guess at this point, an uncompressed initramfs is broken due to the existence of a compressed header? You can look at some of the other issues for the unmkinitramfs 'solutions' that also work around this issue.
from customizer.
I'm having the same issue too.
I downloaded xubuntu 18.04.1 (or 18.04.2) from http://cdimages.ubuntu.com/xubuntu/releases/18.04/release/
Installed it in a VirtualBox VM using EFI. I then installed customizer according to the instructions in the wiki and used the following customizer.conf:
[DEFAULT]
work_dir = /home/customizer
locales = C
resolution = 800x600
compression = gzip
vram = 256
iso = /home/will/build/vendor/xubuntu-18.04.1.iso
deb =
hook = /home/will/build/setup-live-distro.sh
kernel = default
purge_kernel = True
[preferences]
work_dir = /home/customizer
locales = en_GB.UTF-8
resolution = 1024x768
compression = gzip
vram = 256
[saved]
iso = /home/will//vendor/xubuntu-18.04.1.iso
deb =
hook = /home/will/build/setup-live-distro.sh
kernel = default
purge_kernel = True
and then created an iso like so:
# customizer -e
# customizer -c
apt-get update
# customizer -r
Then I copied the generated ISO from the VM to my host, and tried booting from the ISO.
When booting, this message pops up just before the plymouth boot screen appears
After plymouth times out, the machine is left in a busybox terminal
from customizer.
Huh. Do me a favor and grab minilubuntu from here:
https://github.com/kamilion/kamikazi-core/releases/tag/0.9.0-rc7
I just built that against 18.04.2 about 17 days ago (from the time of this posting)
I have verified it works in Secure Boot against an Asus F505ZA-DH51 (which includes canonical's signing key in the MOK list already.)
If it works and your ISO doesn't... something may have changed on canonical's side in the last two weeks, and I can look into it further.
All of the customizer hooks and surrounding buildscripts are in that repo as well.
Perhaps there may be some differences with how the xubuntu ISO layout is?
I know ubuntu-server has problems in Customizer due to ISO layout being unexpected.
You might try what I do,
kernel = linux-signed-generic-hwe-18.04-edge
purge_kernel = False
under [saved] in customizer.conf as seen here:
https://github.com/kamilion/kamikazi-core/blob/master/buildscripts/bionic/customizer-mini.conf#L22
As far as I can tell, you're already using a linux-signed-generic image, which should work, but 18.04.2 defaults to the hardware enablement kernel, so having purge_kernel = True
may be your problem.
I switched to -edge
to get 5.0 for better ryzen support. YMMV.
from customizer.
Hi @kamilion,
Thanks for getting back to me so quickly.
So I tried both suggestions on xubuntu-18.04.1.iso
.
- Setting
purge_kernel = False
to no avail. sed -i s:/casper/initrd:/casper/initrd.lz:g ISO/
on the files you mentioned, and success! 🎉
Thanks for you help it's much appreciated.
So what's the story with initrd
vs. initrd.lz
? Is this some change in Ubuntu's naming of init RAM disks?
from customizer.
Thanks for the explanation, makes sense. I'll have a look at the unmkinitramfs
threads in more detail as well.
from customizer.
Related Issues (20)
- Deprecated dependency: python3.6 on Ubuntu 19.04 HOT 1
- Rebild failed "No space left" HOT 1
- error buiding ISO - initrd.img... not in gzip format\ncpio HOT 3
- on 19.04 actual release do not install HOT 2
- Exponential mount points when rebuilding ISO HOT 3
- Latest version built fails with "unmkinitramfs" mission HOT 4
- Bytes conversion issue HOT 1
- QEMU boot bug [python 3] HOT 2
- Booting EFI from ISO written to USB HOT 4
- Does Custom Live CD == Custom Install Media? HOT 5
- The customizer does not seem to support the Ubuntu server HOT 6
- "No space left on device" despite plenty left HOT 2
- No such file or directory: '/home/customizer/FileSystem/boot/initrd.img.old' HOT 7
- xorriso : FAILURE : Given path does not exist on disk: -boot_image system_area='/usr/lib/ISOLINUX/isohdpfx.bin' HOT 1
- ModuleNotFoundError: No module named 'PyQt4' on Ubuntu 20.04 HOT 1
- Unexpected error: 'NoneType' object has no attribute 'group' HOT 1
- ModuleNotFoundError: No module named 'lib.message' HOT 3
- How to install
- Rebuilding a classic 20.04 Ubuntu HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customizer.