Posted: Sun 08 Apr 2012, 18:35
Initial volume is too low 82%, 100% is best.
READ-ONLY Archive
https://oldforum.puppylinux.com/
Code: Select all
busybox: sending ioctl 4c01 to a partition!
same problem...alec78 wrote:Hi All,
Did a manual update to a frugal install on the hard disc, deleted the save file so there would be no conflicts, edited the boot.lst file, shut down and booted into Wary 5.3, result, "Searching for Puppy Files ... puppy_wary_5.3.sfs not found. Dropping out to initial ramdisc console . . ."
Booted into Arch on the same laptop, navigated to the puppy_wary_5.3.sfs file, in the same directory as the initrd and vmlinuz files, and checked its permissions, Arch said it had none, so I changed it to "read only", shut down and re=booted into Wary, result exactly as before, dropped to ramdisc console.
Anyone have any ideas before I have to burn a CD?
Cheers
Code: Select all
# diff /initrd/pup_ro2/usr/local/petget/findnames.sh /usr/local/petget/findnames.sh
56c56
< pupmessage -bg red -center -title "$(getext 'PPM find')" "$(gettext 'Sorry, no matching package name')" & #110223 run as separate process.
---
> pupmessage -bg red -center -title "$(gettext 'PPM find')" "$(gettext 'Sorry, no matching package name')" & #110223 run as separate process.
Code: Select all
# diff /initrd/pup_ro2/sbin/init /sbin/init
129c129
< exec chroot . sh -c "exec /bin/busybox init" <dev/console >dev/console 2>&1
---
> exec chroot . sh -c "exec /bin/busybox init" </dev/console >/dev/console 2>&1
137c137
< exec /bin/busybox init
---
> exec /bin/busybox reboot -f
As Wary 5.2.2 seems to work fine for you, please do post these two files:alec78 wrote:Hi all,
Well neither the ATAHD file trick nor an Universal frugal install (twice) worked, all gave the same error message of:
"puppy_wary_5.3.sfs not found".
Have reverted back to Wary 5.2.2.
Ho Hum
Code: Select all
# diff /initrd/pup_ro2/sbin/pup_event_frontend_d /sbin/pup_event_frontend_d
783c783
< [ "`echo "$RUNPS" | grep -E 'xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue
---
> [ "`echo "$RUNPS" | grep -E 'make|gcc|cc|cmake|imake|xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue
nubc wrote:What's with the dominating blue color on desktop? The last few versions of Wary and Racy have this blue hue that puzzles me. I thought the ubiquitous blue desktop was out of vogue, and I have to agree with the opinion that all that blue is kinda ugly. Fonts look a little un-tweaked as well, compared to my Wary 5.1.1 full install.
Code: Select all
# diff /initrd/pup_ro2/root/.jwm/themes/DeepBlueBold-jwmrc /root/.jwm/themes/DeepBlueBold-jwmrc
10d9
< <Corner>#4A5966</Corner>
16d14
< <Corner>#DCDAD5</Corner>
How about copying some themes from other Puppy versions:nubc wrote:What's with the dominating blue color on desktop? The last few versions of Wary and Racy have this blue hue that puzzles me. I thought the ubiquitous blue desktop was out of vogue, and I have to agree with the opinion that all that blue is kinda ugly. Fonts look a little un-tweaked as well, compared to my Wary 5.1.1 full install.
Code: Select all
pupdialog --background '#FFFF80' --colors --title "$T_canceltitle" --backtitle "$T_title" --timeout 240 --countdown "$T_countdown" --extra-button --ok-label "$(gettext 'SAVE TO FILE')" --extra-label "$(gettext 'SAVE TO CD')" --cancel-label "$T_notsave" --yesno "$yesno" 0 0 >/dev/console
Code: Select all
# diff /initrd/pup_ro2/sbin/pup_event_frontend_d /sbin/pup_event_frontend_d
37a38
> [ "$DISPLAY" = "" ] && exit #X not running.
39a41,59
> if [ "$1" = 'stop' ];then
> me_pid=$$
> echo "me_pid='$me_pid'"
> echo "'`pidof -o %PPID pup_event_frontend_d`'"
> echo "'`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//"`'"
> echo "'`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//;s/ //g"`'"
> echo -n "Stopping $0 ..."
> echo 'frontend_d stop' >/tmp/wmexitmode.txt
> while [ "`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//;s/ //g"`" ];do
> sleep 2;c=$((c+1));[ $c -gt 9 ] && break;done
> if [ "`pidof -o %PPID pup_event_frontend_d|sed "s/$me_pid//;s/ //g"`" ];then
> echo -e "\e[70G\e[1;31m[failed]\e[0;39m"
> else
> echo -e "\e[72G\e[1;32m[done]\e[0;39m"
> fi
> rm /tmp/wmexitmode.txt
> exit 0
> fi
>
59,60d78
< [ "$DISPLAY" = "" ] && exit #X not running.
<
104a123,147
> #support warning for low battery
> BAT_0_info_file=/proc/acpi/battery/BAT0/info
> BAT_0_state_file=/proc/acpi/battery/BAT0/state
> BAT_0='0'
> if [ -f "$BAT_0_info_file" -a -f "$BAT_0_state_file" ];then
> BAT_0_DESIGN_CAPACITY=`grep 'design capacity:' "$BAT_0_info_file"`
> BAT_0_DESIGN_CAPACITY="${BAT_0_DESIGN_CAPACITY//[^[:digit:]]/}"
> BAT_0_WARN=$((BAT_0_DESIGN_CAPACITY/15))
> BAT_0_CURRENT=`grep 'remaining capacity:' "$BAT_0_state_file"`
> BAT_0_CURRENT="${BAT_0_CURRENT//[^[:digit:]]/}"
> [ "$BAT_0_DESIGN_CAPACITY" -a "$BAT_0_CURRENT" ] && BAT_0='1'
> fi
>
670c713
<
---
> echo "$0: Starting daemon mode"
756c799
< continue
---
> continue #sleep 2seconds+2seconds
758c801
< TOGGLE=0
---
> TOGGLE=0 #go on
766a810,821
> MINUTECNT=$((MINUTECNT+4))
> if [ $MINUTECNT -gt 59 ];then #come in here every minute...
> MINUTECNT=0
> if [ "$BAT_0" = '1' ];then
> BAT_0_CURRENT=`grep 'remaining capacity:' "$BAT_0_state_file"`
> BAT_0_CURRENT="${BAT_0_CURRENT//[^[:digit:]]/}"
> if [ $BAT_0_CURRENT -lt $BAT_0_WARN ];then
> aplay /usr/share/audio/2barks.au;aplay /usr/share/audio/2barks.au
> pupmessage -bg red -timeout 30 "Battery State is: $BAT_0_CURRENT
> better to plug in ac adapter or poweroff the laptop "
> fi #warn
> fi #bat
769,771d823
< MINUTECNT=`expr $MINUTECNT + 4`
< if [ $MINUTECNT -gt 59 ];then #come in here every minute...
< MINUTECNT=0
---
> MOUSECNT=$((MOUSECNT+60))
778,779c830,832
< fi
< fi
---
> fi #mouse powertimeout
> fi #minutecount
783c835
< [ "`echo "$RUNPS" | grep -E 'xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue
---
> [ "`echo "$RUNPS" | grep -E 'make|gcc|xorriso|xorrecord|xine|petget|wget|axel|dotpup|mplayer|gcurl|gimv|burniso2cd|growisofs|cdrecord|pcdripper|xfmedia|xmms|ripoff|pdvdrsab|pburn|mhwaveedit|installpkg\.sh|downloadpkgs\.sh|removepreview\.sh'`" != "" ] && continue
816c868
<
---
> echo "$0: Stopped."
#
see:vicmz wrote:On another topic, the attached file contains eight more menu entry files that have translations that can only be fixed by replacing the equivalent files in Woof. This time I made sure there weren't any more of them. No need to rush, they can be included for future releases.
and update of menu entries was perfectif [ -d usr/share/applications.in ];then
# for ADESKTOPFILE in `find usr/share/applications.in -mindepth 1 -maxdepth 1 -type f -name '*.desktop' | tr '\n' ' '`
# do
# ABASEDESKTOP="`basename $ADESKTOPFILE`"
# if [ -f usr/share/applications/${ABASEDESKTOP} ];then
# if [ "`grep '^Name\[de\]' usr/share/applications.in/${ABASEDESKTOP}`" != "" ];then
# if [ "`grep '^Name\[de\]' usr/share/applications/${ABASEDESKTOP}`" = "" ];then #L18L
# #aaargh, these accursed back-slashes! ....
# INSERTALINE="`grep '^Name\[de\]' usr/share/applications.in/${ABASEDESKTOP} | sed -e 's%\[%\\\\[%' -e 's%\]%\\\\]%'`"
# sed -i -e "s%^Name=%${INSERTALINE}\\nName=%" usr/share/applications/${ABASEDESKTOP}
# fi
# fi #L18L
# fi
# done
#rm -r -f usr/share/applications.in
#...don't remove it. might be useful for ppm when install future packages.
# copy applications.in in applications
cp -u /usr/share/applications.in/* /usr/share/applications #L18L
fi
Code: Select all
if [ -d /usr/share/applications.in ];then
for ADESKTOPFILE in `find /usr/share/applications.in -mindepth 1 -maxdepth 1 -type f -name '*.desktop' | tr '\n' ' '`
do
ABASEDESKTOP="`basename $ADESKTOPFILE`"
#if [ -f usr/share/applications/${ABASEDESKTOP} ];then
#if [ "`grep '^Name\[de\]' usr/share/applications/${ABASEDESKTOP}`" = "" ];then
if [ "`grep '^Name\[de\]' /usr/share/applications.in/${ABASEDESKTOP}`" != "" ];then
#aaargh, these accursed back-slashes! ....
#INSERTALINE="`grep '^Name\[de\]' /usr/share/applications.in/${ABASEDESKTOP} | sed -e 's%\[%\\\\[%' -e 's%\]%\\\\]%'`"
#sed -i -e "s%^Name=%${INSERTALINE}\\nName=%" /usr/share/applications/${ABASEDESKTOP}
#append a line (easier)
INSERTALINE="`grep '^Name\[de\]' /usr/share/applications.in/${ABASEDESKTOP} `"
echo "${INSERTALINE}" >> /usr/share/applications/${ABASEDESKTOP}
fi
#fi
#fi
done
#rm -r -f usr/share/applications.in
#...don't remove it. might be useful for ppm when install future packages.
fi
Code: Select all
cp -u /usr/share/applications.in/* /usr/share/applications
Code: Select all
#Need to delete all Name[$LANG1]=..... in /usr/share/applications
cd /usr/share/applications
for AFILE in `ls *.desktop` ;do sed -i "/Name\[${LANG1}/d" $AFILE ;done
cd - # thus changes are possible too