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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$340.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell PowerEdge R620 Dual Intel Xeon E5-2660 2.20GHz 64GB RAM No HDD H310 picture

Dell PowerEdge R620 Dual Intel Xeon E5-2660 2.20GHz 64GB RAM No HDD H310

$124.50



Dell R730xd 26 Port SFF 2x E5-2690v4 28-Cores H730 128GB Server 2x SFP 2x RJ-45 picture

Dell R730xd 26 Port SFF 2x E5-2690v4 28-Cores H730 128GB Server 2x SFP 2x RJ-45

$390.00



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$289.99



DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45

$444.00