Page 1 of 1

[Solved] Proper use of lilo with new 'from=' cheatcode

Posted: 18 Jan 2013, 15:35
by claude
I use lilo for booting my various OS on several computers. lilo works fine in v1.2 with the old cheatcodes 'from_dev=' and 'from_dir=', however when I try to use the new cheatcode 'from=' (in my case I am using 'from=/mnt/sda5/porteus2') I get an error during boot up saying that the *.sgn file is not there. But the *.sgn file is right in /mnt/sda5/porteus2 in my system. lilo was not included in v2.0-rc1, so I booted the original v1.2 iso in order to run my new lilo config file. Everything boots fine except v2.0-rc1. The section relative to v2.0-rc1 in my lilo.conf (frugal install) is:

image=/mnt/sda5/slmap/vmlinuz2
password = ******
initrd=/mnt/sda5/slmap/initrd2.xz
label=XFCE-2.0rc1
APPEND="from=/mnt/sda5/porteus2 xfce nohd nomagic rootcopy=/mnt/sda5/porteus2/rootcopy volume=25%"

What am I doing wrong? Also how do I get Porteus to boot in text mode? I've tried to add '3' to the append line but it didn't work in v1.2. Thanks for your help.

Re: Proper use of lilo with new 'from=' cheatcode in v2.0-rc

Posted: 18 Jan 2013, 20:00
by fanthom
@claude
when I try to use the new cheatcode 'from=' (in my case I am using 'from=/mnt/sda5/porteus2') I get an error during boot up saying that the *.sgn file is not there. But the *.sgn file is right in /mnt/sda5/porteus2 in my system.
Porteus-2.0 is expecting to find an unpacked ISO in 'from=/mnt/sdXY/something' folder (and not .sgn file as it was n 1.2) so you must have:

Code: Select all

/mnt/sda5/porteus2/porteus/*.sgn
on your hd.
full explanation can be find here:
http://forum.porteus.org/viewtopic.php? ... 256#p12265
ow do I get Porteus to boot in text mode? I've tried to add '3' to the append line but it didn't work in v1.2.
in porteus-1.2 you must use 'autoexec=telinit~3' cheatcode.

i think it would be better to stick to one line (suggest 2.x) to avoid confusion.

Re: Proper use of lilo with new 'from=' cheatcode in v2.0-rc

Posted: 18 Jan 2013, 22:05
by claude
Your two explanations are both right on target. lilo now works perfectly in both v1.2 and v2.0-rc1! :Yahoo!:
THANKS!!