Comments (22)
Yeah I mean if you're trying to do loopback mounts you basically need an initrd. For our world that effectively means using dracut
and dmsquash-live
from clr-bundles.
There is a live image already:
https://download.clearlinux.org/image/clear-13010-live.img.xz
We do not provide ISO images since we do not support iso9660 bootable CD's. These images are raw disk images and require UEFI to boot.
from clr-bundles.
Thanks @sofar, can you give an example how to configure a GRUB 2 bootloader to boot this file?
from clr-bundles.
@probonopd Sorry this dropped off what I was thinking about completely, we don't really use grub2 directly for the project but the image is intended to be bootable via the bios but it shouldn't be a problem to chain load similar to how you would any other UEFI image.
from clr-bundles.
Thanks @bryteise it'd be awesome if you could give an example of how to do this using GRUB2. GRUB2 can loop-mount filesystem images and start the kernel from there, but the system that is being booted also needs to understand how to loop-mount an image in order to continue booting. Most systems (e.g., Ubuntu) have a command line option that is understood by the initrd for this purpose. How would that work with Clearlinux?
For example, the following works because Ubuntu understands iso-scan/filename=${iso_path}
:
menuentry "ubuntu-gnome-17.04-beta2-desktop-amd64.iso - casper 1.380" --class ubuntu {
iso_path="/boot/iso/ubuntu-gnome-17.04-beta2-desktop-amd64.iso"
search --no-floppy --file ${iso_path} --set
live_args="for-casper --> iso-scan/filename=${iso_path} console-setup/layoutcode=de locale= timezone=Europe/Berlin username=me hostname=host noprompt init=/isodevice/boot/customize/init max_loop=256"
loopback loop ${iso_path}
linux (loop)/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-gnome.seed boot=casper iso-scan/filename=${iso_path} quiet splash --- ${live_args}
initrd (loop)/casper/initrd.lz /boot/iso/additional-initramfs/initramfs
}
from clr-bundles.
@probonopd oh that is interesting, I have not really used grub2 myself so I didn't even know that was a feature. Perhaps @ikeydoherty would have some insight from his experiences.
from clr-bundles.
if you're trying to do loopback mounts you basically need an initrd. For our world that effectively means using dracut and dmsquash-live
Yes, how would we do that?
from clr-bundles.
@probonopd Looking at this again. While we have added dracut to the distro and it is something you could create yourself, I don't image that there will be an image created by us that would provide this functionality any time soon. I'll throw this over to @alexjch and see if he is interested in making such an initrd and liveiso style image.
from clr-bundles.
It'd certainly help tremendously to have a downloadable Live ISO, especially for quickly evaluating your distribution on real hardware. Plus it is so commonplace for distributions to have Live ISOs that it can almost be expected these days. Who wants to install a full system just to do a quick evaluation?
Thanks for your consideration @bryteise and @alexjch.
from clr-bundles.
We have live images, already. This does not require an ISO. The live image hosted on https://download.clearlinux.org/image/ do not require installation. But they do require UEFI.
from clr-bundles.
Excellent @sofar, so making an ISO shouldn't be so much extra work, right? It would allow the images to be integrated into systems like SystemImageKit that can boot a multitude of Live ISOs for almost all distributions which can be extremely handy for testing...
from clr-bundles.
so making an ISO shouldn't be so much extra work, right?
this is a misconception. It's also outside scope and there are no resources to do this work. "maybe later".
from clr-bundles.
Sorry for missing this thread. I've been working on and off in the creation of an ISO for our internal use (no grub, no dracut).
I have an ISO working, but I have not tested it with real hardware only VM's the ISO will be available for tomorrow's build (12/22/2017) under current/clear-<release #>-installer.iso.xz
. This is still WIP that's the reason this file is not under image
directory where the official images can be found.
There's already a clear-<release #>-installer.iso.xz
don't use that image. I'm almost certain that it will not work for real hardware (only VM's)
from clr-bundles.
Hello @alexjch thanks for pointing me to installer.iso.xz
. However I am looking for a Live ISO that can run without the need for installation. Like an Ubuntu Live ISO.
from clr-bundles.
@probonopd: the changes that I mentioned on my previous post were done to eventually have multiple images to boot into not only an installer. Maybe in the future we will have a Live image ,but for now (as mentioned by @sofar) this is outside scope.
from clr-bundles.
We're making installer ISO images, but live ISO images are not going to be made. Please use KVM in UEFI mode to run live images instead, or use the ISO installer to create a non-UEFI install instead in your VM if you really can't find a VM hypervisor that supports UEFI.
from clr-bundles.
Well, the point is that I don't want to use a VM but bare metal...
from clr-bundles.
You can just alt-f2 on the installer image to get a shell....
from clr-bundles.
besides that, what kind of bare metal doesn't support UEFI and runs clearlinux (which requires sse4_1)?
from clr-bundles.
Well, I was hoping for the equivalent of a Ubuntu Live ISO that just runs about everywhere.
from clr-bundles.
At this point, all I can do is point to https://github.com/bryteise/ister, with the polite request to send patches. We don't have the bandwidth to make more images, as each image we produce requires constant QA time, twice daily. This is simply just out of our time budget.
from clr-bundles.
Thanks @sofar. Wasn't aware of ister, will check it out.
from clr-bundles.
Related Issues (20)
- Snap support? HOT 1
- Broken bundle HOT 1
- Linux-native virtio_net segfault HOT 1
- Epson printer not detected
- request: ODBC and SQL Dremio
- Why does installing firewalld install mesa? HOT 7
- request: Stremio HOT 1
- Make searches for "libfuse" return the suggestion of devpkg-compat-fuse-soname2, or add it to the fuse bundle HOT 1
- How to update pkg in clearlinux docker image HOT 2
- pkg-request: wlroots HOT 9
- Boxes: Virtualization extensions are unavailable ...
- Bundle for liburing? HOT 3
- add libvips HOT 1
- Solaar not working
- [Bundle request] Input Remapper
- Support for MariaDB version 11
- qt-creator bundle does'nt work (empty) HOT 2
- DevPackage for the BoringSSL library
- Fwupd (1.9.10) failes to refresh and get metadata with a segmantation fault (Clear Linux 40480)
- xz-utils compromised >= 5.6.0 HOT 5
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 clr-bundles.