Page 1 of 1

[Solved] porteus device not ready yet

Posted: 21 Jul 2012, 13:47
by blablotin
Hi,
I would like to try porteus-v1.2-x86_64 and keep previous version.

So I put /porteus folder in /porteusv1-2/

I create dir bootp1-2 to use porteus-v1.2-x86_64's boot directory
I ad input in porteus.cfg:

Code: Select all

LABEL porteus1-2
MENU LABEL Graphics mode (KDE)
KERNEL /bootp1-2/vmlinuz
APPEND initrd=/bootp1-2/initrd.xz vga=791 nomagic noauto from_dir=/porteusv1-2
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
and reboot.
At the begining it seem to work, but I finish by having
searching for porteus-v1.2-x86_64.sgn file
device not ready yet? delaying 5-4-3-2-1-0 seconds
and busybox.

Ok no matter I read the faq where I find the answer, and ads "delay=2" cheatcode
I have the same error
delaying 2 sec (...
searching for porteus-v1.2-x86_64.sgn file
device not ready yet? delaying 5-4-3-2-1-0 seconds
OK mayby this file is not in the right place?

Code: Select all

root@porteus:/mnt/live/mnt/sda5/porteusv1-2/porteus# cd /mnt/live/mnt/sda5/porteusv1-2/porteus/
root@porteus:/mnt/live/mnt/sda5/porteusv1-2/porteus# find *.sgn
porteus-v1.2-x86_64.sgn
root@porteus:/mnt/live/mnt/sda5/porteusv1-2/porteus# 
What is wrong with my setting please?

to sum up: http://pix.toile-libre.org/upload/origi ... 880315.jpg

Re: porteus device not ready yet

Posted: 21 Jul 2012, 14:49
by fanthom
hello blablotin,

this line should work:

Code: Select all

APPEND initrd=/bootp1-2/initrd.xz vga=791 nomagic noauto from_dir=/porteusv1-2/porteus
please refer to description of 'from_dir=' cheatcode in /boot/cheatcodes.txt from porteus-1.2 (full path to .sgn file is required).

Cheers

Re: porteus device not ready yet

Posted: 21 Jul 2012, 17:44
by blablotin
Thanks Fanthom Great jobs for this version.

In fact it is printed in bootp1-2/docs/cheatcodes.txt
'from_dir=/linux/porteus-v1.1'
will cause searching for *.sgn file in the
/mnt/sda6/linux/porteus-v1.1/porteus folder first.
So I believed I have to write 'from_dir=/linux/porteus-v1.2' instead of 'from_dir=/linux/porteus-v1.2/porteus/'

Re: [Solved] porteus device not ready yet

Posted: 21 Jul 2012, 19:16
by fanthom
@blablotin

you are right - the cheat description is wrong.
should be:

Code: Select all

from_dir=/path/to/folder

   ... This cheatcode provides a path to a directory where the Porteus 
       data (.sgn file) are kept. It can be used with the 'from_dev=' 
       parameter to avoid searching through all available devices. 
       Example: 'from_dev=/dev/sda6' 'from_dir=/linux/porteus-v1.1/porteus' 
       will cause searching for *.sgn file in the 
       /mnt/sda6/linux/porteus-v1.1/porteus folder first.
small mistake which is causing a big confusion.

@Ahau
please update cheatcodes.txt with that change.