02.12.2008, 09:06 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
retabell
Titel:   BeitragVerfasst am: 23.09.2008, 19:17 Uhr



Anmeldung: 04. Sep 2006
Beiträge: 27

Zitat:
Nachdem das erledigt ist, müssen wir alles Überflüssige wieder löschen

und auch noch /tmp leeren
Code:
rm -rf /tmp/*

das wandert ansonsten mit ins iso-image

Mit Xephyr hatte ich beim Neustarten auch so meine Probleme,
ein neuerliches einloggen hat bei mir geholfen


Die VBox guestadditions lassen sich recht stresslos (-- testweise --)
in die Live-Cd integrieren. cheatcode = vbox
getestet mit installiertem dkms.deb
und VirtualBox 2.02
und werden beim cd -Start installiert

Code:
--- live-autoconfig.org   2007-09-04 23:46:55.000000000 +0200
+++ live-autoconfig   2008-09-23 11:53:52.000000000 +0200
@@ -2046,6 +2046,13 @@
 # hide kernel messages because of network-manager (old: 6)
 echo "4" > /proc/sys/kernel/printk
 
+# install vbox-module
+if checkbootparam "vbox"; then
+    fix-unionfs
+    /usr/share/kanotix/profile/vbox/VBoxLinuxAdditions-x86.run
+modprobe vboxvfs
+fi
+   
 # Re-enable signals
 trap 2 3 11


Pfad ist anzupassen und die Rechte auch.




Mit einem Kernel update bin ich gescheitert
kernel-panic
reicht es dann aus im miniroot.gz alle Treiber-Module zu tauschen
oder wie baut man das?


Zitat:
In der sources.list alle 'etch' durch 'lenny' ersetzen

und das thorhammer repo rausgenommen?

gruss retabell
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
miltonjohn
Titel:   BeitragVerfasst am: 23.09.2008, 23:23 Uhr



Anmeldung: 22. Mai 2007
Beiträge: 254
Wohnort: GP
wahrscheinlich besser so unungef'eahr der wortlaut von Kano im Irc - dass ein upgrade von Etch auf Lenny mit den Backports nicht so gut ist also schließe ich mal einfach draus dass, das Thorhammer-Repo besser mal auskommentiert werden sollte....

_________________
„Yurtta Sulh, Cihanda Sulh“

Kanotix/Debian Info Seite für Einsteiger:
http://www.langscheid-computer.de/

playing with:
KANOTIX, (granular,sidux,)
and still a noob!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gs
Titel:   BeitragVerfasst am: 23.11.2008, 21:55 Uhr



Anmeldung: 06. Jan 2005
Beiträge: 426

will nach längerer Zeit dieses Thema reanimieren.

Das trübe Wochenende war eine gute Gelegenheit, das schon mehrfach erwähnte Programm "bootcd" für die Erzeugung einer Kanotix-live-CD von einer nach Wunsch eingerichteten Festplatteninstallation zu probieren. Also nochmal - nicht wie die schöne Anleitung von blauweiss über die LiveCD durch Hinzufügen und Weglassen von Paketen, sondern von einer Festplatteninstallation, die alle nötigen Programme, Treiber etc. enthält und mitbringt.

Um es vorwegzunehmen: funktioniert im Prinzip tadellos! und bietet die einfache Möglichkeit, ein Thorhammer RC7 mit aktuellem dist-upgrade und neuestem kernel zu einer aktuellen livedvd zu machen.

Einige praktische Hinweise:

Die erste kleine Hürde ist die Einrichtung der Datei "bootcdwrite.conf" in /etc/bootcd, welche vom script benützt wird. Der Einfachkeit halber füge ich die von mir modifizierte bootcdwrite.conf jetzt bei:


"# bootcdwrite.conf
#
# look for man bootcdwrite.conf(5) for more informations
#

# this path was added as prefix to KERNEL, INITRD, DISABLE_CRON, NOT_TO_CD
# and NOT_TO_RAM, if this are relativ paths (without starting "/")
SRCDISK=/

# Define the kernel which is used
KERNEL=vmlinuz

# size of each ramdisk ram1 and ram2 (ram1: /dev /etc /home /root /tmp,
# (ram2: /var)
RAMDISK_SIZE=1000000

# typ is CD or DVD
TYP=DVD

# specify one or more CD devices to boot from, first is default
# "auto" try to find the bootcd on all SCSI and IDE CDROMS
CDDEV="auto /dev/hda /dev/hdb /dev/hdc /dev/hdd /dev/scd0 /dev/scd1"

# Text to Display at Boottime (see syslinux doku)
# This option is not supported for hppa
DISPLAY="/usr/share/bootcd/default.txt"


# do some checks or not
DO_CHECK=yes

# additional options for the kernel
APPEND=""

# exclude some files or directories from writing to cd
NOT_TO_CD=""

# exclude some files or directories from loading to ram
# Because most people's home and root dir are to large to include
# in RAM, subdirectories can be excluded:
#NOT_TO_RAM="$(find $SRCDISK/root -maxdepth 1 -mindepth 1 -type d)"

# If you are using ssh it is helpful to have a unique ssh hostkey for
# each CD.
SSHHOSTKEY=yes

# logfile
ERRLOG=/var/log/bootcdwrite.log

# where the image resists after build
VAR=/var/spool/bootcd

# FLOPPY_RUNTIME_DEV=<floppy device>|""
# When you boot from cd you read changes from this device.
FLOPPY_RUNTIME_DEV=/dev/fd0

# BOOTFLOPPY=yes|no
# If you want to boot from FLOPPY specify BOOTFLOPPY=yes. This reduces
# space on floppy used by bootcdflopcp. For this to work FLOPPY_CREATE_DEV
# has to be specified.
# For hppa this option is not supported and must be set to no.
# Default:
# BOOTFLOPPY=no
BOOTFLOPPY=no

# If you want to boot several machines from the same cdrom, you must have
# the individual configuartion (exp: /etc/network/interfaces) on floppy.
# If one can not be mounted it is a good idea to stop booting and to wait
# for manual interaction instead of comming up with a wrong configuration.
BOOT_ONLY_WITH_FLOPPY=no

# delete some chached files in /var
CLEAN_VAR=yes

# If FASTBOOT=yes then additional images for the ramdisk will be created
# by bootcdwrite and copied to CD. This allows faster booting,
# but needs extra space on CD
FASTBOOT=yes

# use isolinux (yes,no,auto), auto check for isolinux and use it
ISOLINUX=auto

# use -s (save, slow, stupid) option on syslinux
SYSLINUX_SAVE=yes

# choose the architecture
# ARCH=auto|hppa|i386|ia64
ARCH=auto

# use devfs or not
DEVFS=no

# path to initrd
INITRD="initrd.img"

# addiditionel entries to fstab
# TO_FSTAB="/dev/hdc1 /home ext3 defaults 1 1
# /dev/usb0 /mnt/usb ext3 defaults 1 1 "
TO_FSTAB=""

# transparent compression of ISO 9660/Rock Ridge filessytem
# ("auto" checks for space to compress the image on the local system)
# COMPRESS=<yes|no|auto>
COMPRESS="auto"

# Files or Directory-Trees that should never be compressed on CD can be listed
# here. You have to define the Path as it is on the CD, (with /var.ro
# instead of /var)
NOTCOMPRESSED=""

# Files listed in DISABLE_CRON will be on the cdrom with a .no_run_on_bootcd
# suffix so run-parts won't execute them. The original file will be a link to
# /bin/true.
#
DISABLE_CRON="etc/cron.daily/find etc/cron.daily/standard etc/cron.daily/security"

# With this variable you can add or delete some options
# given to mkisofs by bootcdwrite.
# Please create debian-bugreports if you have to use special
# options, not mentioned here. Then I can list this options here.
#
MKISOFS_CHNG=""

# function extra_changes()
# It is possible to define a function called extra_changes to have some
# files modified on the ISO image. Here is an example:
#
# function extra_changes() {
# echo "noname" >$VAR/changes/etc.ro/hostname
#
# mkdir -p $VAR/changes/etc.ro/network
# ( echo "auto lo"
# echo "iface lo inet loopback"
# echo ""
# echo "auto eth0"
# echo "iface eth0 inet static"
# echo " address 0.0.0.0"
# echo " netmask 255.255.255.0"
# ) >$VAR/changes/etc.ro/network/interfaces
#
# echo "127.0.0.1 localhost noname" >$VAR/changes/etc.ro/hosts
#
# cat $SRCDISK/etc/passwd |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/passwd
#
# cat $SRCDISK/etc/shadow |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/shadow
#
# cat $SRCDISK/etc/group |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/group
# }
#
#

# BOOTCDMODPROBE=standard|bootcd|auto
# If booted from initrd bootcd has to load the necessarry modules.
# If only modules provided by initramfs-tools are needed you can
# specify "standard" here. If bootcd should try extra hard to load
# neccessary modules you can specify "bootcd" here.
# Bootcd will use discover for this purpose. So discover has to be installed.
# If you specify auto, bootcd will check if discover is installed.
# If it is installed # BOOTCDMODPROBE=bootcd will be set, if not
# BOOTCDMODPROBE=standard will be set.
# Be aware that people have reported, that sometimes BOOTCDMODPROBE=bootcd
# may not work but sometimes it is needed.
BOOTCDMODPROBE=standard"

So hat es bei mir funktioniert - habe allerdings auf dem Eeepc 2GB RAM, und viel RAM wird vom script benötigt.
Meine Installation ist 3,3 GB groß, die resultierende live-DVD enthält ebenfalls 3,3 GB. Die Erzeugung dauerte auf dem Eeepc ca. 11 Minuten, das Brennen ein bisschen mehr.
Ein Problem ist die Zeit, welche die erzeugte DVD zum Booten braucht - auch über 10 Minuten. Hier muss man Geduld haben und sicher ist das der "bootcd" zugrundeliegende script auch optimierungsfähig bzw. sogar bedürftig.

Letzeres trifft in besonderem Maße für Scripte und bootcd2disk.conf zu, die für eine neue Installation von der produzierten DVD zuständig sind. Hier musste ich ziemlich "basteln", weil sonst eine ganze Festplatte usurpiert und partitioniert wird. Das Installationsscript geht offenbar per default auch von einer eigenen Bootpartition aus, was ja wohl nicht mehr aktuell ist.....

Meine von einer Kanotix-Installation auf dem Eeepc erzeugte "custom" Kanotix-DVD läuft jedenfalls auch auch einem Lenovo-Notebook, während auf dem Desktop-Computer, einem Fujitsu-Siemens-Scenic Produkt, 1 GB Ram nicht zum Booten der neuen live-DVD ausreichten...
Und schließlich: auch die Festplatteninstallation der mit bootcd erzeugten Kanotix-DVD funktionerte schlussendlich.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.