One question: are you trying to use the ISO contents simply as an installer, or are you thinking of using the ISO contents like an installed system?
I assume you meant the latter, but in case you didn’t, just wanted to add this:
If you mean the first, then: ISO can be copied to a partition of another drive simply as an ISO file and use that to install EndeavourOS to the machine. You just need to add a simple grub entry to boot directly from the ISO file.
This.
I’m sorry that the title of the topic is not clear enough. I should be changing it.
I’m thinking about the possibility of extracting the content of the ISO into a subvolume on a BTRFS partition, putting the files where they should be, making the necessary changes to render the system bootable/functional. Something along the lines of what @flyingcakes have done above with the only difference of the BTRFS instead of EXT4.
I got to think of this, mainly inspired by @dalto’s multiboot system on only one BTRFS partition, installing each OS into its own subvolumes.
This is very interesting as well. Having an option like this will eliminate the need for using a flashdrive for booting into the live environment in case there is a need for repair or other maintenance. Or installing the system as well. If you wouldn’t mind pointing out how I could go about to do this, I would truly appreciate.
Here is the grub menu entry. You can write it into /boot/grub/custom.cfg, then it won’t be overwritten by any grub update.
The entry below assumes the ISO file exists under folder /ISO in the drive where you copy it. Line set isofile=... can be changed if you want to use another folder.
Additional note: the menu entry assumes Intel CPU. If you have an AMD CPU, change the microcode name on the initrd line.
First off, thank you so much for your input @manuel! Greatly appreciated!
I am sorry for the embarrassing typo
Of course I meant, IF …
That’s awesome! Thank you!
Perhaps I should adapt it to the naming of my BTRFS subvolumes? In my case they begin with @ (which is completely irrelevant for the naming of the subvolumes, something @dalto actually pointed out in another thread).
probe -u $root --set=uuid
Also, do i need to set the proper UUID for the partition where the subvolume containing the ISO resides?
No problem, that was easy to guess even for a non-native English guy…
I make typos as well, they are astonishingly hard to avoid! But that’s just life.
I’m not really using btrfs (only ext4) and haven’t tested this ISO entry with it, so probably @dalto can help you with the correct syntax.
The menu entry above should do it automatically. But as I said, never tested this on btfŕfs, so the syntax may have some differences.
I will have to take it in all by bits and pieces and then see if I am able to make it. I have another thread open which is not totally unrelated to this one. I am eagerly following both.