Was sind Boot ParameterBoot Parameter (auch Cheatcodes genannt) werden verwendet um den Bootvorgang von Slax zu beeinflussen. Manche sind für alle Linuxe gleich, andere sind Slax-spezifisch. Man kann sie verwenden um bestimmte Arten von Hardwareerkennung zu deaktivieren, Slax von der Festplatte zu starten, die Loginaufforderung zu überspringen und die GUI zu starten, etc. Verwendung von Boot ParameternStarten Sie Ihren Computer neu und warten Sie ein paar Sekunden bis ein schönes grafisches Slax logo mit einem Boot-Menü erscheint (es erscheint normalerweise für weniger als 9 Sekunden). Wählen Sie ihren gewünschten Eintrag und drücken Sie die Tab Taste, welche Ihnen erlaubt den Befehl zu bearbeiten. Schreiben Sie die gewünschten Boot Optionen am Ende der Zeile. Liste der Boot Parameter acpi=off
nohotplug
nopcmcia
noagp ... deaktiviere spezifische Hardware Autoerkennung im Fall von Abstürzen. Ihre Hardware wird überhaupt nicht erkannt, Sie müssen den "pcimodules" Befehl verwenden, nachdem Sie sich bei Slax eingeloggt haben und Sie müssen versuchen alle benötigten Module aus der Liste manuell mit modprobe zu starten. nodma ... deaktiviere DMA für alle CD-ROMs und Datenträger noauto ... führt Festplatten in fstab mit 'noauto' auf, so dass Sie jede Platte manuell mounten müssen um darauf zugreifen zu können nohd ... mounte keine Festplatten nocd ... bindet keine CD/DVD-Laufwerke während des Start-Vorgangs ein. Dies ist sinnvoll, falls der Start-Vorgang sehr langsam ist, z.b. weil die Laufwerke lange brauchen um festzustellen, dass gar keine CD/DVD eingelegt ist. nosound ... stelle Lautstärke auf Stumm statt sie auf 77% zu erhöhen from=/dev/hda1/Slax.iso
from=path/to/Slax.iso
from=/dev/hda1
from=path/to/Slax/ ... load Slax data from
different place instead of the boot device. First
example will search for Slax.iso, only on hda1. Second
example will search for 'path/to/Slax.iso' on all
devices; the first device containing the path/file is
used. Third example expects that the ISO is unpacked to
hda1. Fourth example searches through all disks for a
directory 'path/to/Slax' and expects content of
unpacked ISO inthere. passwd=somepass
passwd=ask ... setzt das Passwort von root auf "somepass", oder fragt beim Booten vor dem Starten von Slax nach einem neuen Passwort(mit =aks). Keine Sorge, das eingegebene Passwort wird nicht im Login-Fenster angezeigt. changes=/dev/device
changes=/dev/device/file.dat
changes=/path/
changes=/path/file.dat
changes=/dev/device/path/ ... Alle Änderungen, die Du in Slax machst, werden zunächst nur im Arbeitsspeicher gehalten. Mit dieser Boot-Option weist Du Slax an, die Änderungen auf ein anderes Medium zu speichern. Nehmen wir an, Du haste eine ungebrauchte Partition /dev/hda1/,
dann kannst Du diese mit einem Linux- Dateisystem (z.B. xfs) formatieren
und dann die Option "changes=/dev/hda1" benutzen, um alle Änderungen automatisch darauf abzuspeichern. (Änderungen werden in einem Ordner names "changes" abgespeichert). So bleiben die Änderungen auch nach einem Neustart erhalten. If you use a file name instead of device, and the file contains valid
filesystem, Slax will mount it as a loop device and will store changes
to it. Moreover if you don't specify the device where the file is stored,
Slax will try to find it on all your partitions. If you use a directory, Slax will save changes to it (it will make a
'changes' subdirectory inthere). You don't even need a Linux filesystem
on that disk, as the directory will be overlayed by posixovl. This way,
you can save your changes even to VFAT or NTFS. toram
copy2ram ... copy all files (all
required and optional modules) to RAM. You'll need at
least 320MB of RAM to do this and boot Slax properly.
This will slow down the boot phase but it will speed up
Slax! load=module ... load optional
modules from /optional/ directory on the CD. You can
use full module name (module.lzm) or you can skip the
extension noload=module
noload=module[1];module[n] ... disable loading of
any modules specified. This affects all the modules on
Slax CD, including /base and /modules, so using
noload=kde will disable loading of all modules with
'kde' in the name. It is useful with copy2ram
cheatcode, because any un-used module is not copied to
ram. debug ... enable debug mode
(and start bash several times during the boot) hit
Ctrl+D to continue booting autoexec=...
autoexec=startx
autoexec=xconf;startx
autoexec=xconf;startx;reboot ... execute specified
command(s) instead of Slax login. In this example, skip
Slax login prompt and automatically start XWindow
system. Use semicolon (;) as command separator. Slax
will not reboot automatically after the command(s)
finish, so if you'd like to restart, specify 'reboot'
or 'poweroff' as the last command. If you need to use
spaces in the commandline, replace them by ~. For
example, autoexec=echo~Shutting~power;poweroff will do
just like that. |