PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Script zur Erstellung des Knoppix-"/home/knoppix"-Verzeichnisses auf Festplatte



Wirsing
27.11.02, 14:20
NEUE VERSION (0.4) - Changelog + Download unten

Hallo,

der Knoppix-User Matthias Schwarze hat ein Script erstellt, mit welchem sich das "/home/knoppix"-Verzeichnis auf einer HD (in einem File) statt im Ram halten läßt.

Eigentlich sind es zwei Scripts:
Ein Perl-Script, welches mittels Xdialog "grafisch" nach der Zielpartition und Größe fragt und ein Shell-Script, welches beim booten nach dem neuen "zu Hause" sucht (knoppix.sh). Letzteres basiert übrigens in den Grundzügen auf Klaus' knoppix-autoconfig. Beim Starten werden kurz alle Partitionen durchsucht (dauert nur wenige Sekunden) und wenn kein ".knoppix"-File gefunden wird, bootet Knoppix wie gewohnt weiter mit dem Home-Verzeichnis in der Ramdisk.

Das Script kann man sich auf meiner HP runterladen:

Knoppix Persistent Home Script (knx_persistent_home.tar.gz) (http://www.centernetworx.de/knx_persistent_home_0.4.zip)

Anleitung zur Benutzung der Scripts:

1. "knx_persistent_home.tar.gz" runterladen und in ein beliebiges Verzeichnis entpacken.
2. Knoppix starten.
3. In das Verzeichnis wechseln, in das ihr das Script entpackt habt.
4. Script mit "perl knx_persistent_home.pl" ausführen, es erscheint ein grafischer Xdialog-Bildschirm, dort könnt ihr die Partition (NTFS-Partitionen werden ignoriert!) und die Größe des .knoppix Files (also der neuen /home/knoppix-Verzeichnisses) wählen.
5. Die "knoppix.sh" auf eine Diskette kopieren.
6. Rechner neustarten, Knoppix mit den Bootoptionen "knoppix floppyconfig" starten.

Das wars, bitte testet das Script und berichtet darüber.

MfG

Friedemann

Wirsing
27.11.02, 15:43
Da Strato im Moment Probleme hat, hab ich das Script hier nochmal angehängt!

MfG

Friedemann

Wirsing
07.12.02, 00:45
Hi!

I just wanted to announce the first (non-development) version of the
"knoppix persistent home" script(s).

These scripts are meant to store the home directory of knoppix
persistently on a harddisk, ZIP-drive or USB-thumbdrive. So you
automatically keep your configuration across reboots.

You can download it under:
http://www.centernetworx.de/knx_persistent_home_0.4.zip

Changes to the alpha version (for those who have tested it):
- The problem with the weird icon locations is fixed
- USB-thumbdrives and ZIP-drives are really supported now (thoroughly
tested!)
- Extra scripts "preknoppix.sh" and "postknoppix.sh" can be used to
prepare special devices (like the ZIP-drive)
- a new readme in german AND english
- some bugfixes (especially thanks to Peter Moestl)
- new bootparameter "nohome" to avoid the use of the persistent home
(useful if the knoppix.sh was burned on CD)
- the direct mount option is no longer supported (was just problematic!)

Wirsing
21.12.02, 22:32
Hallo,

es wurde eine neue Version vom Knoppix Persistent Home Script veröffentlicht!

Changelog:
- Several bugfixes (busy loopdevices & swapfile issues)
[Mostly reported by Klemens Hofer - thanks!]
- The readme now has a french translation [Many thanks to Florent Beranger!]
- New bootparameter "copyhome" to copy the persistent home into the ramdisk
and umount the persistent home afterwards [Idea by probono]
- New script "knx_copy_home" to copy the home directory from ramdisk to an existing persistent home
(the counterpart for "copyhome") [Idea by SI Reasoning]
- The knoppix.sh will now also scan every directory under /mnt for the .knoppix-file.
This way you can mount remote shares by simply mounting them in the preknoppix.sh script.
[Inspiration for this by johnye_pt]
- New option to encrypt the .knoppix file. (Passwords must be at least 20 characters long!)
- knx_persistent_home is now directly runable by clicking on it.
- Fixed "must-be-root"-problem [Thanks to Chris Liechti for this!]
- New: (slightly) modified version of Klaus' saveconfig to save the system configuration
directly into the persistent home, if it exists. (Or behave like the original if no
persistent home is used). The texts are unmodified - it still says "[...] floppy".

Remarks:
The package is meant to be uncompressed under Linux. I've heard of broken scripts after
unpacking under Windows. However, this package is no longer a tar.gz but a zip instead.
Maybe this helps Windows users to get around this. I do not use Windows, so I can't test
this easily - sorry!


Zu finden ist das Script unter:
http://www.centernetworx.de/knx_persistent_home_0.4.zip

MfG
Friedemann Schütz