comp.os.linux.setup, comp.os.linux.hardware, alt.comp.hardware, linux.debian.user - Setup

This is a discussion on comp.os.linux.setup, comp.os.linux.hardware, alt.comp.hardware, linux.debian.user - Setup ; trying to partition a USB pen drive with ext3 and VFAT file systems Hi, .. I have been tryin gto make partitions and ext3 and VFAT file systems on a pen drive using debian/knoppix. .. I would like to ultimately ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: comp.os.linux.setup, comp.os.linux.hardware, alt.comp.hardware, linux.debian.user

  1. comp.os.linux.setup, comp.os.linux.hardware, alt.comp.hardware, linux.debian.user

    trying to partition a USB pen drive with ext3 and VFAT file systems

    Hi,
    ..
    I have been tryin gto make partitions and ext3 and VFAT file systems
    on a pen drive using debian/knoppix.
    ..
    I would like to ultimately install Debian using debootstrap
    ..
    There are a number of odd symptoms I hadn't seen before. When I boot
    via cheat code "knoppix init 3" and run "fdisk -l /dev/sda*", I get,
    what to me looks like the drive is reporting on 2 different partition
    tables present on the same drive:
    ..
    // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - -
    Disk /dev/sda: 2029 MB, 2029518848 bytes
    17 heads, 32 sectors/track, 7286 cylinders
    Units = cylinders of 544 * 512 = 278528 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 7287 1981936 b W95 FAT32

    Disk /dev/sda1: 2029 MB, 2029502464 bytes
    63 heads, 62 sectors/track, 1014 cylinders
    Units = cylinders of 3906 * 512 = 1999872 bytes

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/sda1p1 ? 199216 491461 570754815+ 72 Unknown
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(357, 116, 40) logical=(199215, 34, 11)
    Partition 1 has different physical/logical endings:
    phys=(357, 32, 45) logical=(491460, 44, 51)
    Partition 1 does not end on cylinder boundary.
    /dev/sda1p2 ? 43188 538843 968014120 65 Novell
    Netware 386
    Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(288, 115, 43) logical=(43187, 17, 47)
    Partition 2 has different physical/logical endings:
    phys=(367, 114, 50) logical=(538842, 14, 42)
    Partition 2 does not end on cylinder boundary.
    /dev/sda1p3 ? 478721 974376 968014096 79 Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(366, 32, 33) logical=(478720, 18, 30)
    Partition 3 has different physical/logical endings:
    phys=(357, 32, 43) logical=(974375, 14, 39)
    Partition 3 does not end on cylinder boundary.
    /dev/sda1p4 ? 738782 738796 27749+ d Unknown
    Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(372, 97, 50) logical=(738781, 41, 25)
    Partition 4 has different physical/logical endings:
    phys=(0, 10, 0) logical=(738795, 54, 33)
    Partition 4 does not end on cylinder boundary.

    Partition table entries are not in disk order
    ..
    // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - -
    Now, if I run "startx" and run then fdisk, I get a clean:
    ..
    Disk /dev/sda: 2029 MB, 2029518848 bytes
    17 heads, 32 sectors/track, 7286 cylinders
    Units = cylinders of 544 * 512 = 278528 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 7287 1981936 b W95 FAT32
    ..
    Which I can mount, write to and unmount without any problems.
    ..
    I have also found problems, when I boot the box with the pen drive
    inserted in the USB slot. Knoppix reports:
    ..
    There was an error setting up inter process communication for KDE

    Could not read network list
    /root/.DCOPserver_Knoppix_0
    ..
    Please, check that the dcopserver is running
    ..
    // __
    Another type of weird mistake I find is:
    Not enough memory to start kde! (at least 82 required!)
    ..
    but running "free" gives me:
    ..
    total used free shared buffers
    cached
    Mem: 2075228 160036 1915192 0 7564
    94096
    -/+ buffers/cache: 58376 2016852
    Swap: 0 0 0
    ..
    I do have 2Gb of mostly underused ram in my box.
    ..
    // __ this are the related one-liners that I find in a dmesg dump
    ..
    usb 1-2: new full speed USB device using uhci_hcd and address 2
    scsi0 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    ieee1394: Initialized config rom entry `ip1394'
    ohci1394: $Rev: 1250 $ Ben Collins
    ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11]
    MMIO=[ea000000-ea0007ff] Max Packet=[2]
    ohci1394: fw-host0: Serial EEPROM has suspicious values, attempting to
    setting max_packet_size to 512 bytes
    ohci1394: fw-host1: Unexpected PCI resource length of 1000!
    usb-storage: device found at 2
    usb-storage: waiting for device to settle before scanning
    ohci1394: fw-host1: OHCI-1394 1.1 (PCI): IRQ=[5]
    MMIO=[ea002000-ea0027ff] Max Packet=[2048]
    sbp2: $Rev: 1219 $ Ben Collins
    ieee1394: sbp2: Driver forced to serialize I/O (serialize_io = 1)
    ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000000000000000]
    ieee1394: Host added: ID:BUS[1-00:1023] GUID[00004c0100003d1c]
    Vendor: Sony Model: Storage Media Rev: 0100
    Type: Direct-Access ANSI SCSI revision: 00
    SCSI device sda: 3963904 512-byte hdwr sectors (2030 MB)
    sda: Write Protect is off
    sda: Mode Sense: 43 00 00 00
    sda: assuming drive cache: write through
    SCSI device sda: 3963904 512-byte hdwr sectors (2030 MB)
    sda: Write Protect is off
    sda: Mode Sense: 43 00 00 00
    sda: assuming drive cache: write through
    sda: sda1
    Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
    usb-storage: device scan complete
    ....
    usbcore: registered new driver hiddev
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.01:USB HID core driver
    ..
    How can I solved this problems and installed debian in one of the pen
    drive's partitions?
    ..
    Thanks
    lbrtchx


  2. RE: trying to partition a USB pen drive with ext3 and VFAT file systems

    Sorry, I was still a little asleep when I posted the message
    ..
    lbrthchx


  3. Re: comp.os.linux.setup, comp.os.linux.hardware, alt.comp.hardware, linux.debian.user

    lbrtchx@hotmail.com did eloquently scribble:
    > trying to partition a USB pen drive with ext3 and VFAT file systems


    > Hi,
    > .
    > I have been tryin gto make partitions and ext3 and VFAT file systems
    > on a pen drive using debian/knoppix.
    > .
    > I would like to ultimately install Debian using debootstrap
    > .
    > There are a number of odd symptoms I hadn't seen before. When I boot
    > via cheat code "knoppix init 3" and run "fdisk -l /dev/sda*", I get,
    > what to me looks like the drive is reporting on 2 different partition
    > tables present on the same drive:


    Why would you run a command like "fdisk -l /dev/sda*"?
    sda is the base device, you're not meant to run fdisk on individual
    partitions. Just on the base drive itself, so "fdisk -l /dev/sda" should do
    the trick.


    > .
    > // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    > - - - - - - - - -
    > Disk /dev/sda: 2029 MB, 2029518848 bytes
    > 17 heads, 32 sectors/track, 7286 cylinders
    > Units = cylinders of 544 * 512 = 278528 bytes


    > Device Boot Start End Blocks Id System
    > /dev/sda1 1 7287 1981936 b W95 FAT32


    > Disk /dev/sda1: 2029 MB, 2029502464 bytes
    > 63 heads, 62 sectors/track, 1014 cylinders
    > Units = cylinders of 3906 * 512 = 1999872 bytes


    > This doesn't look like a partition table
    > Probably you selected the wrong device.



    See? that's what you get when you try fdisk -l /dev/sda1
    HINT: Don't do it.

    --
    __________________________________________________ ____________________________
    | spike1@freenet.co.uk | "I'm alive!!! I can touch! I can taste! |
    |Andrew Halliwell BSc(hons)| I can SMELL!!! KRYTEN!!! Unpack Rachel and |
    | in | get out the puncture repair kit!" |
    | Computer Science | Arnold Judas Rimmer- Red Dwarf |
    ------------------------------------------------------------------------------

+ Reply to Thread