Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? 31 May 2024, 21:08:29 The wiki article about full disk encryption says this:QuoteWhile booting from your live media, choose From CD/DVD/ISO option regardless of if you are using a CD/DVD or USB. Those who dared to use the forbidden From Stick/HDD option, experienced problems with polkit and other issues, examples of which can be found: here , here , here , etc.But looking at the boot entries of both options it seems that they are identical? (except for the name, of course)Also, I don't see how the examples correlate to choosing "From Stick/HDD", since there's no mention of it in the threads themselves.So, I have two questions:1. What's the difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options?2. Why is the Stick one so bad?I've tried searching the forum / wiki / Internet for this, but I couldn't find any related information. (except for this Reddit post, but it's not very helpful)If I've overlooked something obvious, please let me know and point me to the relevant documentation.
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #1 – 01 June 2024, 07:08:32 none, assuming the UEFI settings are set to boot from the device
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #2 – 02 June 2024, 16:45:13 Quote from: mrbrklyn – on 01 June 2024, 07:08:32none, assuming the UEFI settings are set to boot from the deviceWell, then what's the reason for having both, especially if the "From Stick" option can break installs? (or so the wiki says)I've tried testing on BIOS too, and there doesn't seem to be any difference either. Also, it doesn't look like any other distributions do this (e.g. Debian, Arch, Devuan, Gentoo and Void just have a boot entry with the distro's name)Sorry, I hope this post doesn't come off as rude, I'm not suggesting that the devs should drop everything and change the boot options immediately, just trying to understand how stuff works here
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #3 – 06 June 2024, 09:36:17 After unpacking the ISO, the only mention of this that I could find is in /boot/grub/kernels.cfg:Spoiler (click to show/hide)Code: [Select]if cpuid -l; then havekernel="Y" title="" for kopt in x86_64 $kopts label=ARTIX_202308 overlay=livefs; do if [ -n "$title" ] ; then title="$title $kopt"; else title="$kopt"; fi; done menuentry "From CD/DVD/ISO: artix.x86_64 " --class=artix.x86_64 "$title " {# set arguments above with the editor linux /boot/vmlinuz-$2 initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-x86_64.img } menuentry "From Stick/HDD: artix.x86_64 " --class=artix.x86_64 "$title " {# set arguments above with the editor linux /boot/vmlinuz-$2 initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-x86_64.img }fiif [ "${havekernel}" != "Y" ]; then menuentry --class=find.none "NO SUITABLE KERNELS AVAILABLE" {echo $@ echo "There are no kernels suitable for this machine available." echo "" if ! cpuid -l; then echo "This machine is NOT 64bit capable." for kk in /boot/vmlinu*x86_64; do if [ "$kk" != "/boot/vmlinu*x86_64" ]; then have32="true" fi done if [ "${have32}" != "true" ]; then echo "There are no 32bit kernels available" echo "It appears you are trying to boot a 64bit release on a 32bit machine" echo "This cannot work!" fi fi echo "Press Escape to return to the main menu" sleep --interruptible 9999 menu_reload }fiThat's the whole file, and they both load the same stuff? I'm really scratching my head here
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #4 – 06 June 2024, 13:38:29 Quote from: MaxLPM – on 02 June 2024, 16:45:13Well, then what's the reason for having both, especially if the "From Stick" option can break installs? (or so the wiki says)I think the reason for both is there are occasions, I think more with older hardware, where only one would work to boot the iso.I take with a pinch of salt there is any difference to the resulting installed system. I've never had any issues I'm aware of as far as I know using either method and was unaware until now there was a warning about one of the methods. But I'm basing that only on experience and intuition. I could be wrong. I suppose you could install both ways to separate partitions and then mount them both and do a recursive diff to see if there are any actual differences. 1 Likes
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #5 – 28 July 2024, 12:12:40 QuoteI suppose you could install both ways to separate partitions and then mount them both and do a recursive diff to see if there are any actual differences.Yep, everything's the same except for stuff that's supposed to change (e.g. /etc/shadow, /etc/fstab)I've tried asking about this in the IRC channel and there are some guesses, though it seems that nobody except for the people that developed the ISO initially (which haven't responded yet) can confirm the actual answerThe closest solution is that it's historical baggage, because looking at a repository from 4 years ago, the difference is in the permissions (rw and ro). But I can't find any mention of this in the ISO, nor can I find the current repositoryPS: sorry, kind of necrobumping, but I really think that this situation should be documented 1 Likes
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #6 – 28 July 2024, 13:59:33 As @gripped said, it's for very old hardware which can't properly boot anything other than ISO.
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #7 – 28 July 2024, 19:14:05 Well, I guess this can be marked as solved now. Though I'm still interested in the technical standpoint (how exactly is this helping old hardware? Is there an up-to-date repo with the code?) Last Edit: 28 July 2024, 19:30:05 by MaxLPM 1 Likes
Re: Difference between the "From CD/DVD/ISO" and "From Stick/HDD" boot options? Reply #8 – 08 August 2024, 04:55:43 Quote from: nous – on 28 July 2024, 13:59:33As @gripped said, it's for very old hardware which can't properly boot anything other than ISO.that would be very very old.I once had an NYLXS installfest where one fellow INSISTED he was going to install Yggdrasil on a 286. We kept telling him if can't be done since the kernel was minimum x386 but he wouldn't listen... until his power supply caught fire and killed his machine but good. This was about 2001. I'm just glad he didn't burn down our club house. 1 Likes