Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 63

Thread: Flash to USB installer (experimental) in 7.0.5

  1. #11
    Junior Member
    Join Date
    Dec 2012
    Posts
    15

    A patch for "/usr/bin/flash-knoppix2" fixing the error "Overlay size is too small..."

    Just like philo I attempted to use the experimental /usr/bin/flash-knoppix2 to create a USB flash storage medium with a big reiserfs rw overlay partition. I also got the error dialog with:
    Overlay size is too small!\n(minimum 400MB required)
    When I ran the script in a terminal window, I noticed a shell error message complaining about numeric format in the line
    Code:
    let avail=total-ksize
    After changing the format of the calculated media size in MiB from floating point to integer, I could successfully finish the "remastering" of the Knoppix 7.0.5 EN DVD onto my flash medium using only the script, with a 7 GiB writable overlay filesystem. The flash medium only contained an empty (DOS FDISK-style) partition table before I used the script.
    /usr/bin/flash-knoppix2.patch:
    Code:
    --- /usr/bin/flash-knoppix2     2012-12-21 00:27:14.000000000 +0000
    +++ flash-knoppix2      2012-12-28 09:01:10.000000000 +0000
    @@ -364,7 +364,7 @@
       ERROR="${FLASH}:\n$MSG_ERROR_INCOMPATIBLE"; bailout 2
      fi
     elif [ "p" = "$METHOD" ]; then
    - total="$(awk '{print ($1 / 2048)}' /sys/block/"${FLASH##*/}"/size 2>/dev/null)"
    + total="$(awk '{printf( "%d", ($1 / 2048) ) }' /sys/block/"${FLASH##*/}"/size 2>/dev/null)"
      ksize="$(du -sm --exclude='knoppix-data.*' . 2>/dev/null | awk '{size=$1}END{print size}')"
      let avail=total-ksize
      let avail-=200
    Please note the change from "print ..." to "printf( "%d, ... )"

  2. #12
    Junior Member
    Join Date
    Dec 2012
    Posts
    5
    I have tried with an 8GB fat32 partition (let me state here again that the drive in question is a verbatim tuff 'n' tiny 8GB thumb drive) and that failed with that message.
    Yes, that was my first step. Since the problem seems to be with the new flash-knoppix2 and likely some combination of my hardware/flash drive, where is the best place to report the issue? Is there a bugzilla for Knoppix?

  3. #13
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    The best place to report issue is
    http://lists.debian.org/debian-knoppix/

    (but not: http://knoppix.net/wiki/Category:Bug_Pages)

  4. #14
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    Rerring to philo in post #10

    My step #5 is the normal warning that all data will be erased....
    I do it again and it still propose the same message
    No error for me

    #5
    sdd: Sony Storage Media (14904MB)

    Repartition and format device?
    CAUTION: All data will be erased!

    #6
    sdd: Sony Storage Media (14904MB)

    Do you really want to do this?
    WARNING: ALL DATA ON WILL BE ERASED!
    Last edited by Blacksimon; 12-28-2012 at 06:16 PM.

  5. #15
    Junior Member
    Join Date
    Dec 2012
    Posts
    5
    Well, it's good (and bad, lol) to see I'm not the only one experiencing the issue. And it seems we all experience it in the same place. I, too, had run the script in terminal and was informed the error was on like line 369 or some where around that point and had glanced at the script briefly to see if it was malformed and it looked about right to me, I simply didn't know the calls it was using so I couldn't be certain. I will try that fix for the script that AMSTraute proposed.

  6. #16
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    assuming you have created an encrypted partition of 5GB and copied from the old knoppix-data.aes all the content, now I wonder ...
    having more available space on USB, this partition can be increased in size as it can usually be done with the file knoppix-data.aes?

    Yes, you could make it larger since the beginning .... but that's not the point .... it is curious to know if it is feasible ...

  7. #17
    Senior Member
    Join Date
    Dec 2012
    Posts
    152
    I am back and still confused.
    When I started this thread (post #1), I called for help when I could not use the Knoppix installer (experimental version) to install Knoppix 7.0.5 to a Sandisk Ultra 32GB with the 'p' option.
    I tokk another USB key, this time a Sandisk Ultra 16GB. The 'p' option worked like a breeze, giving me an ovverlay of almost 12GB.
    Does it mean that my Sandisk Ultra 32GB is rotten? Probably not, because it allowed me to install with the 'i' option. Note, howeer, that Knoppix at first refused to boot. I had the FAT32 partition checked by GParted and rebooted : all OK now and Knoppix gladly created the traditional 4GB persistent image.
    Where do I/we go from there?

  8. #18
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    Philo, try this:
    - syslinux -if /dev/sdx (replace sdx with your Sandisk Ultra 32GB)
    - Format FAT32 the whole USB with Gparted and set boot flag
    - Again the Flash-Knoppix2

  9. #19
    Senior Member
    Join Date
    Dec 2012
    Posts
    152
    Thanks Blacksimon. I tried this with my 32GB key:
    step #1
    I typed in a terminal : "ssyslinux -if /dev/sde" but it complained sayiing: 'invalid media signature (not a fat system?)".
    step #2
    I then create a small FAT32 partition at the beginning of the key, with GParted.
    and typed "syslinux -if /dev/sde1". The command was accepted.
    step #3
    I formated the whole key in FAT32 with GParted and added the boot flag.
    step #4
    Next I run knoppix installer with the 'p' option and again received the infamous error message that the "overlay is too small".
    So no joy so far.

    Note - Not better if the whole key was formated in FAT32 before doing step #1.

  10. #20
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    try to remove partition and then recreate....i don't know

    do not give up....

Page 2 of 7 FirstFirst 1234 ... LastLast

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/3x900Gb SAS, Proxmox picture

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

$340.00



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar

$304.35



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



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



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HYVE ZEUS V1 1U BAREBONE SERVER 2X10CORE E5-2680V2 2.8GHz 16GB RAM RISER NO RAIL picture

HYVE ZEUS V1 1U BAREBONE SERVER 2X10CORE E5-2680V2 2.8GHz 16GB RAM RISER NO RAIL

$180.00



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB picture

PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB

$200.00