USB Boot Error

Booting, installing, newbie
Post Reply
Message
Author
3dmatrix
Posts: 28
Joined: Sun 25 May 2008, 05:23

USB Boot Error

#1 Post by 3dmatrix »

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]
3dmatrix
Posts: 28
Joined: Sun 25 May 2008, 05:23

#2 Post by 3dmatrix »

Seems either no one understood the problem or no one has a solution for this !
[color=olive][u][size=100][b]PUPPY[/b] [b]IS GREAT[/b][/size][/u][/color]
User avatar
William (Dthdealer)
Posts: 146
Joined: Thu 30 Oct 2008, 06:41
Location: Australia (GMT +10)

#3 Post by William (Dthdealer) »

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.
Tomppo
Posts: 2
Joined: Sat 09 Jan 2010, 17:34

#4 Post by Tomppo »

I have a same kind of booting problem. I posted about it some time ago. On cold boot puppy does not find pup_save on USB. On reboot puppy finds it.

So William do you suggest that if BIOS is the problem there's no way to fix it?

Tomi
jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#5 Post by jafadmin »

Since it appears to be a hardware problem we'll need to know more. There are way to many versions, brands, and types of BIOS's to say. It can also be affected by the type of MBR you installed to the thumb drive.

For me, the most workable MBR option seems to be the "mbr.bin".
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#6 Post by mikeb »

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
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#7 Post by Béèm »

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
So this still isn't worked out then.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#8 Post by mikeb »

Heres the relevent code...it should wait as long as needed ....

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
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
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#9 Post by Béèm »

In what file is this code?
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
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#10 Post by mikeb »

This is in the init contained in initrd.gz

mike
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#11 Post by Béèm »

Thanks.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
3dmatrix
Posts: 28
Joined: Sun 25 May 2008, 05:23

#12 Post by 3dmatrix »

Sorry for a late reply - had been traveling :)
Well, in my case the problem does not occurs only during cold boot but just abt 50% of the times of any of the boot attempts.
What cud be wrong ?
[color=olive][u][size=100][b]PUPPY[/b] [b]IS GREAT[/b][/size][/u][/color]
Offenbach
Posts: 12
Joined: Wed 06 Jan 2010, 12:36
Location: Geraldton, Western Australia

damaged or unbootable USB partition

#13 Post by Offenbach »

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.
Post Reply