S15pup64 wait time for finding USB drive set too low (solved)

Moderators: peebee, Forum moderators

Post Reply
Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

S15pup64 wait time for finding USB drive set too low (solved)

Post by Firefly »

Boot from usb the boot pause for the usb is to short to find the puppy sfs file, to cure i edit intrid/sbin/usbwait when using fossa.
S15pup does not have the above file so how do i extend time from 5 sec to 20

Thanks

Last edited by bigpup on Wed Dec 28, 2022 8:14 pm, edited 1 time in total.
Reason: Added more info to topic subject and added solved to show fix was found
User avatar
gychang
Posts: 552
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 51 times

Re: S15pup64

Post by gychang »

have you tried usbwait=* seconds on the boot parameter?, this may help viewtopic.php?t=3220

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

Re: S15pup64

Post by Firefly »

Hi
usbwait=20 as a kernal option does not work, still get "waiting for a slow usb" for 5 seconds then error of not finding sfs file on hard drive. so usbwait=20 does not effect that part, will see if i can find where the error message is thrown in intrd.zg.

Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

Re: S15pup64

Post by Firefly »

Solved
Expanded intrd file by clicking on file did a search in intrd/init file for slow, (error is "waiting 5 seconds for slow storage devices").

line 32 L_WAITING_FOR_DEV='Waiting %s seconds for slow storage devices.' #printf

search for L_WAITING_FOR_DEV
line737
wait_for_dev() {
echo -n "$(printf "$L_WAITING_FOR_DEV" "$WAITDEV")" > /dev/console

search for WAITDEV

line 860
WAITDEV=5

Changed WAITDEV=20

Then clicked on initrd file to load changes.

Loads and boot fine.

ps how do i marked post title solved??

User avatar
mikeslr
Posts: 2769
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 171 times
Been thanked: 830 times

Re: S15pup64

Post by mikeslr »

Firefly wrote: Wed Dec 28, 2022 5:55 pm

Solved
Expanded intrd file by clicking on file did a search in intrd/init file for slow, (error is "waiting 5 seconds for slow storage devices").

line 32 L_WAITING_FOR_DEV='Waiting %s seconds for slow storage devices.' #printf

search for L_WAITING_FOR_DEV
line737
wait_for_dev() {
echo -n "$(printf "$L_WAITING_FOR_DEV" "$WAITDEV")" > /dev/console

search for WAITDEV

line 860
WAITDEV=5

Changed WAITDEV=20

Then clicked on initrd file to load changes.

Loads and boot fine.

ps how do i marked post title solved??

Having signed in, open to your first post, click on the 'Edit' button, and change the title to include the word 'Solved'.
By the way, nice piece of 'detective work'. :)

Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

Re: S15pup64 wait time for finding USB drive set too low (solved)

Post by Firefly »

I have some python experience so code structure is not to strange for me. The trick i used was to look for the error print.

Older puppys have a script that alters the time, even older does not have a time but waits untill sfs found if not boot fails.

So can even alter time when using iso on ventoy or when using grub4dos stick.

Thanks for the solved info

Post Reply

Return to “SPups”