USB Boot Error
USB Boot Error
Among all my booting attempts from the USB pen drive, on abt 50% of all the attempts Puppy is not able to locate the save file which is on the same USB pen drive. When i press CTRL + ALT + DEL the system reboots and this time it certainly recognizes the save file. What cud be going wrong in this case ? Plz advise,
[color=olive][u][size=100][b]PUPPY[/b] [b]IS GREAT[/b][/size][/u][/color]
- William (Dthdealer)
- Posts: 146
- Joined: Thu 30 Oct 2008, 06:41
- Location: Australia (GMT +10)
People can take more than a day to respond!
Try this test. Boot cold ( from off state, not the temperature of the computer! ) a few times, and then reboot a few times.
If the pup_save never works on cold boots and always works on reboots then it is the BIOS that is the culprit. The bios is the program that starts when you press the power button and is stored on a chip on the motherboard. Some BIOSs are quirky and play dumb, not giving enough information unless you reboot.
Try this test. Boot cold ( from off state, not the temperature of the computer! ) a few times, and then reboot a few times.
If the pup_save never works on cold boots and always works on reboots then it is the BIOS that is the culprit. The bios is the program that starts when you press the power button and is stored on a chip on the motherboard. Some BIOSs are quirky and play dumb, not giving enough information unless you reboot.
This is due to the puppy init file in initrd.gz not allowing enough time for the usb drivers to load and is nothing to do with the bios otherwise the boot process would npot happen at all. Short of editing the boot script I'm not sure what else you can do apart from maybe trying a different flash stick to see if it responds faster. Is this on usb 1 or 2?
mike
mike
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
So this still isn't worked out then.mikeb wrote:This is due to the puppy init file in initrd.gz not allowing enough time for the usb drivers to load and is nothing to do with the bios otherwise the boot process would npot happen at all. Short of editing the boot script I'm not sure what else you can do apart from maybe trying a different flash stick to see if it responds faster. Is this on usb 1 or 2?
mike
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Heres the relevent code...it should wait as long as needed ....
actually thinking about it the usb interface on the machine side is being the slug and a soft reboot probably gives it a head start.
One machine used to boot the first time 9 times out of 10 from flash...but on the 10th occasions the reset button got it going .
mike
Code: Select all
if [ "$WAITUSB" = "yes" ];then #wait for device to register.
sleep 3 #2 v403 bumped it up to 3.
USBSTORAGES=0 ; CNTUSB=0
while [ $USBSTORAGES -eq 0 ];do
sleep 1
CNTUSB=`expr $CNTUSB + 1`
[ $CNTUSB -gt 25 ] && break
#v412 bugfix, added 'sort -u'...
USBSTORAGES=`/bin/dmesg | grep "usb-storage: device found at" | sort -u | wc -l | sed -e 's/ //g'`
#if booting from usb, USBSTORAGES must be non-zero...
[ "`echo "$PMEDIA" | grep 'usb'`" != "" ] && [ $USBSTORAGES -eq 0 ] && continue
[ $USBSTORAGES -eq 0 ] && break
AVAILABLEUSBSTORAGES=`/bin/dmesg | grep "usb-storage: device scan complete" | wc -l | sed -e 's/ //g'`
[ $USBSTORAGES -ne $AVAILABLEUSBSTORAGES ] && USBSTORAGES=0
done
[ $USBSTORAGES -ne 0 ] && sleep 2 #v4.00 put it back in. WELL...
fi
check_status 0 #END STEP ONE
One machine used to boot the first time 9 times out of 10 from flash...but on the 10th occasions the reset button got it going .
mike
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
In what file is this code?
Was it the solution Erikson proposed quite some time ago?
Was it the solution Erikson proposed quite some time ago?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Thanks.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
damaged or unbootable USB partition
I get this error message in bios.
DAMAGED OR UNBOOTABLE USB PARTITION
The officialpage on this subkect does not mention that you may have to reformat the USB drive as ext3 rather than the windows friendly vfat or ntfs file format supplied on most USB drives.
Puppy does most of this for you with a few clicks, but there are a few choices to make and the correct one is not obvious.
I am wondering whether OZDISC supplier of puppy linux preloaded USB uses the native ntfs and copies puppy431 liveCD contents onto usb to make it easy for bios to detect. According to the official page
http://puppylinux.org/main/index.php?fi ... 0Puppy.htm
this gives you a frugal instal.
I wouldlike to resolve the issue and just run puppy from the usb, but I have just managed to get WiFi working and terrified of changing any settings as I am using a Dell 1520 which has a temperamental WiFi at the best of times. I know, I know experiment, experiment, but sometimes I wish for a linux pixie to hold my hand and say - type this and it will all work like magic.
DAMAGED OR UNBOOTABLE USB PARTITION
The officialpage on this subkect does not mention that you may have to reformat the USB drive as ext3 rather than the windows friendly vfat or ntfs file format supplied on most USB drives.
Puppy does most of this for you with a few clicks, but there are a few choices to make and the correct one is not obvious.
I am wondering whether OZDISC supplier of puppy linux preloaded USB uses the native ntfs and copies puppy431 liveCD contents onto usb to make it easy for bios to detect. According to the official page
http://puppylinux.org/main/index.php?fi ... 0Puppy.htm
this gives you a frugal instal.
I wouldlike to resolve the issue and just run puppy from the usb, but I have just managed to get WiFi working and terrified of changing any settings as I am using a Dell 1520 which has a temperamental WiFi at the best of times. I know, I know experiment, experiment, but sometimes I wish for a linux pixie to hold my hand and say - type this and it will all work like magic.