[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] Knoppix Customization and Persistency FAQ



Am Samstag, 14. Dezember 2002 19:36 schrieb Nils Magnus:
> Moin Fabian,
>
> On Sat, Dec 14, 2002 at 07:44:27PM +0100, Fabian Franz wrote:
> > Am Samstag, 14. Dezember 2002 18:42 schrieb Nils Magnus:
> > > since there are a lot of questions regarding how to make special
> > > customizations of Knoppix or how to make certain parts persistent, I
> > > set up a FAQ for this issue.
> >
> > Good idea ...
>
> Könntest Du gerade die Abschnitte, die die fs-Erweiterungen betreffen
> nach Möglichkeit im FAQ-Style gleich schreiben, dann nehme ich sie im
> Dokument mit auf.
ja, ok

>
> > > Transiently maintainded by Nils Magnus (magnus@linuxtag.org).
> >
> > huh ?
> > maintainded ;-) lol
>
> Ok, typo, ein "d" zuviel, oder habe ich etwas anderes verpasst?

jep!

>
> > > Q02: What are the prerequisites to install Knoppix on a harddrive?
> > >
> > > A02: First of all, Knoppix was never designed to be installed on a
> > > harddrive. Nevertheless, you can do that if you have some basic
> > > understanding how generic Linux installations work. It may be (on the
> > > contrary to the plain Knoppix itself) suitable for first time Linux
> > > Users. Your milage may vary.
> >
> > I think you mean: "not suitable" instead of suitable ...
>
> Profacto. Wird korrigiert.
ok
>
> > > Q03: Can I install Knoppix on other filesystem types than ext2?
> > >
> > > A03: That issue is currently worked on. However, you can install
> > > Knoppix
>
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Den Satz würde ich gerne durch eine Kurzerklärung von Dir/Euch ersetzen.

Fertig. Das hat sich erledigt ...

Das knx-hdinstall-script seit version 0.351/ also ab KNOPPIX 2002-12-12 
unterstützt ext2, reiserfs und ext3. 

>
> > > on your harddrive with knx-hdinstall first, switch to the root user,
> > > create a new partion, format it with any filesystem you want and copy
> > > the temporary installation to the new partition. After these steps
> > > don't forget to adjust you boot loader and you /etc/fstab entries.
> >
> > entry is obsoleted and certainly will not work, as you describe it ...
> > (way is bad, will confuse more, than help)
>
> Wieso sollte das so nicht klappen? Das geht immer. Typos sind korrigiert
> (s/you/your), meine Tastatur prellte offenbar.

*grrrr*

Manno ...

Warum meint eigentlich jeder es wäre so einfach z.B. journaling filesysteme zu 
verwenden ... oder das script entsprechend anzupassen ..

Natürlich kann ich es erst auf einer ext2-Partition installieren und dann auf 
eine reiserfs-Partition kopieren ...

Ich passe die lilo.conf an, starte neu und hab nen Kernel-Panic ...

Was ist denn jetzt passiert ?

Natürlich kann man das so machen, aber dann könnte man ja auch im vorherigen 
Script:

mke2fs durch mkfs.ext3 anpassen ...

Wow, dann bootet er sogar (aber er mountet es trotzdem als ext2 und damit 
fallen die vorteile von journals weg :-/)

Für alle diese Fälle benötigt man eine initrd, die das knx-hdinstall-script 
aber selber miterstellt ...

Deshalb bitte nur auf knx-hdinstall verweisen ...
>
> > Just say "yes, since version 2002-12-12; knx-hdinstall 0.351" ...
>
> s.o.
>
> > > Q04: Can I install knoppix on more than one single partion?
> > >
> > > A04: Not with the plain knx-hdinstall tool. There are too many details
> > > to be considered that would turn the script itself unmanageable. But
> > > you can install Knoppix on a single partion with knx-hdinstall and
> > > create more partions after installation. Just follow the steps of Q3.
> >
> > ok, but more detailed, imho ...
>
> Und zwar wie?
Damit meinte ich nur, dass wenn der manuell-teil in Q3 wegfällt er hierher 
muss ...
>
> > > Q05: Can I create a permanent installtion of Knoppix on my harddrive
> > > "by hand"?
> > >
> > > A05: Yes, there are several ways to accomplish this. [Klaus: Copy the
> > > content of the KNOPPIX subdir whereto and ...?! + create boot disk]
> > > [short instructions to perform knx-hdinstall by hand]
> >
> > See original FAQ ? (Explained there)
>
> Hm, kannst Du den Abschnitt mal reinposten und auf die Schreibweise hier
> anpassen?
Q: Can one also install the distribution from the CD onto a hard drive?

A: In principal, yes (after all, the "master" system also runs on a hard
drive before it is burned to CD). However there is currently no
installation GUI for this, so installation to a hard drive should probably
only be attempted by more knowledgeable Linux users. Assuming the KNOPPIX
system has already booted, installation approximately follows this
procedure:
1.) initialize a free partition with the ext2 file system and mount it on
    /mnt/knoppix, for example.
2.) cp -a /KNOPPIX/* /mnt/knoppix/
3.) set up /mnt/knoppix/etc/fstab and /mnt/knoppix/etc/lilo.conf for the
    new system (Caution: symlinks in /boot initially point to the Ram
	disk!), run lilo.
4.) mkdir /mnt/knoppix/home/knoppix && \
	chown knoppix.knoppix /mnt/knoppix/home/knoppix
5.) Reboot, try the system out, fix any broken settings.
(No guarantees.)
>
> > > Q06: I just want to make minor changes to the image, like the default
> > > language to boot or the permanent setting of a boot option. Is there an
> > > easy way?
> > >
> > > A06: A very quick and dirty way to adjust minor settings of Knoppix is
> > > to load the whole image in a suitable editor and search for the default
> > > boot command line. If you find the string "lang=de" you can change this
> > > to "lang=us" or "lang=fr" if you like. Be careful not to change the
> > > length of your image. Use overwrite mode to perform these dirty hacks.
> > > There is no guarantee that this will actually work in all
> > > circumstances, though. This works since the initial boot area is like a
> > > floppy disk on the CD image that is not compressed in contrary to the
> > > distribution itself, which uses the compressing cloop module after
> > > booting.
> >
> > Also mention that it is possible to just remaster this part of the CD
> > without having to recrompress the Knx-Image ... ?
>
> Sehr gute Idee, nehme ich als neue Q auf.
ok
>
> > > Q07: Is there a more safe way to make changes to the image?
> > >
> > > A07: Kester Habermann wrote an utility that can read and write to the
> > > uncompressed part of the iso image. With that utility you can change
> > > default boot parameters (sometimes called cheatcodes), language or
> > > keyboard settings permanently. [Kester: add a little bit more detailed
> > > description and where to find that tool]
> >
> > Great idea ...
>
> Kannteste das noch nicht? Hat er geschrieben, als wir in Dubai waren und
> vor ein paar Wochen auf der Liste gepostet.
Doch hab ich gesehen, aber gute Idee das hier aufzunehmen ;-)

>
> > > Q08: I want to make slightly more complex persistent changes to Knoppix
> > > like the configuration of a static IP address or the installation of a
> > > ssh certificate. Do I have to remaster the image?
> > >
> > > A08: No you don't. If you pass the "floppyconfig" (or "custom" with is
> > > actually an alias for "floppyconfig") boot option line (sometimes
> > > inappropiately called cheatcodes), Knoppix searches after its hardware
> > > detection and booting the system for a file "knoppix.sh" on a floppy
> > > disk or in the "/" directory. You can place shell script commands into
> > > that file to perform any desired action, like
> > >
> > >   #!/bin/sh
> > >   ifconfig eth0 192.168.6.66 netmask 255.255.255.0 up
> > >   route add default gw 192.168.6.254
> > >
> > > if you want to assign a static IP to your network interface (you have
> > > to adjust the values with your own network settings, of course).
> >
> > Also mention that knoppix.sh in /KNOPPIX dir is always executed ...
>
> Hm, habe ich das nicht? Oder vielleicht falsch? Ich dachte, der Satz mit
> dem "/" würde das erklären. Bitte konkreten Korrekturvorschlag machen.

Hm, ne, hatte es überlesen ... Vielleicht nochmal darauf hinweisen, dass dafür 
ein komplettes Remastern nicht notwendig ist ...

>
> > > Q09: I want to use Knoppix in an unusual environment, like as a
> > > interactive presentation, as a repair system, with a special
> > > combination of tools or in my personal lunar vehicle. How can I
> > > customize Knoppix with such an selection of tools?
> > >
> > > A09: Basicly, Knoppix is a customized Debian GNU/Linux installation
> > > with added autodection features. Any user familiar with the basic
> > > principles of Linux or especially Debian administration can easily set
> > > up a customized version of Knoppix. There is a minimalized Knoppix
> > > available [Klaus: where to find it, which steps to perform to master an
> > > iso].
> >
> > Yes, good idea, please link to the optimized master-scripts ...
>
> was ist das? Bitte formulieren.

Knopper hatte irgendwann mal seine Scripte hier in der ML gepostet ...

Darauf sollte man verweisen, aber da kann Klaus vermutlich am besten darauf 
antworten ...
>
> Version 0.2 anbei.

Danke ...
>
> Regards,
>
> Nils Magnus
> Program-Chair LinuxTag 2003 Free Conference Program

cu

Fabian
>
> LinuxTag 2003: Where .com meets .org - magnus@linuxtag.org

_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: