PorteuX 0.9 has been released
-
- Black ninja
- Posts: 48
- Joined: 17 Oct 2022, 13:22
- Distribution: Porteus 5
PorteuX 0.9 has been released
porteux, does PorteuX have grub boot menu like porteus?
When I try to boot in grub mode from ventoy it just blinks black screen and goes back to ventoy menu.
When I try to boot in grub mode from ventoy it just blinks black screen and goes back to ventoy menu.
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
PorteuX 0.9 has been released
This grub2 boot menu works for me:
Your problem sounds like a ventoy problem.
Code: Select all
menuentry " PorteuX 0.9 ISO - Cinnamon" --class slackware --class user-icon-porteux {
# https://github.com/porteux/porteux/releases
set linux_folder=/porteux
# set iso="/ISOs/PorteuX/porteux-v0.7-xfce-4.18-current-x86_64.iso"
# set iso="/ISOs/PorteuX/porteux-v0.7-lxqt-1.3.0-current-x86_64.iso"
# set iso="/ISOs/PorteuX/porteux-v0.8-mate-1.27.3-current-x86_64.iso"
set iso="/ISOs/PorteuX/porteux-v0.9-mate-1.27.3-current-x86_64.iso"
set bootparms="volume=33 reboot=cold extramod=$linux_folder/Modules;$linux_folder/modsavedat \
kmap=us norootcopy noload=-test;mate;lxqty;xface"
search -f $iso --set=root
loopback loop $iso
linux (loop)/boot/syslinux/vmlinuz from=$iso $bootparms
initrd (loop)/boot/syslinux/initrd.zst
}
-
- Black ninja
- Posts: 48
- Joined: 17 Oct 2022, 13:22
- Distribution: Porteus 5
PorteuX 0.9 has been released
This is exact reason why I ask if PorteuX has its own grub menu. Every time new version released or I want to test different DEs I have to manually edit ventoy_grub.cfg.Ed_P wrote: ↑01 Jan 2024, 17:25Code: Select all
# set iso="/ISOs/PorteuX/porteux-v0.7-xfce-4.18-current-x86_64.iso" # set iso="/ISOs/PorteuX/porteux-v0.7-lxqt-1.3.0-current-x86_64.iso" # set iso="/ISOs/PorteuX/porteux-v0.8-mate-1.27.3-current-x86_64.iso" set iso="/ISOs/PorteuX/porteux-v0.9-mate-1.27.3-current-x86_64.iso"
Ventoy has no problem with porteus' grub menu. Maybe PorteuX stripped grub menu because it was rarely used.
PorteuX 0.9 has been released
As far as I understand, Porteus has no grub support at all.
Ventoy works by manually detecting the current distro it's loading and then it injects code on-the-fly to handle stuff.
Porteus is officially supported by Ventoy, while PorteuX isn't. For 0.9 I made a Ventoy detection from PorteuX side (initrd) and it works in some scenarios.
I wonder why you want to load PorteuX via grub.
Ventoy works by manually detecting the current distro it's loading and then it injects code on-the-fly to handle stuff.
Porteus is officially supported by Ventoy, while PorteuX isn't. For 0.9 I made a Ventoy detection from PorteuX side (initrd) and it works in some scenarios.
I wonder why you want to load PorteuX via grub.
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
PorteuX 0.9 has been released
What might be an issue is that by default a file in a POSIX filesystem will not be executable.porteux wrote: ↑01 Jan 2024, 13:34It's still unclear what exactly you're trying to achieve.
If I do this it just works, regardless if bash.sh is already present or not:
Code: Select all
mousepad ~/bash.sh
Either do the needed change via your DE's file browser, or via the terminal. I will do all in the terminal, file creation and file mode change.
Example: using the shell to create a sample ~/bash.sh
Code: Select all
guest@rava:~$ echo '#!/bin/sh
> echo "Hello world!"' >~/bash.sh
guest@rava:~$ cat ~/bash.sh
#!/bin/sh
echo "Hello world!"
guest@rava:~$ ./bash.sh
bash: ./bash.sh: Permission denied
Code: Select all
guest@rava:~$ ls -l ~/bash.sh
-rw-r--r-- 1 guest users 30 2024-01-01 20:21 /home/guest/bash.sh
Code: Select all
guest@rava:~$ chmod u+x ~/bash.sh
guest@rava:~$ ls -l ~/bash.sh
-rwxr--r-- 1 guest users 30 2024-01-01 20:21 /home/guest/bash.sh
guest@rava:~$ ~/bash.sh
Hello world!
guest@rava:~$ ./bash.sh
Hello world!
guest@rava:~$

Added in 4 minutes 14 seconds:
Cave! the users specified by chmod might be confusing.
u=User (the owner of the file)
o=NOT owner but "Others"
g=Group
a=All
See either chmod --help or man chmod for more details.
Added in 10 minutes 59 seconds:
One other small detail: you can still execute a script even when it is not executable like so:
Code: Select all
guest@rava:~$ chmod a-x bash.sh
guest@rava:~$ ls -l bash.sh
-rw-r--r-- 1 guest users 30 2024-01-01 20:21 bash.sh
guest@rava:~$ . bash.sh
Hello world!
Code: Select all
exit 1
Cheers!
Yours Rava
Yours Rava
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
PorteuX 0.9 has been released
Try creating your sh file in /mnt/live/memory/images/changes/home/guest/ like babam.porteux wrote: ↑01 Jan 2024, 13:34If I do this it just works, regardless if bash.sh is already present or not:Code: Select all
mousepad ~/bash.sh
-
- Full of knowledge
- Posts: 428
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus v5.01.....PorteuX v1.4
- Location: In the bush now
PorteuX 0.9 has been released
babam wrote: ↑01 Jan 2024, 13:06I use Xfce and Mousepad to edit text files.Then the result is ~/bash.sh is unreadable.Code: Select all
$ mousepad /mnt/live/memory/images/changes/home/guest/bash.sh
I don't have a changes directory in /mnt/live/memory/images, so any editor will show nothing......the editor will open, but will display nothing.
Using geany, as I've removed mousepad, I can open any file in /mnt/live/memory/changes without problems.
-
- Black ninja
- Posts: 48
- Joined: 17 Oct 2022, 13:22
- Distribution: Porteus 5
PorteuX 0.9 has been released
I encountered an UEFI machine without legacy boot option.
Both porteus and PorteuX stuck at black screen with white cursor in normal boot mode but
porteus can boot in grub mode
PorteuX in grub mode says something about uefi file not found and after some time goes back to ventoy menu.
Out of curiosity I checked ventoy grub mode booting on BIOS machine
porteus boots normally
PorteuX just blinks.
You are right! Thank to your hint I was able to boot PorteuX on UEFI from ventoy in grub mode
by recreating iso with copy of "/boot/syslinux/porteuX.cfg" renamed to "porteuS.cfg".
The double config fix is so simple it can be easily applied to next 0.10 release of PorteuX.
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
PorteuX 0.9 has been released
A clever solution seed_clapper.seed_clapper wrote: ↑02 Jan 2024, 05:52I was able to boot PorteuX on UEFI from ventoy in grub mode
by recreating iso with copy of "/boot/syslinux/porteuX.cfg" renamed to "porteuS.cfg".


