Giter Site home page Giter Site logo

Comments (22)

ikeydoherty avatar ikeydoherty commented on July 30, 2024 2

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.

sofar avatar sofar commented on July 30, 2024

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.

probonopd avatar probonopd commented on July 30, 2024

Thanks @sofar, can you give an example how to configure a GRUB 2 bootloader to boot this file?

from clr-bundles.

bryteise avatar bryteise commented on July 30, 2024

@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.

probonopd avatar probonopd commented on July 30, 2024

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.

bryteise avatar bryteise commented on July 30, 2024

@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.

probonopd avatar probonopd commented on July 30, 2024

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.

bryteise avatar bryteise commented on July 30, 2024

@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.

probonopd avatar probonopd commented on July 30, 2024

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.

sofar avatar sofar commented on July 30, 2024

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.

probonopd avatar probonopd commented on July 30, 2024

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.

sofar avatar sofar commented on July 30, 2024

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.

alexjch avatar alexjch commented on July 30, 2024

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.

probonopd avatar probonopd commented on July 30, 2024

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.

alexjch avatar alexjch commented on July 30, 2024

@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.

ahkok avatar ahkok commented on July 30, 2024

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.

probonopd avatar probonopd commented on July 30, 2024

Well, the point is that I don't want to use a VM but bare metal...

from clr-bundles.

sofar avatar sofar commented on July 30, 2024

You can just alt-f2 on the installer image to get a shell....

from clr-bundles.

sofar avatar sofar commented on July 30, 2024

besides that, what kind of bare metal doesn't support UEFI and runs clearlinux (which requires sse4_1)?

from clr-bundles.

probonopd avatar probonopd commented on July 30, 2024

Well, I was hoping for the equivalent of a Ubuntu Live ISO that just runs about everywhere.

from clr-bundles.

sofar avatar sofar commented on July 30, 2024

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.

probonopd avatar probonopd commented on July 30, 2024

Thanks @sofar. Wasn't aware of ister, will check it out.

from clr-bundles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.