Results 1 to 3 of 3

Thread: Install to flash drive error

Hybrid View

  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
  •  


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

$9.64



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



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



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 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



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G picture

A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G

$59.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$353.99