Results 1 to 3 of 3

Thread: Install to flash drive error

  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    1

    Install to flash drive error

    I am trying to install to a 16GB flash drive from the live DVD with

    Knoppix -> Install KNOPPIX to flash drive

    The drive on /dev/sdg is formatted OK but during copying I get this error:

    cp: writing `/tmp/flash-knoppix.4381.tmpmount/KNOPPIX/KNOPPIX': No space left on device cp: failed to extend `/tmp/flash-knoppix.4381.tmpmount/KNOPPIX/KNOPPIX': No space left on device

    However using df I see that /tmp is no more than 1% full.

    Does anyone know the cause of this error, and is there a "manual" way to install to flash drive?

    cheers

    Gareth


    knoppix@Microknoppix:~$ df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sr0 4081942 4081942 0 100% /mnt-system
    tmpfs 2486272 10952 2475320 1% /ramdisk
    /dev/cloop 9732726 9732726 0 100% /KNOPPIX
    unionfs 2486272 10952 2475320 1% /UNIONFS
    unionfs 2486272 10952 2475320 1% /usr
    unionfs 2486272 10952 2475320 1% /home
    tmpfs 10240 64 10176 1% /UNIONFS/var/run
    tmpfs 20480 2892 17588 15% /run
    tmpfs 10240 0 10240 0% /UNIONFS/var/lock
    tmpfs 102400 104 102296 1% /UNIONFS/var/log
    tmpfs 2097152 248 2096904 1% /tmp
    udev 20480 4 20476 1% /dev
    tmpfs 2097152 132 2097020 1% /dev/shm

    knoppix@Microknoppix:~$ fdisk -l /dev/sdg

    Disk /dev/sdg: 16.0 GB, 16008609792 bytes
    255 heads, 63 sectors/track, 1946 cylinders, total 31266816 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sdg1 * 63 240974 120456 c W95 FAT32 (LBA)
    /dev/sdg2 240975 7132859 3445942+ 83 Linux

  2. #2
    Member registered user
    Join Date
    Jul 2007
    Location
    West Suburb Chicago
    Posts
    33
    I had the same thing. When I tried it again it worked. I think the drive has to be unmounted.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by dgwsoft View Post
    I am trying to install to a 16GB flash drive from the live DVD with

    Knoppix -> Install KNOPPIX to flash drive

    The drive on /dev/sdg is formatted OK but during copying I get this error:

    cp: writing `/tmp/flash-knoppix.4381.tmpmount/KNOPPIX/KNOPPIX': No space left on device cp: failed to extend `/tmp/flash-knoppix.4381.tmpmount/KNOPPIX/KNOPPIX': No space left on device

    However using df I see that /tmp is no more than 1% full.

    Does anyone know the cause of this error, and is there a "manual" way to install to flash drive?

    cheers

    Gareth


    knoppix@Microknoppix:~$ df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sr0 4081942 4081942 0 100% /mnt-system
    tmpfs 2486272 10952 2475320 1% /ramdisk
    /dev/cloop 9732726 9732726 0 100% /KNOPPIX
    unionfs 2486272 10952 2475320 1% /UNIONFS
    unionfs 2486272 10952 2475320 1% /usr
    unionfs 2486272 10952 2475320 1% /home
    tmpfs 10240 64 10176 1% /UNIONFS/var/run
    tmpfs 20480 2892 17588 15% /run
    tmpfs 10240 0 10240 0% /UNIONFS/var/lock
    tmpfs 102400 104 102296 1% /UNIONFS/var/log
    tmpfs 2097152 248 2096904 1% /tmp
    udev 20480 4 20476 1% /dev
    tmpfs 2097152 132 2097020 1% /dev/shm

    knoppix@Microknoppix:~$ fdisk -l /dev/sdg

    Disk /dev/sdg: 16.0 GB, 16008609792 bytes
    255 heads, 63 sectors/track, 1946 cylinders, total 31266816 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sdg1 * 63 240974 120456 c W95 FAT32 (LBA)
    /dev/sdg2 240975 7132859 3445942+ 83 Linux
    Have you checked that you are actually doing what you think you do?

    First, what do you think /tmp is actually containing?
    Second, you say "formatted OK" - but what does fdisk output tell you?
    Third, if copy to flash terminates correctly, how would you see the results immediately afterwards?

    You definitely don't need a manual way to install to flash drive. You definitely need to use the built-in functions, at least for a while.

Posting Permissions

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


Acer Chromebook Spin R751T 11.6

Acer Chromebook Spin R751T 11.6" 2in1 Touch Intel Celeron 4GB RAM 32GB Storage

$39.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$15.85



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



16gb 2x8gb DDR4 3000mhz Patriot RAM picture

16gb 2x8gb DDR4 3000mhz Patriot RAM

$27.00



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$21.95



Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.95



Corsair Vengeance 32GB 16GB 8GB DDR3 1600MHz 1866MHz 2133MHz 2400MHz Memory LOT picture

Corsair Vengeance 32GB 16GB 8GB DDR3 1600MHz 1866MHz 2133MHz 2400MHz Memory LOT

$79.99