"Untrackable" cheatcode should be implemented

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
White ninja
White ninja
Posts: 15
Joined: 29 Nov 2011, 01:33
Location: brazil

Re: "Untrackable" cheatcode should be implemented

Post#16 by colchaodemola » 11 Dec 2011, 13:06

fanthom wrote:@colchaodemola
Im running from a loopback because i got a few fs corruption not long ago , and since iso is readonly everything appears be ALWAYS ok.
xzm modules are also read-only so corruption should not happen untill you use 'changes=' cheatcode.
none works. Never finds the image :/
show us your full grub2 config.

did you try to boot without nohd cheatcode? does it work then? what about 'grep -A1 boot /var/log/porteus-livedbg' command which i asked you before?
It works fine with the grub.cfg below , but if i put hohd cheat
it wont boot.

menuentry "Porteus" {
set root=(hd0,2)
set isofile="/isos/p1.iso"
loopback loop $isofile
set gfxmode=1024x768
set gfxpayload=keep
insmod gfxterm
insmod vbe
linux (loop)/boot/vmlinuz from_iso=$isofile rw copy2ram noauto autoexec=xconf
initrd (loop)/boot/initrd.xz

i will send the 'grep -A1 boot /var/log/porteus-livedbg' asap.

Posted after 14 minutes 39 seconds:
# Porteus boot device:

User avatar
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland

Re: "Untrackable" cheatcode should be implemented

Post#17 by fanthom » 11 Dec 2011, 14:46

as i was expecting: Grub2 is using it's own mount_iso implementation so from_iso= cheat is not necessary.
please try this line:

Code: Select all

linux (loop)/boot/vmlinuz from_dev=/dev/sdb2 copy2ram nohd autoexec=xconf
'rw' cheat is built into kernel so can be skipped, 'noauto' is also not needed when you have 'nohd' (internal hard disk wont be probed) and 'copy2ram' (all removable media - including CD - are ejected by default when copy2ram is used).

if that still wont work then please boot as before (without 'nohd') and post full /var/log/porteus-livedbg, and also output of 'cat /proc/cmdline' command (i'm suspecting that Grub2 may be adding some extra cheats to provided ones).

good luck!
Please add [Solved] to your thread title if the solution was found.

Post Reply