Work on your script-foo and make it work for either.
Here, I'll get you started:
if [[ -f initrd.lz
Here, I'll get you started:
if [[ -f initrd.lz
[FONT=monospace][COLOR=#54FF54][B]stuart@office[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#54FFFF][B]/subvol/@grub[/B][/COLOR][COLOR=#000000]$ isoinfo -l -i focal-desktop-amd64.iso |grep -i initrd[/COLOR] ---------- 0 0 0 86500898 Apr 13 2020 [ 878291 00] [COLOR=#FF5454][B]INITRD[/B][/COLOR][COLOR=#000000].;1 [/COLOR] [COLOR=#54FF54][B]stuart@office[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#54FFFF][B]/subvol/@grub[/B][/COLOR][COLOR=#000000]$ isoinfo -l -i neon-useredition-amd64.iso |grep -i initrd [/COLOR] ---------- 0 0 0 41101734 Apr 9 2020 [ 732392 00] [COLOR=#FF5454][B]INITRD[/B][/COLOR][COLOR=#000000].LZ;1 [/COLOR] [/FONT]
[FONT=monospace][COLOR=#54FF54][B]stuart@office[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#54FFFF][B]~[/B][/COLOR][COLOR=#000000]$ [/COLOR][/FONT]df --output=source testrun | sed 1d /dev/nvme0n1p3 [FONT=monospace] [/FONT]
$ mkdir ~/lub $ fuseiso /t/iso/lubuntu/focal-desktop-amd64.iso lub $ ls ~/lub/casper filesystem.manifest filesystem.squashfs vmlinuz filesystem.manifest-remove filesystem.squashfs.gpg filesystem.size initrd $ fusermount -u ~/lub
Comment