Find the answer to your Linux question:
Results 1 to 7 of 7
Read in redhat forum about USB flashdrive install, but not quite there yet. Can someone help? Using GE intelligent stick. Plugged into usb port and MCC hdwr shows device as: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2004
    Location
    Texas, USA
    Posts
    107

    So Close....


    Read in redhat forum about USB flashdrive install, but not quite there yet. Can someone help?
    Using GE intelligent stick.
    Plugged into usb port and MCC hdwr shows device as:
    new devfs device /dev/scsi/host1/bus0/target0/lun0/disc
    old device file /dev/sda

    user guide says to use mount and follow:
    # cd /etc/sysconfig/ <works
    # cat /etc/sysconfig/hwconf | more <doesn't work ..says no directory
    check dev inf in hwconf and write dwn mnt point
    create directory in /mnt with:
    # mkdir /mnt/usbdisk
    #mount /dev/sda1 /mnt/usbdisk

    OK here's the input and output in my terminal:
    [user@localhost user]$ su
    Password:
    [root@localhost user]# cd /mnt/
    [root@localhost mnt]# mkdir usbflash
    [root@localhost mnt]# ls /mnt/
    cdrom/ fd0/ usbdisk/ usbflash/
    [root@localhost mnt]# mount /dev/sda1 /mnt/usbflash
    mount: special device /dev/sda1 does not exist
    [root@localhost mnt]# mount /dev/sda1 /mnt/usbdisk
    mount: special device /dev/sda1 does not exist
    [root@localhost mnt]#

    how to create this device?
    Thanks

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    What is your output from
    Code:
    fdisk -l
    It might be so that your /dev/sda1 does not exist

  3. #3
    Linux Newbie
    Join Date
    Dec 2004
    Location
    Texas, USA
    Posts
    107

    flashdrive install

    Thanks for the reply ....here is the output of my query, sorry about the 1, I'm new to CL AND my eyesight is bad.

    [user@localhost user]$ fdisk -1
    bash: fdisk: command not found
    [user@localhost user]$ su
    Password:
    [root@localhost user]# fdisk -1
    fdisk: invalid option -- 1

    Usage: fdisk [-b SSZ] [-u] DISK Change partition table
    fdisk -l [-b SSZ] [-u] DISK List partition table(s)
    fdisk -s PARTITION Give partition size(s) in blocks
    fdisk -v Give fdisk version
    Here DISK is something like /dev/hdb or /dev/sda
    and PARTITION is something like /dev/hda7
    -u: give Start and End in sector (instead of cylinder) units
    -b 2048: (for certain MO disks) use 2048-byte sectors
    [root@localhost user]# fdisk -l

    Disk /dev/hda: 18.4 GB, 18480365568 bytes
    255 heads, 63 sectors/track, 2246 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 764 6136798+ 83 Linux
    /dev/hda2 765 2246 11904165 5 Extended
    /dev/hda5 765 827 506016 82 Linux swap
    /dev/hda6 828 2246 11398086 83 Linux
    [root@localhost user]#

    hope this helps

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    Sorry to ask, but is this printout when you have the USB flash inserted?
    Because it is not avalible as a disk there.

    Please send the output from as well
    Code:
    lsusb

  6. #5
    Linux Newbie
    Join Date
    Dec 2004
    Location
    Texas, USA
    Posts
    107

    GE intelligent stick

    Mandrake 10.0
    KDE 3.2
    Here is some input and output:
    [user@localhost user]$ su
    Password:

    without stick inserted:
    [root@localhost user]# lsusb
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000

    with stick inserted:
    [root@localhost user]# lsusb
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 002: ID 0ea0:2168 Ours Technology, Inc.
    Bus 001 Device 001: ID 0000:0000

    without stick:
    [root@localhost user]# fdisk -l

    Disk /dev/hda: 18.4 GB, 18480365568 bytes
    255 heads, 63 sectors/track, 2246 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 764 6136798+ 83 Linux
    /dev/hda2 765 2246 11904165 5 Extended
    /dev/hda5 765 827 506016 82 Linux swap
    /dev/hda6 828 2246 11398086 83 Linux

    with stick:
    [root@localhost user]# fdisk -l

    Disk /dev/hda: 18.4 GB, 18480365568 bytes
    255 heads, 63 sectors/track, 2246 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 764 6136798+ 83 Linux
    /dev/hda2 765 2246 11904165 5 Extended
    /dev/hda5 765 827 506016 82 Linux swap
    /dev/hda6 828 2246 11398086 83 Linux

    Disk /dev/sda: 65 MB, 65273856 bytes
    3 heads, 42 sectors/track, 1011 cylinders
    Units = cylinders of 126 * 512 = 64512 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 ? 6175682 15235283 570754815+ 72 Unknown
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(357, 116, 40) logical=(6175681, 2, 19)
    Partition 1 has different physical/logical endings:
    phys=(357, 32, 45) logical=(15235282, 0, 7)
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 ? 1338806 16704110 968014120 65 Novell Netware 386
    Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(288, 115, 43) logical=(1338805, 2, 9)
    Partition 2 has different physical/logical endings:
    phys=(367, 114, 50) logical=(16704109, 0, 2
    Partition 2 does not end on cylinder boundary.
    /dev/sda3 ? 14840330 30205633 968014096 79 Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(366, 32, 33) logical=(14840329, 0, 12)
    Partition 3 has different physical/logical endings:
    phys=(357, 32, 43) logical=(30205632, 0, 25)
    Partition 3 does not end on cylinder boundary.
    /dev/sda4 ? 1 28866877 1818613248 d Unknown
    Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(372, 97, 50) logical=(0, 0, 1)
    Partition 4 has different physical/logical endings:
    phys=(0, 10, 0) logical=(28866876, 2, 36)
    Partition 4 does not end on cylinder boundary.
    Partition table entries are not in disk order

    manual says to go to this dir,
    [root@localhost user]# cd /etc/sysconfig/

    then to enter this:
    #cat /etc/sysconfig/hwconf | more
    ..but says this file does not exist
    this tells me that etc and sysconfig exist but not hwconf, which I assume is hardware configuration?

    anyway....heres what's in sysconfig

    [root@localhost sysconfig]# ls
    alsa drakconnect installkernel network-scripts/ system*
    autofsck harddisks keyboard* nfs* usb
    bootsplash harddrake2/ mouse* pcmcia* userdrake*
    clock* hotplug* msec postfix xinetd
    console/ i18n* network* rawdevices
    desktop* init networking/ syslog


    [root@localhost sysconfig]# cd /mnt
    [root@localhost mnt]# ls
    cdrom/ fd0/ usbdisk/ usbflash/

    then manual says to mount dev by:
    [root@localhost mnt]# mount /dev/sdal /mnt/usbdisk
    mount: special device /dev/sdal does not exist
    [root@localhost mnt]# mount /dev/sda1 /mnt/usbdisk
    mount: special device /dev/sda1 does not exist
    [root@localhost mnt]#

    Am I close? I think I have to create this device. The Mandrake control center hdwr detection in the GUI does acknowledge that something is there:
    this is what's listed when the stick i s IN.
    Bus: SCSI

    Location on the bus: 0:0:0

    Channel: 00

    Description: USB |Flash Disk

    New devfs device: /dev/scsi/host3/bus0/target0/lun0/disc

    Old device file: /dev/sda

    Module: unknown

    Floppy format: I-Stick2 IntelligentStick

    Media class: hd (Mass Storage|SCSI|Bulk (Zip))

    Sorry about a side question...newb.
    What is green, red, blue text in terminal?
    Anyway...Hope all this helps
    Thanks for the help

  7. #6
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    The coloring is an easy answered question here
    Default:
    Green = executable file
    Red = Compressed file
    Blue = Directory
    Pink = Image file

    Back to you flash drive, is this flash drive accessible from other computers/OS? Because "fdisk -l" claims there are some issues with your partition table. Have you used it as a Novell Netware volume?

    If it is a big NO from all above questions, try to re-partition your flash drive. Otherwise, just do a quick re-try on another computer once again.
    Something is messed up on the partition, however you Linux finds it as a flash-drive.

  8. #7
    Just Joined!
    Join Date
    Jul 2004
    Location
    uk, cambs + herts
    Posts
    34
    try as su
    Code:
    mount /dev/sda2 /mnt/usbdisk
    the other three (?) prtitions are unknown so probaly don't have the right file system module

    the "<kernel version>" needs to be replaced with what evers in /lib/modules normally starting 2.6.
    Code:
    cd /lib/modules/<kernel version>/kernel/fs
    ls
    just check for things fat,vfat and ntfs there the normal for usb pens
    if one is not there
    Code:
    modprobe <missing fs>
    eg
    modprobe vfat
    if it comes back with "FATAL: Module vfat not found."
    you will have to down load it first

    g

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •