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
    801
    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
  •