Puppy 2.10 won't boot from USB flash stick

Please post any bugs you have found
Message
Author
pop-pop
Posts: 29
Joined: Sat 10 Dec 2005, 13:42
Location: US - North Carolina

Puppy 2.10 won't boot from USB flash stick

#1 Post by pop-pop »

On my Dell laptop (Inspiron 1100) previous Puppy versions have booted fine from a USB flash memory stick.
Both beta and final Puppy 2.10 start the kernel fine, print a couple of pages of messages, but stall at the final message below and here a few of the messages:

Code: Select all

ERROR, cannot find Puppy on usbflash boot media
...
PUPMODE=1  PDEV=
---
SCSI device sda: 502332 512-byte hdwr sectors (257MB)
...
sd 0:0:0:0: Attached scsi removable disk sda
Seems like boot process may be getting ahead of attaching the USB stick. Is a short delay needed maybe?

Puppylinux-Fan
Posts: 1
Joined: Thu 14 Sep 2006, 10:33

2.10+USB

#2 Post by Puppylinux-Fan »

..experienced exactly the same problem

Comapq E500 + 512MB Mini Curzer

greenfrog
Posts: 13
Joined: Thu 08 Dec 2005, 18:50

#3 Post by greenfrog »

Same problem

HP Pavilion ZV5340US

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#4 Post by Sit Heel Speak »

Same here. I can't get Puppy 2.02 or Puppy 2.10 (beta or final) to boot from a USB stick using the wakepup2-02 floppy (SOLVED, see my later message, below).
Last edited by Sit Heel Speak on Wed 20 Sep 2006, 00:37, edited 1 time in total.

shankargopal
Posts: 295
Joined: Sat 03 Dec 2005, 11:30

#5 Post by shankargopal »

Exactly the same problem with a Kingston Data Traveller II+ using USB 2.0.

I took a look at init and saw that new code has been included to auto-detect when the USB devices have been detected. Can't quite understand it well enough to try and fix the error,

Wonder if jesse has any idea?

Oh well, back to 2.02... :(

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#6 Post by Sit Heel Speak »

It just occurred to me...waaaaay back last April, Barry requested of us that if USB in Puppy 2 isn't working, we should post the output of several commands. The post is at

http://www.murga.org/~puppy/viewtopic.php?t=7739

sml
Posts: 162
Joined: Tue 10 Jan 2006, 02:56

#7 Post by sml »

Same problem for me also. Problem occurs with both USB booting and CD booting.

But before I found this message, I posted a thread here ...
http://www.murga.org/~puppy/viewtopic.php?t=11014

sml
Posts: 162
Joined: Tue 10 Jan 2006, 02:56

#8 Post by sml »

Also found this thread ...
http://www.murga.org/~puppy/viewtopic.p ... highlight=

All unresolved to date.

vern72023
Posts: 158
Joined: Mon 26 Dec 2005, 05:15
Location: Jacksonville Fl

#9 Post by vern72023 »

same problem with a victorinix usb that boots fine with 202
george

sml
Posts: 162
Joined: Tue 10 Jan 2006, 02:56

#10 Post by sml »

Barry is on to it ... hopefully we have given him enough info.
http://www.puppyos.net/blog/index.php?e ... 914-190736

sml
Posts: 162
Joined: Tue 10 Jan 2006, 02:56

#11 Post by sml »

My notebook (LG TX Express) fails with 2.10, 2.02, 2.00. All in the same manner. When did the USB detection code change? I'll try a previous version.

vern72023
Posts: 158
Joined: Mon 26 Dec 2005, 05:15
Location: Jacksonville Fl

Wait for inits

#12 Post by vern72023 »

This was probably an sloppy fix but I find it worked for me
In the sbin/init in the initrd for 210 I added a 10 second delay in the usbstoragecompletionfunc()
if [ ! "`lsmod | grep "^usb_storage"`" = "" ];then #precaution.
echo -n "USB-Storage: Detecting connected device(s)..."
SLPCNT=0;USBSTORAGES=0;AVAILABLEUSBSTORAGES=0

i changed this to
if [ ! "`lsmod | grep "^usb_storage"`" = "" ];then #precaution.
echo -n "USB-Storage: Pausing for 10secs to init USB device(s)..."
sleep 10
echo -n "USB-Storage: Detecting connected device(s)..."
SLPCNT=0;USBSTORAGES=0;AVAILABLEUSBSTORAGES=0

this at least gets 210 running on my usb stick and my usb 60GB drive so until Barry comes out with the official fix I do have a workaround

NOTE this works for my configuration but I am not recomending it to anyone, and I have a certain freedom to experiment as I have my hardware set up to boot in multiple ways from multiple devices so I will not be dead in the water if the hacks fail !
George
george

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#13 Post by BarryK »

Okay, I fixed it! Go to my News Blog for September 16th:
http://www.puppyos.net/news/

Let me know if it works for you!

After successfully booting from USB, open /initrd/sbin/init and search for
text 'v2.10r1' and you will see the fix.

vern72023
Posts: 158
Joined: Mon 26 Dec 2005, 05:15
Location: Jacksonville Fl

Works

#14 Post by vern72023 »

Works nicely Barry
very elegant

George
george

karlandtanya
Posts: 8
Joined: Sat 02 Sep 2006, 14:56

Excellent! Much improvement!

#15 Post by karlandtanya »

BarryK wrote:Okay, I fixed it! Go to my News Blog for September 16th:
http://www.puppyos.net/news/

Let me know if it works for you!

After successfully booting from USB, open /initrd/sbin/init and search for
text 'v2.10r1' and you will see the fix.
Works:
Note: Alternate boot images (from bootfat project, IIRC) used.
Updated initrd.gz used.
/dev/sd*1 used.
* USB stick boot on Dell Latitude D500 (laptop) WORKS
* USB stick boot on Dell Precision 370 with SATA only HDD WORKS

Broken:
Dell laptop using superfloppy (dev/sda) BROKEN
Once I have a prompt, though, I can mount /dev/sda
Output from the following commands is attached FYI
# dmesg
# disktype /dev/sda
# probedisk
# probepart

I do a little computer rescue work--not very often--but when I do puppy in my pocket is incredibly convenient.

Thank you and all the team for all your work.
Attachments
outs.zip
Command output when booting superfloppy.
(3.68 KiB) Downloaded 347 times
Last edited by karlandtanya on Mon 18 Sep 2006, 12:12, edited 1 time in total.

pop-pop
Posts: 29
Joined: Sat 10 Dec 2005, 13:42
Location: US - North Carolina

#16 Post by pop-pop »

Hmmm.. My post started this thread and other users seem to be able to boot from USB with the fixed initrd.gz file. My Dell laptop still won't boot from a USB flash stick. With the new initrd, here are the last several console lines:

Code: Select all

USB Mass Storage support registered
 1 2 3 4  Vendor: USB2.0  Model: Falsh Disk      Rev:  2.00
   Type    Direct -Access                                     ANSI SCSI Revision: 02
SCSI device sda:  502332 512-byte hdwr sectors (257 MB)
sda: Write Protect is off
sda: assuming drive cache:  write through
 sda: unknown partition table
sd 0:0:0:0: Attached SCSI removable disk sda
  5
USB-Storage:  Device scan complete, found 1 devices
ERROR,  cannot find Puppy on USB flash boot media
PUPMODE=1  PDEV=1
Exited to initial ramdisk commandline...
/bin/sh:  can't acccess tty: job control turned off
#
Noting the "unknown partition table", I reformatted the flash stick with Windows XP with FAT 32 and a volume label, re-installed Puppy 2.10 from live CD, replaced initrd.gz with the updated version, but still no boot.

MUT sees the both the volume label and files just fine.

shankargopal
Posts: 295
Joined: Sat 03 Dec 2005, 11:30

#17 Post by shankargopal »

Barry's fix did work fine for me with a Kingston Data Traveller II+.

What kind of USB stick are you using? Have you tried using fdisk or cfdisk to take a look at the partition table? Best thing may be to use cfdisk / fdisk to delete all existing partitions, create a new one and then format it in Win XP.

greenfrog
Posts: 13
Joined: Thu 08 Dec 2005, 18:50

#18 Post by greenfrog »

Mine will not boot with the fix either. Still hangs trying to find the boot USB stick.

pop-pop
Posts: 29
Joined: Sat 10 Dec 2005, 13:42
Location: US - North Carolina

#19 Post by pop-pop »

After a few tries, I finally got Puppy 2.10 to boot from USB flash.

Last try used fdisk, mkdosfs (no volume label), and the new initrd.gz.

This no-name flash stick was a replacement for one that failed and this is my first time using it.

vern72023
Posts: 158
Joined: Mon 26 Dec 2005, 05:15
Location: Jacksonville Fl

#20 Post by vern72023 »

I have had problems with usb sticks formatted out of XP with fat32.
After reading the syslinux forum and a lot of posts on this forum and thru trial and error myself I found that its was a combination of how the BOS saw certain USB sticks and how syslinux handled that.
Some sticks which would not work when configured with fat32 , worked when reconfigured as fat

george
george

Post Reply