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
  •  


Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$14.77



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$16.00



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$12.00



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30