Problem by installing to USB


Forum: USB booting
Topic: Problem by installing to USB
started by: MaxG

Posted by MaxG on Nov. 30 2005,14:05
Hello everybody,

I do not get DSL installed on my USB Stick. I tried to mount the stick before
install but it did not work either...


When i try the DSL USB Pendrive Installation i get the following error messages:

DSL pendrive BIOS boot FAT USB_HDD install/update.

1. Your BIOS must support USB-HDD booting.
2. A single FAT partition will be made.
3. Backup/Restore will be pre setup.
4. Do not have your pendrive mounted.

No responsibility for data loss or hardware damage!

Enter the device name of pendrive.(EXAMPLE: sda): DSL
Is this an installation or upgrade? (i,u) i
Use DSL iso from [L]iveCD, from [F]ile, from [W]eb. (l/f/w): l
List boot options:
Example: vga=normal toram ssh nfs syslog lpd monkey ftp:
Choose language/keyboard if other than english:
Example: cs da de es fr nl it pl ru sk: de
Ready to proceed. (y/..)? y

Last change to exit before destroying all data on /dev/DSL
Continue (y/..)? y

Writing zero's to beginning of /dev/DSL  Done.
Partitioning /dev/DSL
/dev/DSL not supported by hdparm
Formatting /dev/DSL1
0+1 records in
0+1 records out
Applying syslinux to pendrive partition.
/dev/DSL1: No such file or directory
Setting up system image on /mnt/DSL1...mkdir: Cannot create directory `/mnt/pendrive': File exists
mount: special device /dev/DSL1 does not exist
Error mounting usb device
Press Enter key to continue.

-------------------------
And with grep scsi -A 3 I get the following:


scsi1 : SCSI emulation for USB Mass Storage devices
 Vendor: USB       Model: Flash Disk        Rev: 2.00
 Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 2048000 512-byte hdwr sectors (1049 MB)
sda: Write Protect is off
sda: sda1



Thanks for any help on how to solve this problem.

Max

Posted by cbagger01 on Nov. 30 2005,18:54
This means that your stick is a 1GB drive and it is located at device name "sda"

So type in "sda" at the device name of pendrive prompt, not "DSL"

Posted by pwillis on Dec. 02 2005,02:09
[So type in "sda" at the device name of pendrive prompt, not "DSL"]

Actually, I have this same problem and I am using the correct device.

Anyone have any other ideas?

Posted by cbagger01 on Dec. 03 2005,04:44
Make sure that your device name is really sda

Also, make sure that you use lowercase letters

sda

NOT

SDA

Posted by MaxG on Dec. 05 2005,14:42
Thanks for all the replies,
Now i can install the USB - Key.

Max

Posted by redshift on Dec. 05 2005,16:00
I am having the same proplem as above
I am typing    sda   at the prompt and the install cant find the drive.
I am using  a 1 gig sandisk cruser mini.
any tip?

Posted by cbagger01 on Dec. 05 2005,23:29
Type:

Code Sample
dmesg | grep scsi -A 3


in a terminal window to find your stick's device name.

It might be "sda" or "sdb" or some other name.

Posted by redSHIFT on Dec. 07 2005,13:51
Quote (cbagger01 @ Dec. 05 2005,18:29)
Type:

Code Sample
dmesg | grep scsi -A 3


in a terminal window to find your stick's device name.

It might be "sda" or "sdb" or some other name.

OK
I have and this is what i get:


kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
--
hdb: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
 Vendor: TSSTcorp  Model: CD/DVDW TS-L532A  Rev: QG52
 Type:     CD-ROM                                                  ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub


SO....!
Now what?
my USB drive lights up (if that is significant)

Posted by redSHIFT on Dec. 07 2005,14:07
Also my bios is set to boot from USB

I had a thumbdrive app suite installed on the USB drive and when I would leave it in the computer and reboot is would try to boot from the stick. This is in Winxp

Posted by cbagger01 on Dec. 07 2005,17:53
This tells me that your CD/DVD drive was detected at devicename sr0

But there is no mention of your USB drive.

For example, when I have my Sandisk 1GB Cruzer Mini, I see this info:

Code Sample
scsi3 : SCSI emulation for USB Mass Storage devices
 Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.1
 Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
SCSI device sdb: 2001888 512-byte hdwr sectors (1025 MB)
sdb: Write Protect is off
sdb: sdb1


Maybe your USB controller is not working correctly.

If you type:

lsmod

you should see a uhci, ohci or ehci driver module present, and with your drive plugged in you should see usb-storage present.

You can also see this on the Modules tab of the System Stats program.

Posted by redSHIFT on Dec. 08 2005,15:29
Quote (cbagger01 @ Dec. 07 2005,12:53)
This tells me that your CD/DVD drive was detected at devicename sr0

But there is no mention of your USB drive.

For example, when I have my Sandisk 1GB Cruzer Mini, I see this info:

Code Sample
scsi3 : SCSI emulation for USB Mass Storage devices
 Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.1
 Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
SCSI device sdb: 2001888 512-byte hdwr sectors (1025 MB)
sdb: Write Protect is off
sdb: sdb1


Maybe your USB controller is not working correctly.

If you type:

lsmod

you should see a uhci, ohci or ehci driver module present, and with your drive plugged in you should see usb-storage present.

You can also see this on the Modules tab of the System Stats program.

OK
I typed    lsmod   and near the bottom of the list it shows

usb-storage                  61952      0 (unused)
usb-uhci                        21516      0(unused)
usbcore                        58016      1[hid usb-storage usb-uhci]

I am assuming that the zeros mean that the drive is not being recognized

Any thoughts on what to try next? Bios  update?

This is a Gateway 680 portable. I would try another drive but I'm in mainland China , not very easy for me.

Posted by cbagger01 on Dec. 08 2005,18:03
Hmm..

usb-storage is the driver for USB mass storge devices, and usb-uhci is the USB 1.1 speed driver for UHCI controllers.

Maybe you can try manually loading the USB2.0 driver from a terminal window:

sudo su
modprobe ehci-hcd

and then plug your USB drive in and wait a few seconds for it to register.

Then try the dmesg command again to see if your drive has been found.

Also, try different physical USB ports if your computer has more than 1 port.

Posted by redSHIFT on Dec. 09 2005,17:40
Quote (cbagger01 @ Dec. 08 2005,13:03)
Hmm..

usb-storage is the driver for USB mass storge devices, and usb-uhci is the USB 1.1 speed driver for UHCI controllers.

Maybe you can try manually loading the USB2.0 driver from a terminal window:

sudo su
modprobe ehci-hcd

and then plug your USB drive in and wait a few seconds for it to register.

Then try the dmesg command again to see if your drive has been found.

Also, try different physical USB ports if your computer has more than 1 port.

after a couple trys I was able install  USB HDD and it looked successful.

Then booting from usb it says
Can't find KNOPPIX filesystem, sorry.
Dropping to a very limited shell.
press reset button to quit.

So I  used cfdisk /dev/sda  to partion the drive into a bootable 350mb linux partition and 650mb fat32 partition and then installed DSL USBHDD again.

It failed again in the same way when trying to boot from the stick.

now what do you think?

Posted by cbagger01 on Dec. 09 2005,23:03
Try DSL 2.1 RC1

It has a fix for the boottime automatic loadup of the ehci-hcd module

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.