Cheatcodes: interesting to see under the hood.

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Cheatcodes: interesting to see under the hood.

Post#1 by francois » 26 Sep 2021, 16:15

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
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Cheatcodes: interesting to see under the hood.

Post#2 by francois » 01 Oct 2021, 10:09

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.
Prendre son temps, profiter de celui qui passe.

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

Cheatcodes: interesting to see under the hood.

Post#3 by Ed_P » 01 Oct 2021, 15:48

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.
Ed

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Cheatcodes: interesting to see under the hood.

Post#4 by francois » 04 Oct 2021, 09:11

Why would it make any difference? This is not logic, though I will try.

Maybe it needs .sh as file type.

Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Cheatcodes: interesting to see under the hood.

Post#5 by francois » 04 Oct 2021, 09:24

None of these two methods did work. :(
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Cheatcodes: interesting to see under the hood.

Post#6 by beny » 04 Oct 2021, 14:55

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.

Post Reply