Results 1 to 10 of 21

Thread: Project: Merging Knoppix and Debian Live to get 64 bit Knoppix derivative?

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802

    Some notes on overlays and instances

    Debian-Live has a terrible way to handle overlays. All instances of live-rw encountered are sandwich-mounted together, even if the advertised label mechanism is used. So, basically, for safety one should use just one at a time, renaming the others.

    How bad is this in practice? It turns out, it doesn't have to be that bad. With frequent remasterings, we don't really need much persistent storage for everyday use, and we can mount volumes to get what else we need.

    Right now, I write this in a kvm window running Debian-Live without persistence in a Knoppix 7.0.5 host, with two other kvm instances simultaneously running from the same image, one with persistent store, the other without.
    I run them with no modification, with the same command
    Code:
    kvm -m 1024 /dev/sda
    to get the grub menu of the host, and I choose the same (!) alternative, Live-Debian without persistence, several times.

    Under kvm, I mount and modify (different) disk partitions on the host. Typically, I can run one instance for database, another for application server (e.g. JBoss), and maybe a third for mailserver.

    This is what I need to develop applications with realistic testing on just one machine.
    While it was not possible to run kvm in the virtual machine, I could run VMware there..

    Performance isn't hopeless, I may try remastering in a VM again.
    There is a definite need for knoppification of several aspects of this live-version, but the need is not desperate.

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by Capricorny View Post
    Debian-Live has a terrible way to handle overlays. All instances of live-rw encountered are sandwich-mounted together, even if the advertised label mechanism is used. So, basically, for safety one should use just one at a time, renaming the others.

    How bad is this in practice? It turns out, it doesn't have to be that bad. With frequent remasterings, we don't really need much persistent storage for everyday use, and we can mount volumes to get what else we need.
    Have you decoded Debian-Live's minirt.gz?

  3. #3
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by utu View Post
    Have you decoded Debian-Live's minirt.gz?
    Not so far this time around. I didn't like the init at all when working on a 64 bit version from the Knoppix side 3 years ago.
    So, eventually, it may be knoppified, but it's not something I look forward to.
    Obvious modifications are introductions of parameters fromhd, livedir and live-rw-dir.
    I don't know if it is worthwhile to implement the full Knoppix overlay setup. Because there is a general mechanism in place to mount overlays on given mount points. Which in many ways is more precise.

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by Capricorny View Post
    Debian-Live has a terrible way to handle overlays.
    Describing a process as 'bad' is not informative.
    I suspect in this case, as in Knoppix's case, the process of combining
    separate images is not bad, per se, but hazardous -unless cerain conditions are met.

    I would like to know if in general one might find a working Debian-Live to
    contain several squashfs images or devices that 'add-up' to a working
    union of the expansions of these images. This should be obvious from the
    decoded minirt.gz.

    AFAIK, Klaus K has never issued any rules for combining images in Knoppix,
    yet he continues to provide and use a latent capability to up to stack seven
    additional images together in Knoppixes 6s & 7s.

    I think the general rule in both Knoppix and Debian-Live might be that
    so long as the expanded images do not land on the same locations with
    different meanings, things will be ok. Segregating the information
    contained onto separate devices may be one way to assure that the union
    of expanded images will not be informationally corrupt.

    I routinely make a read-only Knoppix 1 which contains all my /home tweaks
    and all my added programs. My only current difficulty is in treating a
    troublesome link which must be re-established after every new image is
    added. This is without the precaution of providing /home its separate device.
    Simplistically, adding things works ok, but removing things is problematic
    in the union of expanded filesystem images.

    I'd rather start with a CD-size iso and add things, 'cause all I need works really
    well on 2 Gb SanDisk LiveUSBs. Now that 8 Gb Cruzers are so inexpensive,
    I make DVD-size LiveUSBs and just add fewer things, but it's sure
    wasteful bringing in a lot of stuff I never use, anyway.

    I'm more interested in Debian-Live's live-build on-line capability to
    define and create really tailor-made minimal isos. There's currently no
    similar magic in Knoppix.
    Last edited by utu; 11-25-2014 at 01:24 AM.

Posting Permissions

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


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



MAG X870 TOMAHAWK WIFI Motherboard, ATX - Supports AMD Ryzen 9000 / 8000 / MSI picture

MAG X870 TOMAHAWK WIFI Motherboard, ATX - Supports AMD Ryzen 9000 / 8000 / MSI

$143.50



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard picture

ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard

$95.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU picture

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU

$45.00