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
  •  


ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$179.99



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$55.45



OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire picture

OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire

$36.99



0XYHWN Dell PERC H730P  PCIe 3.0 SAS 12GB RAID CONTROLLER  picture

0XYHWN Dell PERC H730P PCIe 3.0 SAS 12GB RAID CONTROLLER

$65.00



Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT picture

Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT

$15.98



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



SAS 2 Raid Controller LSI MegaRAID 9266-8i 6Gbps 8 Port  w/ CacheVault & BBU picture

SAS 2 Raid Controller LSI MegaRAID 9266-8i 6Gbps 8 Port w/ CacheVault & BBU

$29.00



Inspur LSI SAS3008 12Gbps SAS HBA RAID Controller Card P/N:YZCA-00424-101 Tested picture

Inspur LSI SAS3008 12Gbps SAS HBA RAID Controller Card P/N:YZCA-00424-101 Tested

$24.99



Dell 7H4CN PERC H730P Raid Controller Mini Mono12GBPS 2GB NV Cache picture

Dell 7H4CN PERC H730P Raid Controller Mini Mono12GBPS 2GB NV Cache

$44.99



ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT picture

ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT

$175.99