How a Windows user makes quick Porteus test USB's.

Non release banter
gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

How a Windows user makes quick Porteus test USB's.

Post#16 by gnintilgyes » 30 Nov 2022, 10:18

TL;DR

I have had (not the complete list):

Code: Select all

[s]ALT Linux Sisyphus MATE unstable[/s]
[s]Clonezilla[/s] (didn't work, refused to recognize one of my disks)
[s]Devuan Chimaera[/s]
EasyOS
EndeavourOS XFCE
Fatdog64 (this can't even boot with UEFI, I think now EasyOS is better)
Fedora 35 GNOME, 36 and 37 MATE, 36 XFCE
Knoppix
Manjaro KDE (external) and MATE (internal)
NeptuneOS
Porteus v5.0 MATE (main/ext4) and Cinnamon (savefile)
Salix v15 (the Live ISO is out now)
Slackware v15.0 32-bit (chiefly for Wine)
[s]Solus MATE[/s]
Spiral Linux (a short time ago raised Linux kernel to v6.0.0)
[s]Ubuntu MATE, Studio "Jammy Jellyfish"[/s]
[s]Void Linux[/s] "musl" qualified failure, "glibc" but EndeavourOS is just *so* much better!
LOL cross-out doesn't work inside "code" blocks. :unknown:

A few others: Arch (tried once but royally messed it up, but will try again soon), Garuda (refused to boot), Gnuinos (incomplete, cannot do wifi), Mint (didn't like it and felt cheap, failed Wine test if I'm not mistaken), Mageia v8 (struggled with that "dragon-gora" program LOL and other issues), OpenSuSE (resolve to avoid this one and I won't discuss why), Siduction (please don't ask, this was a total mistake), Slackel (author was very nice helping me with this but I cannot disable touchpad tap), Solus KDE (refused to boot), Static Linux (minimalist Russian distro has good concept but I had to go online only to install gcc), Ubuntu Budgie and Unity (I thought Ubuntu with KDE or Fedora 35 was bad), Zenwalk (did "kernel panic" for different reason from my first few times trying to put Slackware instead).

In addition, I tried to install Slackware six times! On the penultimate try it was 64-bit XFCE but no "networkmanager" so no wifi, it sucked and I resented almost the same look as Void Linux. So I have something that starts very slowly on my computer because it's 32-bit and crashes sometimes but I shouldn't complain.

Finally I checked out Porteus in OpenBox mode. I was reminded of it while using Slackel. I would have put up with it if it were a bit more configurable. Cannot set the screen brightness except with terminal besides the touchpad problem. I hurried to replace it with MATE but feel bad now for it.

User avatar
Karmi
Samurai
Samurai
Posts: 162
Joined: 03 Apr 2022, 19:46
Distribution: Linux
Location: Old Town, Florida USA

How a Windows user makes quick Porteus test USB's.

Post#17 by Karmi » 30 Nov 2022, 11:42

Ed_P wrote:
30 Nov 2022, 08:10
Karmi wrote:
29 Nov 2022, 17:49
I have 39 Linux iso's right now.
I don't think I have 39 isos.
Again...how many of those can you "boot the ISOs directly" from?

User avatar
Karmi
Samurai
Samurai
Posts: 162
Joined: 03 Apr 2022, 19:46
Distribution: Linux
Location: Old Town, Florida USA

How a Windows user makes quick Porteus test USB's.

Post#18 by Karmi » 30 Nov 2022, 12:07

gnintilgyes wrote:
30 Nov 2022, 10:18
TL;DR

A few others: Arch (tried once but royally messed it up, but will try again soon), Garuda (refused to boot), Gnuinos (incomplete, cannot do wifi), Mint (didn't like it and felt cheap, failed Wine test if I'm not mistaken), Mageia v8 (struggled with that "dragon-gora" program LOL and other issues), OpenSuSE (resolve to avoid this one and I won't discuss why), Siduction (please don't ask, this was a total mistake), Slackel (author was very nice helping me with this but I cannot disable touchpad tap), Solus KDE (refused to boot), Static Linux (minimalist Russian distro has good concept but I had to go online only to install gcc), Ubuntu Budgie and Unity (I thought Ubuntu with KDE or Fedora 35 was bad), Zenwalk (did "kernel panic" for different reason from my first few times trying to put Slackware instead).

In addition, I tried to install Slackware six times! On the penultimate try it was 64-bit XFCE but no "networkmanager" so no wifi, it sucked and I resented almost the same look as Void Linux. So I have something that starts very slowly on my computer because it's 32-bit and crashes sometimes but I shouldn't complain.

Finally I checked out Porteus in OpenBox mode. I was reminded of it while using Slackel. I would have put up with it if it were a bit more configurable. Cannot set the screen brightness except with terminal besides the touchpad problem. I hurried to replace it with MATE but feel bad now for it.
Yeah, I've stopped testing those CentOS 8 replacements because of their size & since finding Porteus...tho I might do a new test of AlmaLinux soon. Most RHEL bases OSes give user the root login option...Fedora GNOME doesn't but the Cinnamon SPIN does, and the modified version of Fedora, Nobara is also a smooth OS, IMHO. Bit big @ almost 5GBs, but its loaded stuff for gamers ( which I am not none). Never cared for Knoppix.

Mainly use Cinnamon or KDE as DEs now, tho I like Gnome when it is presented right & works wid Dash to Panel.

I use Ventoy, etcher, Rufus & Fedora Media Writer...depending on the Distro. Still, since Porteus 5 came out I have been using those less & doing less testing of other OSes...

User avatar
Karmi
Samurai
Samurai
Posts: 162
Joined: 03 Apr 2022, 19:46
Distribution: Linux
Location: Old Town, Florida USA

How a Windows user makes quick Porteus test USB's.

Post#19 by Karmi » 30 Nov 2022, 13:09

gnintilgyes wrote:
30 Nov 2022, 10:18
A few others: Arch (tried once but royally messed it up, but will try again soon)
Forgot to mention...yeah, Arch can be tricky, tho I picked it up pretty quickly. Gentoo is the one I can't get the GUI installed on!?!

Last time I installed Arch I tried their "Arch Linux Guided Installer" - it's part of the official vanilla Arch Linux iso now, but read up on it before trying. It is now my favorite way to install Arch...

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How a Windows user makes quick Porteus test USB's.

Post#20 by Ed_P » 30 Nov 2022, 16:09

Karmi wrote:
30 Nov 2022, 11:42
Again...how many of those can you "boot the ISOs directly" from?
Here's one of my ISO boot menus.

Code: Select all

#set gfxpayload=1280x1024,1024x768,auto
#     menu_color_normal=white/blue
#     menu_color_highlight=blue/light-gray

# Possible ISO boot parms: boot=/, from=all, from=$iso, fromiso=$iso, findiso=$iso, iso-scan/filename=$iso, bootfrom=/dev/sda6$iso

set timeout=30
set default=0

search -f /ISOs/linuxmint-19.2-cinnamon-64bit.iso --set=root  # Choose any iso file to set the root.

menuentry " Clear Linux* OS"   --class other --class icon-gnugrub  {

     set iso='/Users/Ed/Downloads/clear-32510-live-desktop.iso'
#      https://github.com/clearlinux/distribution/issues/1072 
#      https://github.com/clearlinux/clr-installer/issues/669 
     set bootparms='options from=all, from=$iso, fromiso=$iso, findiso=$iso, iso-scan/filename=$iso, bootfrom=/dev/sda6$iso boot=/   \
                    CLR_INSTALLER_ISO_TEMPLATE_DIR=(loop)   \
                    quiet console=tty0 Xconsole=ttyS0,115200n8 cryptomgr.notests init=/usr/bin/initra-desktop \
                    initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 \
                    rcu_nocbs=0-64 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,iso9660 tsc=reliable rw  rootwait ' 
     
     set bootdrv=$root
     search -f $iso --set=root 
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/kernel/kernel.xz $bootparms
        initrd (loop)/EFI/BOOT/initrd.gz 
#        chainloader (${root})/EFI/org.clearlinux/bootloaderx64.efi
#        chainloader (loop)/EFI/org.clearlinux/bootloaderx64.efi
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found. root=$root bootdrv=$bootdrv
        echo $iso
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }  

if [ -e /ISOs/gparted-live-0.30.0-1-i686.iso ]; then
     menuentry " GParted Live - ISO" --class debian   --class icon-debian  {

     echo "Boot disk address is: "$root
     echo "Prefix is:            "$prefix
     echo "The boot mode is:     "$grub2win_bootmode

     set iso=/ISOs/gparted-live-0.30.0-1-i686.iso
     search -f $iso --set=root

     echo "ISO root is:          "$root
     echo "ISO is:               "$iso
     echo " "
     loopback loop $iso
     sleep -v -i 8
     linux (loop)/live/vmlinuz findiso=$iso boot=live union=overlay username=user config components quiet noswap ip= net.ifnames=0 nosplash locales=en_US.UTF-8 keyboard-layouts=us gl_batch
     initrd (loop)/live/initrd.img
     echo "Booting GParted"
     }
fi

if [ -e /ISOs/gparted-live-1.3.0-1-i686.iso ]; then
     menuentry " GParted Live new - ISO" --class debian   --class icon-debian  {

     set iso=/ISOs/gparted-live-1.3.0-1-i686.iso
     search -f $iso --set=root

     loopback loop $iso
     linux (loop)/live/vmlinuz findiso=$iso boot=live union=overlay username=user config components quiet noswap ip= net.ifnames=0 nosplash locales=en_US.UTF-8 keyboard-layouts=us gl_batch
     initrd (loop)/live/initrd.img
     }
fi

if [ -e /ISOs/linuxmint-19.2-cinnamon-64bit.iso ]; then
     menuentry " Linux Mint 19.2 Cinnamon ISO"  --class debian --class icon-linux {

     set iso='/ISOs/linuxmint-19.2-cinnamon-64bit.iso'
     set bootparms='set image /6.4/amd64/bsd.rd'

     loopback loop $iso
     linux  (loop)/casper/vmlinuz  file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso} quiet splash --
     initrd (loop)/casper/initrd.lz
     }
fi

if [ -e /ISOs/install64.iso ]; then
     menuentry " OpenBSD ISO"  --class debian --class icon-linux {

     set iso='/ISOs/install64.iso'
     set bootparms='set image /6.4/amd64/bsd.rd '

     loopback loop $iso
#     linux (loop)/boot/generic livemedia=/dev/sda6/$iso $bootparms
#     initrd (loop)/6.4/amd64/bsd.rd
     linux (loop)/kopenbsd /6.4/amd64/bsd.rd  #Boot-NoEmul.img $bootparms
     }
fi

menuentry " GrubFM x64 EFI Boot Manager of A1ive" --class other --class icon-gnugrub  {

     set grubfm=/EFI/a1ive/grubfmx64.efi

     search -f $grubfm --set=root
     chainloader $grubfm
     }

menuentry " Slackware Linux Live XFCE ISO"  --class debian --class icon-linux {

     set iso='/ISOs/slackware64-live-xfce-current.iso'
     set bootparms='load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us '

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/boot/generic livemedia=/dev/sda6:/$iso $bootparms
     initrd (loop)/boot/initrd.img
     }

if [ -e /ISOs/slackware64-live-cinnamon-current.iso ]; then
     menuentry " Slackware Linux Live Cinnamon ISO" --class slackware   --class icon-linux  {
     
     set iso=/ISOs/slackware64-live-cinnamon-current.iso
     set bootparms='load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us '

     loopback loop $iso
     linux (loop)/boot/generic livemedia=/dev/sda6:/$iso $bootparms
     initrd (loop)/boot/initrd.img
     }
fi

menuentry " antiX ISO"  --class debian --class icon-debian {

     set iso='/ISOs/antiX-16.1_x64-full.iso'
     set bootparms='from=all quiet '
#     set bootparms='from=all quiet menus nomodeset'
#     set bootparms='bdev=sdc2 pdev=sdc2 persist quiet'
#    https://forum.mxlinux.org/viewtopic.php?f=104&t=41663&start=30#p408234
#     set bootparms='from=all disable=lx persist_all pdev=sda6 plab=AntiX-Persist tz=Europe/Bucharest nomodeset toram'
#    https://sourceforge.net/p/grub2win/discussion/general/thread/02c08d36/?limit=25#d0fa

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/antiX/vmlinuz fromiso=$iso $bootparms
     initrd (loop)/antiX/initrd.gz
     }

menuentry ' Parrot-lite via isoboot'  --class isoboot   --class icon-isoboot {
#
set reviewpause=20

     clear
     set gfxpayload=1024x768                             # Needed for many graphics cards
     set iso=/ISOs/Parrot-lite-3.6_amd64.iso
     set kernelpath='/live/vmlinuz'                      # Example '/vmlinuz'
     set initrdpath='/live/initrd.img'                   # Example '/initrd.img'
     set bootparms='findiso='$iso' boot=live hostname=parrot locales=en_US.UTF-8 keyboard-layouts=en quiet splash'  # Example ' noprompt noeject ---'
     g2wisoboot short                                    # Run the g2wisoboot function - no extra blank lines
    }

menuentry "...more..." {
     root ()
     }
 
menuentry " Ubuntu ISO 21.04"  --class ubuntu --class icon-ubuntu {

     set iso='/ISOs/ubuntu-mate-21.04-desktop-amd64.iso'
     set bootparms='boot=casper iso-scan/filename='$iso' splash -- '

#    To save changes add "persistance" to the boot parms and create a file 
#      named casper-rw with an ext3 file system. 
#      https://www.pendrivelinux.com/how-to-create-a-larger-casper-rw-loop-file/ 

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/casper/vmlinuz $bootparms
     initrd (loop)/casper/initrd
     }

menuentry " Ubuntu ISO 18.04"  --class ubuntu --class icon-ubuntu {

     set iso='/ISOs/ubuntu-18.04.1-desktop-amd64.iso'
     set bootparms='boot=casper iso-scan/filename='$iso' splash -- '

#    To save changes add "persistance" to the boot parms and create a file 
#      named casper-rw with an ext3 file system. 
#      https://www.pendrivelinux.com/how-to-create-a-larger-casper-rw-loop-file/ 

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/casper/vmlinuz $bootparms
     initrd (loop)/casper/initrd.lz
     }

menuentry " R-Drive Image ISO"  --class other --class icon-linux  {

     clear
     set isopath="/ISOs/R-DriveImage_6.1.6107_OEMKit.iso"
     set bootparms="rw acpi_osi=Linux acpi_backlight=vendor lang=en"
     
     set bootdrv=$root
     set kernelpath="/kernel32"
     getbootpartition file $isopath
     loopback loop ($root)$isopath
     test -f (loop)$kernelpath
     if [ $? = 0 ] ; then 
       echo "Linux will boot from" ($root)$isopath
       echo
       echo "*  Choose the LEFT button!  *"
       echo 
       echo "Once booted click the DE's bottom left button, then click the middle button, and choose English."
       echo
       echo "Press Enter to continue"; read
       linux  (loop)$kernelpath $bootparms
       initrd (loop)/lrfsbase.bin (loop)/rm_scsi.b32 (loop)/rm_pata.b32 (loop)/rm_usb.b32 (loop)/rm_pcard.b32 (loop)/rm_video.b32 (loop)/rm_other.b32 (loop)/rootgui (loop)/rmconfig.bin
       echo 'GNU Grub Is Now booting R-Drive Image'
     else
       echo
       echo '*** The kernel file $kernelpath was not found in the loopback filesystem ***'
     fi
     set root=$bootdrv
     }

menuentry " RunTime DriveImage ISO"   --class other --class icon-gnugrub  {

     set lang="en" 
     set iso="/ISOs/runtimelivecd.iso"
     set bootparms="iso-scan/filename=$iso lang=$lang apm=power-off nomce hpsa.hpsa_allow_any=1 loglevel=2 bootfrom=/dev/sda6$iso" 
#        bootfrom can be simply a generic /dev/sdxy$iso but boots faster with sda6.
     
     set bootdrv=$root
     search -f $iso --set=root
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/boot/isolinux/linux $bootparms
        initrd (loop)/boot/isolinux/minirt.gz
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }
     
menuentry " Parted Magic ISO"   --class other --class icon-gnugrub  {

     set lang="en" 
     set iso="/ISOs/Parted_Magic_2019_09_03.iso"
     set bootparms="iso_filename=$iso root=/dev/sda6$iso directory=boot boot=live edd=on vga=normal" 
#        bootfrom can be simply a generic /dev/sdxy$iso but boots faster with sda6.
     
     set bootdrv=$root
     search -f $iso --set=root
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/pmagic/bzImage64 $bootparms
        initrd (loop)/pmagic/initrd.img (loop)/pmagic/fu.img (loop)/pmagic/m64.img 
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }     

menuentry " Ignis Porteus ISO" --class slackware   --class icon-xtra-07  {

#     set linux_folder=/porteus5.x
     set iso=/ISOs/Ignis_Linux-Porteus-v5.0rc2-12092020-x86_64.iso  
#     set boot_parms="delay=8 changes=EXIT:$linux_folder/porteussave.dat volume=33 reboot=cold"

#     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso # $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

     if [ -e /ISOs/OV.Porteus-OPENBOX-v5.0rc1-zstd-x86_64.iso ]; then
     menuentry " OV.Porteus OPENBOX 5.0rc1 - AF" --class slackware   --class icon-porteus  {
     
     set iso=/ISOs/OV.Porteus-OPENBOX-v5.0rc1-zstd-x86_64.iso
     set boot_parms="volume=33 reboot=cold "

     loopback loop $iso
     linux (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
#     linux        /porteus3.2/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }
fi

menuentry " Porteus LXQT 3.1 ISO - AF" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-LXQT-v3.1-x86_64-nu-r.iso
     set boot_parms="volume=33 reboot=cold "

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
#     linux        $linux_folder/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " Porteus Cinnamon 3.2.2 ISO - changes=" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-CINNAMON-v3.2.2-x86_64.iso
     set boot_parms="volume=33 reboot=cold changes=EXIT:$linux_folder/changes/porteussave.dat extramod=$linux_folder/Modules"
#     set boot_parms="nomodeset verbose delay=8 volume=33 reboot=cold changes=EXIT:$linux_folder/changes/porteussave.dat extramod=$linux_folder/Modules"
     set gfxpayload=1024x768

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
#     linux (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
     linux        $linux_folder/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " Porteus Cinnamon 3.2.2 ISO - AF+" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-CINNAMON-v3.2.2-x86_64.iso
     set boot_parms="volume=33 reboot=cold extramod=$linux_folder/Modules;$linux_folder/Modsavedat noload=save.dat"

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux        $linux_folder/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }
 
 menuentry "...more..." {
     root ()
     }
     
menuentry " Porteus Nemesis ISO" --class slackware   --class icon-xtra-07  {

#     set linux_folder=/porteus3.x
#     set iso=/ISOs/porteus-nemesis-v3.5-lxde-x86_64.iso
#     set boot_parms="delay=8 changes=EXIT:$linux_folder/porteussave.dat volume=33 reboot=cold"
     set linux_folder=/porteus5.0
     set iso=/ISOs/Nemesis-v22.08-CINNAMON-x86_64.iso
     set boot_parms="delay=8 changes=EXIT:$linux_folder/porteussave.dat volume=33 reboot=cold"     

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " APorteus ISO" --class slackware   --class icon-xtra-07  {

#     set iso=/ISOs/APorteus-CINNAMON-v19.05.06-x86_64.iso
#     set iso=/ISOs/APorteus-MULT_ja-v19.10.20-x86_64.iso
     set iso=/ISOs/APorteus-v21.11.08-x86_64.iso

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso 
     initrd (loop)/boot/syslinux/initrd.zstd
     }

menuentry " Porteus Cinnamon 3.2.1 ISO - AF+" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-CINNAMON-v3.2.1-x86_64.iso
     set boot_parms="volume=33 reboot=cold extramod=$linux_folder/Modules;$linux_folder/Modsavedat noload=save.dat"

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " Knoppix ISO"   --class other --class icon-gnugrub  {

     set lang="en" 
     set iso="/ISOs/KNOPPIX_V9.1CD-2021-01-25-EN.iso"
     set bootparms="iso-scan/filename=$iso lang=$lang apm=power-off nomce hpsa.hpsa_allow_any=1 loglevel=2 bootfrom=/dev/sda6$iso" 
#        bootfrom can be simply a generic /dev/sdxy$iso but boots faster for me with sda6.
     
     set bootdrv=$root
     search -f $iso --set=root
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/boot/isolinux/linux $bootparms
        initrd (loop)/boot/isolinux/minirt.gz
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }
Ed

User avatar
Karmi
Samurai
Samurai
Posts: 162
Joined: 03 Apr 2022, 19:46
Distribution: Linux
Location: Old Town, Florida USA

How a Windows user makes quick Porteus test USB's.

Post#21 by Karmi » 30 Nov 2022, 17:41

Ed_P wrote:
30 Nov 2022, 16:09
Karmi wrote:
30 Nov 2022, 11:42
Again...how many of those can you "boot the ISOs directly" from?
Here's one of my ISO boot menus.

Code: Select all

#set gfxpayload=1280x1024,1024x768,auto
#     menu_color_normal=white/blue
#     menu_color_highlight=blue/light-gray

# Possible ISO boot parms: boot=/, from=all, from=$iso, fromiso=$iso, findiso=$iso, iso-scan/filename=$iso, bootfrom=/dev/sda6$iso

set timeout=30
set default=0

search -f /ISOs/linuxmint-19.2-cinnamon-64bit.iso --set=root  # Choose any iso file to set the root.

menuentry " Clear Linux* OS"   --class other --class icon-gnugrub  {

     set iso='/Users/Ed/Downloads/clear-32510-live-desktop.iso'
#      https://github.com/clearlinux/distribution/issues/1072 
#      https://github.com/clearlinux/clr-installer/issues/669 
     set bootparms='options from=all, from=$iso, fromiso=$iso, findiso=$iso, iso-scan/filename=$iso, bootfrom=/dev/sda6$iso boot=/   \
                    CLR_INSTALLER_ISO_TEMPLATE_DIR=(loop)   \
                    quiet console=tty0 Xconsole=ttyS0,115200n8 cryptomgr.notests init=/usr/bin/initra-desktop \
                    initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 \
                    rcu_nocbs=0-64 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,iso9660 tsc=reliable rw  rootwait ' 
     
     set bootdrv=$root
     search -f $iso --set=root 
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/kernel/kernel.xz $bootparms
        initrd (loop)/EFI/BOOT/initrd.gz 
#        chainloader (${root})/EFI/org.clearlinux/bootloaderx64.efi
#        chainloader (loop)/EFI/org.clearlinux/bootloaderx64.efi
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found. root=$root bootdrv=$bootdrv
        echo $iso
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }  

if [ -e /ISOs/gparted-live-0.30.0-1-i686.iso ]; then
     menuentry " GParted Live - ISO" --class debian   --class icon-debian  {

     echo "Boot disk address is: "$root
     echo "Prefix is:            "$prefix
     echo "The boot mode is:     "$grub2win_bootmode

     set iso=/ISOs/gparted-live-0.30.0-1-i686.iso
     search -f $iso --set=root

     echo "ISO root is:          "$root
     echo "ISO is:               "$iso
     echo " "
     loopback loop $iso
     sleep -v -i 8
     linux (loop)/live/vmlinuz findiso=$iso boot=live union=overlay username=user config components quiet noswap ip= net.ifnames=0 nosplash locales=en_US.UTF-8 keyboard-layouts=us gl_batch
     initrd (loop)/live/initrd.img
     echo "Booting GParted"
     }
fi

if [ -e /ISOs/gparted-live-1.3.0-1-i686.iso ]; then
     menuentry " GParted Live new - ISO" --class debian   --class icon-debian  {

     set iso=/ISOs/gparted-live-1.3.0-1-i686.iso
     search -f $iso --set=root

     loopback loop $iso
     linux (loop)/live/vmlinuz findiso=$iso boot=live union=overlay username=user config components quiet noswap ip= net.ifnames=0 nosplash locales=en_US.UTF-8 keyboard-layouts=us gl_batch
     initrd (loop)/live/initrd.img
     }
fi

if [ -e /ISOs/linuxmint-19.2-cinnamon-64bit.iso ]; then
     menuentry " Linux Mint 19.2 Cinnamon ISO"  --class debian --class icon-linux {

     set iso='/ISOs/linuxmint-19.2-cinnamon-64bit.iso'
     set bootparms='set image /6.4/amd64/bsd.rd'

     loopback loop $iso
     linux  (loop)/casper/vmlinuz  file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso} quiet splash --
     initrd (loop)/casper/initrd.lz
     }
fi

if [ -e /ISOs/install64.iso ]; then
     menuentry " OpenBSD ISO"  --class debian --class icon-linux {

     set iso='/ISOs/install64.iso'
     set bootparms='set image /6.4/amd64/bsd.rd '

     loopback loop $iso
#     linux (loop)/boot/generic livemedia=/dev/sda6/$iso $bootparms
#     initrd (loop)/6.4/amd64/bsd.rd
     linux (loop)/kopenbsd /6.4/amd64/bsd.rd  #Boot-NoEmul.img $bootparms
     }
fi

menuentry " GrubFM x64 EFI Boot Manager of A1ive" --class other --class icon-gnugrub  {

     set grubfm=/EFI/a1ive/grubfmx64.efi

     search -f $grubfm --set=root
     chainloader $grubfm
     }

menuentry " Slackware Linux Live XFCE ISO"  --class debian --class icon-linux {

     set iso='/ISOs/slackware64-live-xfce-current.iso'
     set bootparms='load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us '

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/boot/generic livemedia=/dev/sda6:/$iso $bootparms
     initrd (loop)/boot/initrd.img
     }

if [ -e /ISOs/slackware64-live-cinnamon-current.iso ]; then
     menuentry " Slackware Linux Live Cinnamon ISO" --class slackware   --class icon-linux  {
     
     set iso=/ISOs/slackware64-live-cinnamon-current.iso
     set bootparms='load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us '

     loopback loop $iso
     linux (loop)/boot/generic livemedia=/dev/sda6:/$iso $bootparms
     initrd (loop)/boot/initrd.img
     }
fi

menuentry " antiX ISO"  --class debian --class icon-debian {

     set iso='/ISOs/antiX-16.1_x64-full.iso'
     set bootparms='from=all quiet '
#     set bootparms='from=all quiet menus nomodeset'
#     set bootparms='bdev=sdc2 pdev=sdc2 persist quiet'
#    https://forum.mxlinux.org/viewtopic.php?f=104&t=41663&start=30#p408234
#     set bootparms='from=all disable=lx persist_all pdev=sda6 plab=AntiX-Persist tz=Europe/Bucharest nomodeset toram'
#    https://sourceforge.net/p/grub2win/discussion/general/thread/02c08d36/?limit=25#d0fa

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/antiX/vmlinuz fromiso=$iso $bootparms
     initrd (loop)/antiX/initrd.gz
     }

menuentry ' Parrot-lite via isoboot'  --class isoboot   --class icon-isoboot {
#
set reviewpause=20

     clear
     set gfxpayload=1024x768                             # Needed for many graphics cards
     set iso=/ISOs/Parrot-lite-3.6_amd64.iso
     set kernelpath='/live/vmlinuz'                      # Example '/vmlinuz'
     set initrdpath='/live/initrd.img'                   # Example '/initrd.img'
     set bootparms='findiso='$iso' boot=live hostname=parrot locales=en_US.UTF-8 keyboard-layouts=en quiet splash'  # Example ' noprompt noeject ---'
     g2wisoboot short                                    # Run the g2wisoboot function - no extra blank lines
    }

menuentry "...more..." {
     root ()
     }
 
menuentry " Ubuntu ISO 21.04"  --class ubuntu --class icon-ubuntu {

     set iso='/ISOs/ubuntu-mate-21.04-desktop-amd64.iso'
     set bootparms='boot=casper iso-scan/filename='$iso' splash -- '

#    To save changes add "persistance" to the boot parms and create a file 
#      named casper-rw with an ext3 file system. 
#      https://www.pendrivelinux.com/how-to-create-a-larger-casper-rw-loop-file/ 

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/casper/vmlinuz $bootparms
     initrd (loop)/casper/initrd
     }

menuentry " Ubuntu ISO 18.04"  --class ubuntu --class icon-ubuntu {

     set iso='/ISOs/ubuntu-18.04.1-desktop-amd64.iso'
     set bootparms='boot=casper iso-scan/filename='$iso' splash -- '

#    To save changes add "persistance" to the boot parms and create a file 
#      named casper-rw with an ext3 file system. 
#      https://www.pendrivelinux.com/how-to-create-a-larger-casper-rw-loop-file/ 

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/casper/vmlinuz $bootparms
     initrd (loop)/casper/initrd.lz
     }

menuentry " R-Drive Image ISO"  --class other --class icon-linux  {

     clear
     set isopath="/ISOs/R-DriveImage_6.1.6107_OEMKit.iso"
     set bootparms="rw acpi_osi=Linux acpi_backlight=vendor lang=en"
     
     set bootdrv=$root
     set kernelpath="/kernel32"
     getbootpartition file $isopath
     loopback loop ($root)$isopath
     test -f (loop)$kernelpath
     if [ $? = 0 ] ; then 
       echo "Linux will boot from" ($root)$isopath
       echo
       echo "*  Choose the LEFT button!  *"
       echo 
       echo "Once booted click the DE's bottom left button, then click the middle button, and choose English."
       echo
       echo "Press Enter to continue"; read
       linux  (loop)$kernelpath $bootparms
       initrd (loop)/lrfsbase.bin (loop)/rm_scsi.b32 (loop)/rm_pata.b32 (loop)/rm_usb.b32 (loop)/rm_pcard.b32 (loop)/rm_video.b32 (loop)/rm_other.b32 (loop)/rootgui (loop)/rmconfig.bin
       echo 'GNU Grub Is Now booting R-Drive Image'
     else
       echo
       echo '*** The kernel file $kernelpath was not found in the loopback filesystem ***'
     fi
     set root=$bootdrv
     }

menuentry " RunTime DriveImage ISO"   --class other --class icon-gnugrub  {

     set lang="en" 
     set iso="/ISOs/runtimelivecd.iso"
     set bootparms="iso-scan/filename=$iso lang=$lang apm=power-off nomce hpsa.hpsa_allow_any=1 loglevel=2 bootfrom=/dev/sda6$iso" 
#        bootfrom can be simply a generic /dev/sdxy$iso but boots faster with sda6.
     
     set bootdrv=$root
     search -f $iso --set=root
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/boot/isolinux/linux $bootparms
        initrd (loop)/boot/isolinux/minirt.gz
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }
     
menuentry " Parted Magic ISO"   --class other --class icon-gnugrub  {

     set lang="en" 
     set iso="/ISOs/Parted_Magic_2019_09_03.iso"
     set bootparms="iso_filename=$iso root=/dev/sda6$iso directory=boot boot=live edd=on vga=normal" 
#        bootfrom can be simply a generic /dev/sdxy$iso but boots faster with sda6.
     
     set bootdrv=$root
     search -f $iso --set=root
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/pmagic/bzImage64 $bootparms
        initrd (loop)/pmagic/initrd.img (loop)/pmagic/fu.img (loop)/pmagic/m64.img 
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }     

menuentry " Ignis Porteus ISO" --class slackware   --class icon-xtra-07  {

#     set linux_folder=/porteus5.x
     set iso=/ISOs/Ignis_Linux-Porteus-v5.0rc2-12092020-x86_64.iso  
#     set boot_parms="delay=8 changes=EXIT:$linux_folder/porteussave.dat volume=33 reboot=cold"

#     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso # $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

     if [ -e /ISOs/OV.Porteus-OPENBOX-v5.0rc1-zstd-x86_64.iso ]; then
     menuentry " OV.Porteus OPENBOX 5.0rc1 - AF" --class slackware   --class icon-porteus  {
     
     set iso=/ISOs/OV.Porteus-OPENBOX-v5.0rc1-zstd-x86_64.iso
     set boot_parms="volume=33 reboot=cold "

     loopback loop $iso
     linux (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
#     linux        /porteus3.2/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }
fi

menuentry " Porteus LXQT 3.1 ISO - AF" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-LXQT-v3.1-x86_64-nu-r.iso
     set boot_parms="volume=33 reboot=cold "

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
#     linux        $linux_folder/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " Porteus Cinnamon 3.2.2 ISO - changes=" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-CINNAMON-v3.2.2-x86_64.iso
     set boot_parms="volume=33 reboot=cold changes=EXIT:$linux_folder/changes/porteussave.dat extramod=$linux_folder/Modules"
#     set boot_parms="nomodeset verbose delay=8 volume=33 reboot=cold changes=EXIT:$linux_folder/changes/porteussave.dat extramod=$linux_folder/Modules"
     set gfxpayload=1024x768

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
#     linux (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
     linux        $linux_folder/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " Porteus Cinnamon 3.2.2 ISO - AF+" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-CINNAMON-v3.2.2-x86_64.iso
     set boot_parms="volume=33 reboot=cold extramod=$linux_folder/Modules;$linux_folder/Modsavedat noload=save.dat"

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux        $linux_folder/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }
 
 menuentry "...more..." {
     root ()
     }
     
menuentry " Porteus Nemesis ISO" --class slackware   --class icon-xtra-07  {

#     set linux_folder=/porteus3.x
#     set iso=/ISOs/porteus-nemesis-v3.5-lxde-x86_64.iso
#     set boot_parms="delay=8 changes=EXIT:$linux_folder/porteussave.dat volume=33 reboot=cold"
     set linux_folder=/porteus5.0
     set iso=/ISOs/Nemesis-v22.08-CINNAMON-x86_64.iso
     set boot_parms="delay=8 changes=EXIT:$linux_folder/porteussave.dat volume=33 reboot=cold"     

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " APorteus ISO" --class slackware   --class icon-xtra-07  {

#     set iso=/ISOs/APorteus-CINNAMON-v19.05.06-x86_64.iso
#     set iso=/ISOs/APorteus-MULT_ja-v19.10.20-x86_64.iso
     set iso=/ISOs/APorteus-v21.11.08-x86_64.iso

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso 
     initrd (loop)/boot/syslinux/initrd.zstd
     }

menuentry " Porteus Cinnamon 3.2.1 ISO - AF+" --class slackware   --class icon-porteus  {

     set linux_folder=/porteus3.2
     set iso=/ISOs/Porteus-CINNAMON-v3.2.1-x86_64.iso
     set boot_parms="volume=33 reboot=cold extramod=$linux_folder/Modules;$linux_folder/Modsavedat noload=save.dat"

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

menuentry " Knoppix ISO"   --class other --class icon-gnugrub  {

     set lang="en" 
     set iso="/ISOs/KNOPPIX_V9.1CD-2021-01-25-EN.iso"
     set bootparms="iso-scan/filename=$iso lang=$lang apm=power-off nomce hpsa.hpsa_allow_any=1 loglevel=2 bootfrom=/dev/sda6$iso" 
#        bootfrom can be simply a generic /dev/sdxy$iso but boots faster for me with sda6.
     
     set bootdrv=$root
     search -f $iso --set=root
     if [ $? = 0 ] ; then
        loopback loop $iso
        linux  (loop)/boot/isolinux/linux $bootparms
        initrd (loop)/boot/isolinux/minirt.gz
        loopback --delete loop
     else
        echo "----------------------------------------"
        echo ISO NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }
No, I'll stick to the way I do it...Thanks!

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How a Windows user makes quick Porteus test USB's.

Post#22 by Ed_P » 30 Nov 2022, 20:33

They are grub2 menus. Once you set up one setting up others is rather straight forward. The hard part is digging thru each system's startup menus to determine the ISO's boot parms.
Ed

User avatar
Karmi
Samurai
Samurai
Posts: 162
Joined: 03 Apr 2022, 19:46
Distribution: Linux
Location: Old Town, Florida USA

How a Windows user makes quick Porteus test USB's.

Post#23 by Karmi » 30 Nov 2022, 21:04

Ed_P wrote:
30 Nov 2022, 20:33
They are grub2 menus. Once you set up one setting up others is rather straight forward. The hard part is digging thru each system's startup menus to determine the ISO's boot parms.
Just don't see it working for most RHEL OSes that don't provide 'Live' previews and that use the Anaconda installer. Vanilla Arch Linux doesn't have a 'Live' either and you don't pick the DE until you are already into the installation. Just don't see those being booted into a GUI by "boot the ISOs directly" and I test a lot of those...

nanZor
Shogun
Shogun
Posts: 381
Joined: 09 Apr 2019, 03:27
Distribution: Porteus 5.01 x86-64 LXQT

How a Windows user makes quick Porteus test USB's.

Post#24 by nanZor » 10 Nov 2023, 00:26

fulalas wrote:
29 Nov 2022, 00:42
In my experience Gparted creates ext partition with root permission, which messes the whole thing. So what works for me is formatting in ext (well, if you don't care about EFI then just one partition is enough), then:....
Mystery Solved - thanks fulalas! I have run into this and have been tearing my hair out by not looking at the permissions. Wow, awesome.

And for lurkers about reiser going "obsolete", if we can avoid the politics or the my-filesystem-is-better-than-yours threads...

The reason for using reiser in knoppix and sticking with it was for two reasons. Yes, users were yanking out boot media and back then the reiserfs had "self-healing" properties. The second reason was that the version Klaus used had most of the bugs known, and workarounds used, whereas the upcoming ext journaling was still in a state of progression, where unknown bugs could crop up. Different story today of course..
That's a UNIX book - cool. -Garth

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

How a Windows user makes quick Porteus test USB's.

Post#25 by Rava » 29 Nov 2023, 03:06

fulalas wrote:
29 Nov 2022, 00:42
chown -R guest:users /porteus
chown -R guest:users /boot
When I set up any non NTFS and non FAT (VFAT) partition to hold Linux boot data (usually live systems, usually Porteus) I keep both the boot/ and the porteus/ as owned and write-only for root.
The normal user can access and look around in the porteus/ folder(s) and into the boot/ folder(s) - but not change anything in there.
Example my sda1 formatted as ext4:

Code: Select all

guest@rava:~$ cd $PORTDIR/
guest@rava:/mnt/sda1/Porteus_5.0.1/porteus$ ls -l
drwxr-xr-x 2 root root 4096 2023-11-20 09:28 base
drwxr-xr-x 2 root root 4096 2023-11-20 09:23 optional
-rw-r--r-- 1 root root  679 2023-09-29 16:48 porteus-v5.0-x86_64.cfg
guest@rava:/mnt/sda1/Porteus_5.0.1/porteus$ touch base/000-kernel5.4.30.xzm
touch: cannot touch 'base/000-kernel5.4.30.xzm': Permission denied
guest@rava:/mnt/sda1/Porteus_5.0.1/porteus$ rm base/000-kernel5.4.30.xzm
rm: cannot remove 'base/000-kernel5.4.30.xzm': Permission denied
guest@rava:/mnt/sda1/Porteus_5.0.1/porteus$ 
Similar with boot/ :

Code: Select all

guest@rava:/$ cd /mnt/sda1/boot/
guest@rava:/mnt/sda1/boot$ touch dummy
touch: cannot touch 'dummy': Permission denied
guest@rava:/mnt/sda1/boot$ cd syslinux/
guest@rava:/mnt/sda1/boot/syslinux$ touch porteus.cfg
touch: cannot touch 'porteus.cfg': Permission denied
guest@rava:/mnt/sda1/boot/syslinux$ rm porteus.cfg
rm: remove write-protected regular file 'porteus.cfg'? y
rm: cannot remove 'porteus.cfg': Permission denied
guest@rava:/mnt/sda1/boot/syslinux$ 
And this is how I want things to be.
And the 1st thing I do after boot and manually starting X via startx, I log in as root via su - and change the root password to a much more secure one via a script that is readable only for root and that holds the password in the encrypted way like it is stored in /etc/shadow
Cheers!
Yours Rava

Post Reply