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
  •  


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



WD_BLACK 1TB D30 Game Drive SSD, External Solid State Drive - WDBATL0010BBK-WESN picture

WD_BLACK 1TB D30 Game Drive SSD, External Solid State Drive - WDBATL0010BBK-WESN

$99.99



Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH picture

Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH

$109.99



Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C picture

Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C

$46.99



Samsung 512 GB SATA III 2.5

Samsung 512 GB SATA III 2.5" Solid State Drive PM871a / SM841N / OGYG3M *TESTED*

$22.00



Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item picture

Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item

$16.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$197.99