puppy_slacko_X.X.sfs not found, dropping out to initial...

Please post any bugs you have found
Post Reply
Message
Author
mikr
Posts: 17
Joined: Fri 19 Sep 2014, 00:24

puppy_slacko_X.X.sfs not found, dropping out to initial...

#1 Post by mikr »

please see thread

http://murga-linux.com/puppy/viewtopic. ... 862#933862

It's long and a solution is posted there along with a modified "init" script

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

Have you submitted these changes to Woof-CE?

If you really want this to get into Puppy, the code is there in Woof-CE.
https://github.com/puppylinux-woof-CE/woof-CE

Enter your changes as a new pull request.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

mikr
Posts: 17
Joined: Fri 19 Sep 2014, 00:24

puppy_slacko_X.X.sfs not found, dropping out to initial...

#3 Post by mikr »

Further testing indicates that the issue is not really with "init"

The problem lies in "wait4usb"

There is a 3 second delay before the script examines /sys/block to see if drives are populated. This is simply not enough time. A one line tweak fixes the problem. It applies to at least puppy slacko 5.6 thru 6.3

wait4usb.diff
--- init.orig/wait4usb 2015-10-20 16:32:00.000000000 +0800
+++ init.new/wait4usb 2016-11-28 23:24:28.000000000 +0800
@@ -22,7 +22,7 @@

#i want this to work with kernel that does not have my usb-storage patch, feedback is that 3 secs is enough...
while [ $CNTUSB -lt 3 ];do
- sleep 1
+ sleep 8
CNTUSB=$(($CNTUSB+1))
echo -en "\\033[1;33m.\\033[0;39m" >/dev/console #yellow dot
done

Post Reply