Page 2 of 2

Re: "Untrackable" cheatcode should be implemented

Posted: 11 Dec 2011, 13:06
by colchaodemola
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.

also:
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:
sdb2

Re: "Untrackable" cheatcode should be implemented

Posted: 11 Dec 2011, 14:46
by fanthom
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!