Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: USB Remasterig Using Minimum Real Estate

  1. #11
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    I know for sure I've set my flip/flop wrong, They were /dev/sdb1/KNOPPIX and /dev/loop2 respectively.
    For some reason it just gave me "error on line 61" and then something with the = sign.
    went to line 61 and removed it

    then it always gave me this:
    Code:
    Usage: grep [OPTION]... PATTERN [FILE]...
    Try `grep --help' for more information.
    Usage: grep [OPTION]... PATTERN [FILE]...
    Try `grep --help' for more information.
    So I went to see where grep was used, it was where you were trying to figure out what directory was in use and what was free.
    So I commented out the ifs and simply made it
    Code:
    DST="${FLOP}";
    at my great suprise that actually started to create a squashfs filesystem at
    /mnt-system/
    guess my flop is kinda wrong.

    But hey, at least I got it running with my messing around.
    I do think that that equal sign is not supposed to be there on line 61 and that those grep errors where caused because of my wrong flipflops?
    I'm going to read it when my brain is relaxed and try to understand it completely although It won't be that big of a deal because the script is well comented

  2. #12
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ Forester

    I think I understand what you intend to do here,
    but I find the user interface most unfriendly.

    I'd be glad to set some variables and make some
    choices, but none I try seem to be correct.

    I suggest perhaps you make it more clear which
    lines need attention.

    I've prepared my 2nd USB but I'll wait to see
    how the discussion goes before just tweaking away.

    A good example for cloop, not-encrypted and pruned
    with /dev/sdb1 as master and dev/sdc1 as target
    would be most helpful.

  3. #13
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    I've seen plenty of your posts and you guys aren't that dumb.

    You're winding me up.

    Fermat says there are advantages to being dead.

  4. #14
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Progress so far:

    doremaster cloop image creates a fatter KNOPPIX compressed file.
    doremaster create knoppix-data.img <anything> doesn't work.
    doremaster prune knoppix-data doesn't work, with or without
    a persistent store.

    target LiveUSB still boots, but doesn't appear to benefit from
    its larger size.

    doremaster create knoppix-data.img <...> does not recognize an input
    such as 2000 or 2000 Mb or <2000> or <2000 Mb>.
    Last edited by utu; 03-22-2011 at 05:08 PM.

  5. #15
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    "you guys aren't that dumb" xd
    indeed I have learned
    after using the script a new knoppix.sq was created like I said but as it was just a test, I decided to delete it. But for some strange reason the original knoppix.sq was removed. so after a reboot it couldn't find it anymore (logical)

    Now comes the smart part: I had a backup
    Kinda saved my day as you can imagine
    Maybe I should decide to simply try to understand the script befvore I try some more stuff with it.
    and forester, don't overestimate me

  6. #16
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by dinosoep View Post
    after using the script a new knoppix.sq was created like I said but as it was just a test, I decided to delete it. But for some strange reason the original knoppix.sq was removed. so after a reboot it couldn't find it anymore (logical)
    Oh dear. Your knoppix.sq is mounted so you can see it at /mnt-system/KNOPPIX. There is nothing to stop you mounting the file system again at some other location. If you did this, you'd have what might appear to be two knoppix.sq files but when you delete one the other vanishes as well. That may be what happened here. I don't know. I wasn't there.

    You used /dev/loop2. Why did you think that was a good idea ? It reminds of when I was 15 I stuck the points if a pair of scissors into the main sockets on the bench in front me in the middle of a biology lesson to just to see what would happen. I didn't hear the bang. I was told afterwards it was very loud.

    Quote Originally Posted by dinosoep View Post
    Now comes the smart part: I had a backup
    Yep, you're learning. That's why I went and bought two USB sticks for test purposes.

    Quote Originally Posted by dinosoep View Post
    Maybe I should decide to simply try to understand the script before I try some more stuff with it.
    Careful, you might grow wisdom. The number of times I've decided I need software that does X, googled a bit, skimmed through a man page and then spent the rest of night/week/month trying to the convince the software I was right and it was wrong .... I've learnt at least to try to use the software the way it was intended and then decide if it meets my needs or not.

    Think long term. Today you may remaster from your favourite stick to a backup and then use the backup stick for a while. Next time you would remaster from the backup to your favourite stick. Whatever you call your sticks, you alternate between them. That's why I called them flip-flop. I could have called them ping-pong but if I'd wanted to be obscure I'd have called them Hunky Dory or Castor and Pollux.

    Quote Originally Posted by dinosoep View Post
    and forester, don't overestimate me
    I don't. I just don't know what to estimate. I once showed an old lady how to send and receive e-mail. She had a daughter in Australia and that does things to people. The first problem was she didn't know what 'click the left mouse button' meant. At least she said so, I got useful feedback and we could move forward. Here's what doesn't work: feedback of the form "XYZ didn't work" with no other information but the clear implication that someone is stupid.

    Now, were you try prune knoppix-data and report you an got error of the form:

    Code:
    losetup: could not find any free loop device
    I would suggest that it is just possible you forgot to remove /dev/loop etc. as the instructions in post #5 recommended. But you haven't and neither has utu so I can't make that suggestion can I ?

  7. #17
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    forester@didact.edu

    Please put me on your mailing list for doremaster 2.0.
    I am declaring victory forthwith and retiring from
    this scavenger hunt.

    I'm sure there was a pony in there somewhere.

  8. #18
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    When working with external storage and doing lots of writing, I always try to put in a USB harddisk in the mix. I use both "ready-made" and "home-made", typically mounting a disk from a harddisk upgrade into a cabinet. Then I can use several partitions and file systems on one drive, and typically leave the USB "master install" read-only until the new version has been testen.

Page 2 of 2 FirstFirst 12

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 M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD picture

Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD

$75.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

$721.06



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



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 R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w  picture

Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w

$315.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