Page 1 of 1

Problem booting Puppy iso from multi-iso usb

Posted: Fri Oct 20, 2023 11:28 pm
by ktosh

Hi,
I’m creating multiple Linux distribution installer USB disk, which contains multiple installer ISO images

I have trouble with booting Puppy Linux, please advise me.
I can boot other distros without problem, but I cannot boot Puppy.

It seems that it can load vmlinuz, but failed to find ****.SFS files.
How should I edit the entry?
I’d like to place ISO files as they are, and do not want to extract files from ISOs.

The geometry of USB is follows,

1. PARTITION1 (VFAT) 8GB

├── EFI
│ └── BOOT
│ ├── BOOTX64.CSV
│ ├── BOOTX64.EFI
│ ├── grub.cfg
│ ├── grubx64.efi
│ └── mmx64.efi
├── boot
│ └── grub
│ ├── fonts
│ │ └── unicode.pf2
│ ├── grub.cfg


2. PARTITION2 (EXT4)
├── iso
│ ├── AlmaLinux-8.8-x86_64-dvd.iso
│ ├── AlmaLinux-9.2-x86_64-dvd.iso
│ ├── CentOS-7-x86_64-DVD-2009.iso
│ ├── fossa64-simple-r2.iso
│ ├── linuxmint-21.2-cinnamon-64bit.iso
│ ├── ubuntu-14.04.6-desktop-amd64.iso
│ └── ubuntu-22.04.3-desktop-amd64.iso

[grub.cfg]

# path to the partition holding ISO images (using UUID)
set imgdevpath="/dev/disk/by-uuid/4EB1-F423"

insmod all_video

menuentry "[loopback] Ubuntu 22.04.03 desktop amd64" {
set isofile="/iso/ubuntu-22.04.3-desktop-amd64.iso"
loopback loop (hd0,2)$isofile
linux (loop)/casper/vmlinuz file=(loop)/preseed/ubuntu.seed maybe-ubiquity iso-scan/filename=$isofile locale=en_US.UTF-8
initrd (loop)/casper/initrd
}
....
....
menuentry "[loopback] Fossa Linux 9.5" {
set isofile="/iso/fossa64-simple-r2.iso"
loopback loop (hd0,2)$isofile
#linux (loop)/vmlinuz pfix=fsck pmedia=cd
#linux (loop)vmlinuz pdrv=4c2a49edd-8d7f-452b-a66c-a59880636c4f pmedia=atahd pfix=fsck net.ifnames=0
#linux (loop)vmlinuz psubdir=(loop)
#linux (loop)/vmlinuz pfix=fsck pmedia=cd
#linux /vmlinuz pfix=fsck pmedia=cd
linux (loop)/vmlinuz pfix=fsck pmedia=usbhd pdev1=sdd2
initrd (loop)/initrd.gz
}


Re: Problem booting Puppy iso from multi-iso usb

Posted: Sat Oct 21, 2023 5:54 am
by williwaw

I dont see right off where the misconfiguration is but there is isobooter and some hints at

viewtopic.php?p=94368#p94368


Re: Problem booting Puppy iso from multi-iso usb

Posted: Sat Oct 21, 2023 9:12 am
by ktosh

Thank you.
The script in the link was very helpful, and I can boot the iso image by changing puppy entry as follows,

menuentry "[loopback] Fossa Linux 9.5" {
set isofile="/iso/fossa64-simple-r2.iso"
loopback loop (hd0,2)$isofile
set root=(loop)
linux (loop)/vmlinuz find_iso=$isofile
initrd (loop)/initrd.gz
}


Re: Problem booting Puppy iso from multi-iso usb

Posted: Mon Oct 23, 2023 9:28 am
by mikewalsh

Mm. Even for someone who doesn't like GRUB 2, and hasn't used it for a very long time, that entry in your first post just didn't look right, somehow.

I WAS going to say that the only thing I could see that might have caused issues was that "pmedia=cd" needed to be changed to "pmedia=usb".......which introduces more time for the files to be found. But, if you're now up-and-running, no need! And

.....:welcome: to the "kennels".

Mike. ;)