Results 1 to 7 of 7

Thread: Remastering from the Dead

  1. #1

    Remastering from the Dead

    Beginner. 7.2.0 installed as-is on USB key, via running live CD and flashing. Alles OK, except for disappearing window dressing, due to unsolved Compiz bug (I have to type "knoppix no3d" at every boot).

    During apt-get installation of various AvidEmux dependencies, a concluding message told me that libc-2.17.so had been found in an unexpected location (UNIONFS/lib/i386-linux-gnu) and should be removed therefrom. So, I deleted the file, as told.

    Begin(Nightmare):
    I now have a crippled system, where everything from an "apt get" to an "ls" results in a can't-find error for libc.so.6 (which was in the same directory but was merely a pointer to libc-2.17.so). I could not even copy over a replacement from a CD. It seems that EVERYTHING RELIES ON THAT C-LIBRARY FILE. Finally with the system stuck (even net connectivity was lost), I rebooted it.

    Now, the same error appears at booting, and Knoppix halts.

    Examining that USB key from another running instance of Knoppix shows no UNIONFS directory on the problem key, where I may replace the C-library file. I tried copying it elsewhere, to no avail.

    So, how do I remaster from the dead my USB key? It lacks only that one C-library file!

    P.S. Remember, I'm a newbie. Please spell out any commands.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Hi!

    I think the first thing to mention should be: Do not delete any file in the directory /UNIONFS or its subdirectories if you do not know whether it is essential. Always use the package management software to remove the whole package if the file is a member of a package.

    The short answer to your question is you have to reboot your system with the noimage cheatcode. Then mount your overlay file as a loop back device and copy libc-2.17.so from /lib/i386-linux-gnu to the right place in your overlay file. Do not forget to create soft links to this file if you have deleted them before.

    The real commands depend on the type of overlay you are using. Is it an unencrypted overlay or an encrypted overlay or a whole overlay partition?

  3. #3
    Thanks for replying. I tried to use Synaptic, but I repeatedly couldn't find software that I was seeking, including AvidEmux. So, I just would Google the software's name and then follow the apt-get instructions.

    The USB key is a 32GB one, where I told the installation to use the entire rest of the non-OS space for persistent storage.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    If you use an encrypted overlay partition you have to issue other commands than with an unencrypted overlay.

    Where did you find the instructions on how to install AviDemux? I would try the version from deb-multimedia.org for the wheezy distribution.

  5. #5
    Not encrypted.

    When the video editor that comes with Knoppix appeared unsuitable, I Googled for others and then went to AvidEmux.org and tried to follow the instructions there (and then elsewhere). I think that the repository you mentioned is one I used.

    Given that Software Center has never worked, the problem that I'm finding repeatedly is not finding some well-known piece of software (the Opera browser is another example...and that one's world-famous) either in Synaptic or via apt-get. Googling led me to edit things like sources.list and sources.list.d (the difference never explained, in those step-by-steps) and adding whatever repository was described. As a DIY beginner, I feel like a blind man in a dark room.

    In trying to solve the problem that is the topic of this post, I created a fresh installation of Knoppix, only to find that Software Center, again, does not work (I click the menu choice and nothing happens).

    At least, my Etch-a-Sketch does something when I turn one of its knobs!


  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Knoppix is a Live Linux CD, is a Live Linux CD, is a Live Linux CD!
    Live Linux CD means that the computer boots and runs completely from CD. Nothing is installed on your hard drive in order for you to experience many of the Open Source software packages available.

    Knoppix is not a Linux distribution like for example Debian, openSUSE, Ubuntu or others.

    Knoppix
    • cannot be upgraded (if you try it, you'll get chaos)
    • offers no updates or security updates
    • has no user management
    • has no password protection
    • is not designed for installation of not Debian packages
    • causes difficulties while you try to install Debian packages
    • requires experience with apt-get/aptitude whenever you want to change something

  7. #7
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    The basic problem starting the trouble is a fairly usual one with Debian package management and incompatible Debian variant releases. The .deb package install scripts may suggest or even perform very harmful things.
    I doubt it will be worthwile to try to patch the USB install - the moral is, always make a backup copy of such installs, and update the backups as appropriate.
    Try using Synaptic package manager - that one has worked well for me, but always update package lists.
    And if a package you are looking for is not in any of the ordinary repos, it's good practice to check in advance that it will actually run on the actual combination of hardware and Debian variant.
    I would not say installing new packages will always cause difficulties, but I don't consider it particularly smart to start with the CD release of Knoppix if you are going to install substantial amounts of extra packages. Start with the DVD instead, that's much more likely to have necessary infrastructure properly installed.

    And forget about remastering until you don't consider yourself a Knoppix newbie any longer.

    As for Debian and Opera, Google tells me:
    https://wiki.debian.org/Opera
    Oct 30, 2012 - The recommended way to install opera, is to add Opera's package repository in your /etc/apt/sources.list.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$23.99



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$54.99



Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture

Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)

$59.99



ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield picture

ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield

$39.00



MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield  picture

MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield

$32.99



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture

MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard

$107.30



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$84.00



ASRock TRX40 Creator DDR4 Socket sTRX4 Motherboard With I/O Shield Tested picture

ASRock TRX40 Creator DDR4 Socket sTRX4 Motherboard With I/O Shield Tested

$199.99