Page 1 of 1

Cheatcodes: interesting to see under the hood.

Posted: 26 Sep 2021, 16:15
by francois
Cheatcodes in porteus are really handy when you boot up your system:
http://www.porteus.org/tutorials/26-gen ... -them.html

I just used guiexec to start with dual display at bootup.

Great! :D

Cheatcodes: interesting to see under the hood.

Posted: 01 Oct 2021, 10:09
by francois
There is something wrong in this grub2 menu entry:

Code: Select all

 }
    menuentry "Porteus XFCE x86-64 rc ISO" {
    insmod part_msdos
    insmod ext2
    set root=(hd0,5)
    set isofile="/isos/Porteus-XFCE-v4.0-x86_64.iso"
    search --no-floppy --file --set=root $isofile
    loopback loop $isofile
    linux (loop)/boot/syslinux/vmlinuz from=$isofile extramod=/64_V32/porteus/modules/ changes=1_porteus login=root guiexec=/mnt/sda5/1old-bin/1_bin/benq acpi=
    initrd (loop)/boot/syslinux/initrd.xz
    }
guiexec cheatcode does no work.

Would it be because I start porteus from iso?

Thanks.

Cheatcodes: interesting to see under the hood.

Posted: 01 Oct 2021, 15:48
by Ed_P
If the benq file is on the root drive I would suggest dropping the "/mnt/sda5" parms. Similar to what you did with the extramod= cheatcode.

Cheatcodes: interesting to see under the hood.

Posted: 04 Oct 2021, 09:11
by francois
Why would it make any difference? This is not logic, though I will try.

Maybe it needs .sh as file type.

Thanks.

Cheatcodes: interesting to see under the hood.

Posted: 04 Oct 2021, 09:24
by francois
None of these two methods did work. :(

Cheatcodes: interesting to see under the hood.

Posted: 04 Oct 2021, 14:55
by beny
hi francois but extramod line the 64_v32 path and guiexec without a comma where the cheatcode have to work or maybe i am wrong you need also init 4,or is grub2 that i don't understand.