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

Thread: Is this possible?, how?

  1. #11
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by Capricorny View Post
    You should look at posting from user utu...
    Capricorny refers to this, I think:
    http://knoppix.net/forum/threads/306...ht=persistence
    I still use this method, only now I define a similar function in ~/.bashrc,
    rather than /etc/profile.

    Since Knoppix 7.6.1 initially comes with both KNOPPIX and KNOPPIX1 cloops,
    my current unique cloop compacted addition is KNOPPIX2.
    I generally don't require more than one additional cloop to capture all
    my unique stuff. My KNOPPIX2 is about half the size of Klaus K's KNOPPIX1,
    for example.

    Operating this way protects me from over-writing that
    persistence material which I have converted to cloop form. It does not
    protect me from overwriting new persistence material in read-write
    reiserfs form.

    There still remains an ever-present danger of spoiling by filesystem
    corruption, either or both KNOPPIX partitions by inadvertently
    removing the LiveUSB without an orderly shut-down. I have no
    solution for that and have never been able to resurrect and correct
    a filesystem corrupted by improper shutdown.

    Re-mastering is conceptually purer, certainly produces a smaller
    final cloop collection of material, but requires about twice the
    amount of space in which to perform the compaction, and much more
    time in which to do what needs to be done. Re-mastering does not
    solve the improper shutdown hazard either, unfortunately.

  2. #12
    Thank you both. I will read your thread utu

  3. #13
    What I finally did was only to copy KNOPPIX to my hard disk (knoppix tohd=/dev/sda2), it copies all my settings from the pen drive in the hard disk (even persistence). So, in my pen drive I keep all my settings and Knoppix saved but I am not using it anymore, I only need to boot with my pen drive and when I type the persistence password I can remove the pen drive and use KNOPPIX from my hard disk, without the pen drive plugged. When i boot with the pen drive knoppix automatically boots from the hard disk, founding Knoppix in there. If some day I get some problems in this configuration I only need to delete KNOPPIX folder in my hard disk and again from the pen drive: knoppix tohd=/dev/sda2, but from time to time I will update my pen drive booting as: knoppix fromhd=/dev/sdb1

  4. #14
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    That's a simple way of a Poor Man's Install. You could edit the booting config file to include the parameter alternatives for simpler typing. You could also use more than one Knoppix install on the HD, for example if you want to experiment with different alternatives and don't want to ruin the main working version while experimenting.

  5. #15
    Yes, I changed some parameters to boot. About more than 1 knoppix on the hd, do you mean to change the name KNOPPIX to the folder and if something changes then delete the previous folder and use this one changing the name to KNOPPIX to boot?. As I said, knoppix boots automatically from the hd (searching first in it, not in the pendrive).

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

    I _think_ something like this should work for customizing boot, YMMV

    If you use syslinux boot, you can edit boot/syslinux/syslinux.cfg, and eventually add more alternatives to suit your needs
    The stanza for booting the 64-bits kernel in 7.6.1 is

    Code:
    LABEL knoppix64
    KERNEL linux64
    APPEND lang=en apm=power-off initrd=minirt.gz nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1
    Here you may add another entry, for example if you have KNOPPIX in a directory KNOPPIX761_0 on /dev/sda1 - using knoppi65-0p at the boot prompt:

    Code:
    LABEL knoppix64-0p
    KERNEL linux64
    APPEND lang=en apm=power-off initrd=minirt.gz fromhd=/dev/sda1 nosound knoppix_dir=KNOPPIX761_0 nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1
    And the same without persistent image

    Code:
    LABEL knoppix64-0
    KERNEL linux64
    APPEND lang=en apm=power-off initrd=minirt.gz fromhd=/dev/sda1 noimage nosound  knoppix_dir=KNOPPIX761_0 nomce libata.force=noncq hpsa.hpsa_allow_any=1  loglevel=1
    I haven't used syslinux for a long time, so there may be some errors here, but you get the idea. I have a version number on the KNOPPIX directories, as there may be several remasterings of a release on the same partition. Furthermore, you may want to patch minirt.gz, for example going over to squashfs instead of cloop. Then you save it under another name, and use that for the initrd boot parameter. Same if you change the kernel.

  7. #17
    Thank you! I have never used syslinux.cfg in that way and now I am wondering why... I will test it asap.

  8. #18
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    I should add that syslinux isn't limited to booting Knoppix, even if it comes up with Knoppix screen. I just copied kernel and initrd for Debian 8.3 into the syslinux directory, added entry for Debian 8.3, and placed the compressed and persistent images in right places. No problem multi-booting Debian 8.3 and Knoppix. For more routine multiboot use, I prefer legacy grub, though.

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 EMC NX3230 Server picture

Dell EMC NX3230 Server

$599.99



EXAGRID EX32000E Server Intel Xeon E5620 @ 2.40GHz 16GB RAM 16x 2TB HDD picture

EXAGRID EX32000E Server Intel Xeon E5620 @ 2.40GHz 16GB RAM 16x 2TB HDD

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



Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5 picture

Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5

$46.00



Intel Xeon E5-2690V2 3.00GHz 10-Core (SR1A5) Processor CPU READ DESCRIPTION picture

Intel Xeon E5-2690V2 3.00GHz 10-Core (SR1A5) Processor CPU READ DESCRIPTION

$12.00



Intel Xeon e5-2698v3 2.30Ghz 16 Core 32 Thread CPU SR1XE picture

Intel Xeon e5-2698v3 2.30Ghz 16 Core 32 Thread CPU SR1XE

$20.99



Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor picture

Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor

$49.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 512 SSD Quadro K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 512 SSD Quadro K420 Linux GA

$243.59



Dell Precision 3420 SFF Intel Xeon E3-1220 v5 16GB RAM 240GB SSD Win 10 Desktop picture

Dell Precision 3420 SFF Intel Xeon E3-1220 v5 16GB RAM 240GB SSD Win 10 Desktop

$119.99