Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: knoppification debian live cd +

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    15

    knoppification debian live cd +

    Hello
    I'm interested in knoppification standard debian live cd+. Klaus K is not releasind CD version any more, and I have failed to shrink dvd version to ca. 1GB, which is my goal.
    So I'm trying to knoppifi debian live.
    What I have done in standard knoppix remastering enviroment:
    -boot knoppix 7.6
    -mount squashfs from debian live cd and copy all files do source/KNOPPIX
    -chroot to source/KNOPPIX and install knoppix kernel, and copy kernel file to MASTER
    -copy minirt.gz from knoppix to MASTER
    -install sysvinit-core
    -copy from knoppix to source/KNOPPIX: /etc/initab /etc/passwd /etc/shadow /etc/sudoers /etc/init.d/knoppix... /etc/X11/session.d/45knoppix /home/knoppix /sbin/mkxorgconfig
    - install from knoppix repository or repack .deb from knoppix 7.6: knoppix networkmanager, restartx, knoppix udev config, lxlock knoppix, knoppix netcard config

    Create iso like in normal remastering.
    Now system starts but can't start X. Message " the graphical envirometn is being started..." appears but without success and proces is respawned few times than stops.
    I can acces commad line

    Did anybody try something similar with success?

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

    Some thoughts:
    - Did you also copy the kernel modules for the Knoppix kernels from lib/modules to your remastering environment?

    I have failed to shrink dvd version to ca. 1GB, which is my goal.
    - I think it would be a good idea to make a list of packages you find essential for your remastered Knoppix. Maybe you will find out that your system remains too large to fit on a CD.

    - If you do not need the ADRIANE system you could remove all packages related to it first and try out wether the system is still useful.

  3. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    hi
    Installing knoppix kernel from knoppix repository make care of all necessary modules.
    After my previous post I have copied sbin/hwinfo and /lib/udev/devices as knoopix startup process could not find them in debian live filesystem.
    I have installed also metacity.

    And as I sad, system boots and I can work in cli, but graphics do not start.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Is there any hint in the X server's logfile what error occured? You can find the file in the directory /var/log.
    I think the process was respawned because the X server could not start properly.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I followed the instructions by marlas to create a 'knoppified debian live cd'. The original list of repositories
    /etc/apt/sources.list was replaced with the one from Knoppix 7.6.0 before running 'apt-get update' for the first time.

    The Debian live CD standard comes without the desktop environment. I installed the lxde meta package plus the packages
    xinit and lxde-common. I used the package list of Knoppix 7.6.0 to decide which packages are to be installed.

    Since not all knoppix packages were available in the repository I created a few from Knoppix 7.6.0 with the debian-repack
    command: bluez-utils, bttool-knoppix, cgroup-remove-knoppix, knoppix-udev-config, lxsession, network-setup-knoppix,
    openssh-client, openssh-server, openssh-sftp-server, rootshell-knoppix, scanpartitions-knoppix, ssh, ssh-askpass,
    sshstart-knoppix, sysvinit, sysv-rc, usleep-knoppix, x11-xserver-utils. It was necessary to create the group nm-openvpn
    with gid 154 manually before all packages for the networkmanager could be properly installed.

    In addition to the instructions in post #1 I added the user knoppix with uid 1000 before I copied the directory
    /home/knoppix from Knoppix 7.6.0. I also added the user knoppix to the groups disk, dialout, fax, voice, cdrom, floppy,
    tape, sudo, audio, dip, backup, video, plugdev, users, fuse, netdev.

    The files in the directories /etc/polkit-1/localauthority/10-vendor.d and /etc/dbus-1/system.d were copied to the
    corresponding remastering directories. I also copied the directory /lib/udev/devices to the remastering directory.

    The ISO is 890 MB large.

    The remastered ISO boots as describe by marlas. In runlevel 5 it fails to start the desktop environment. There appeared an
    error message
    xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
    I created a file /home/knoppix/.xinitrc with the single command
    Code:
    exec startlxde
    The file is owned by the user
    knoppix. In runlevel 2 after
    Code:
    su - knoppix
    startx
    I found the following error message in the logfile /home/knoppix/.local/share/xorg/Xorg.0.log
    (EE) systemd-logind: failed to get session: Failed to execute program org.freedesktop.login1: Permission denied
    What has to be done to solve the issue?

    Btw. root is allowed to start the desktop environment if I create a file .xinitrc in / with the line 'exec startlxde'.

  6. #6
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    Hello
    I use debian live lxde as a base, so lxde packages are installed already in my situation.
    xorg.conf is, for sure, created by knoppix script .
    In Xorg.0.log I have few errors:
    (EE) systemd-logind: failed to get session: Failed to execute program org.freedesktop.login1: Permission denied
    (EE) Screen 0 deleted becouse of no matching config section.
    (EE) Device(s) detected, but none match those in config file.
    (EE) no screens found

  7. #7
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    script for creation xorg.conf is /sbin/mkxorgconfig

  8. #8
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    next few steps
    dpkg -reconfigure x11-common and set anybody and copy /etc/X11/Xwrapper.config from knoppix
    install gdm3 and set ad default display manager - as it is in knoppix

    Still no success, but I have compared xorg.log from knoppix and from my knoppificated debian
    In knoppix log is stored in /var/log in debian /home/knoppix/.local/xorg
    In debian I have 2 logs Xorg.0.log and Xorg.0.log.old (both are created in booting proccess)

    Beginning is the same in knoppix and Xorg.0.log.old, even error "(EE) systemd-logind: failed to get session: Failed to execute program org.freedesktop.login1: Permission denied" appears in knoppix too
    but after the line:
    controlling tty is VT number 5, auto-enabling KeepTty
    in debian I get error (EE) xf860OpenConsole: Cannot open virtual console 5 (Permission denied) and log ends

    The new Xorg.0.log is created by respawning knoppix-startx - I think.
    Last edited by marlas; 12-21-2015 at 02:07 PM.

  9. #9
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    There is this note in Klaus K's Cheatcodes, I don't know if this helps. FWIW

    If you would like to edit your X-Server configuration manually
    (config file /etc/X11/xorg.conf), use "knoppix 2" to boot
    into runlevel 2 (textmode only) and, after changing the X
    configuration, start the X environment with "init 5". Note that
    you can always leave the graphical environment with "init 2", and
    restart it later with "init 5".

  10. #10
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I repacked a few more packages: syslinux, syslinux-common, syslinux-efi, syslinux-utils, knoppix-sounds. They were installed in the remastering environment. I also copied /usr/bin/flash-knoppix and /usr/share/applications/flash-knoppix.desktop to the remastering directory.

    It seems that Knoppix 7.6.0 needs the package xserver-xorg-legacy. After I had created the file /home/knoppix/.xinitrc with the lines
    Code:
    openbox &
    startlxde
    the 'knoppified Debian 8.2' boots as expected, but after logging out via the menu the desktop environment restarts instead of shutting down the system. Obviously the 'knoppified Debian 8.2' needs more configuration.

    The size of the current ISO file is 972 MB.

Page 1 of 2 12 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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G picture

A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G

$59.99



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99