Code: |
mkdir /mnt/slax-image |
Code: |
mount -o loop -t iso9660 SLAX-version.iso /mnt/slax-image |
Code: |
mount /dev/hdc /mnt/slax-image |
Code: |
mkfs.msdos -F 32 /dev/sda1_removable # (or where ever the USB drive is located) |
Code: |
cd /mnt/slax-image |
Code: |
./make-disk.sh /dev/sda1_removable #(or where ever the USB drive is located) |
Code: |
mkdir /mnt/slax-image |
Code: |
mount -o loop -t iso9660 SLAX-version.iso /mnt/slax-image |
Code: |
mount /dev/hdc /mnt/slax-image |
Code: |
mkfs.ext3 /dev/hda1 |
Code: |
cd /mnt/slax-image |
Code: |
./make-disk /dev/hda1 |
Code: |
# Set the value of MOD_LOC appropriately. its default should be ok export MOD_LOC=/boot/modules |
Code: |
# make the work area mkdir -p /tmp/startkde/usr/bin touch /tmp/startkde/usr/bin/start-kdm echo '#!/bin/sh' > /tmp/startkde/usr/bin/start-kdm echo "/usr/bin/xconf;/opt/kde/bin/kdm" >> /tmp/startkde/usr/bin/start-kdm echo "while [ 1 -eq 1 ] ; do sleep 10d; done" >> /tmp/startkde/usr/bin/start-kdm chmod 755 /tmp/startkde/usr/bin/start-kdm # make the module and put it in the modules area # e.g. /dev/hda1/modules dir2mo /tmp/startkde ${MOD_LOC}/zzzzzzstart-kdm.mo echo "Done" |
Code: |
boot: slax autoexec=start-kdm |
Code: |
boot: slax autoexec=xconf;kdm |
Code: |
boot: slax autoexec=xconf;kdm;sleep~999d |
Code: |
# Set the value of MOD_LOC appropriately. its default should be ok export MOD_LOC=/boot/modules |
Code: |
# make the work area mkdir -p /tmp/startkde/etc/rc.d/rc3.d touch /tmp/startkde/etc/rc.d/rc.startkde echo '#!/bin/sh' > /tmp/startkde/etc/rc.d/rc.startkde echo "sleep 5;/usr/bin/xconf;/opt/kde/bin/kdm" >> /tmp/startkde/etc/rc.d/rc.startkde chmod 755 /tmp/startkde/etc/rc.d/rc.startkde cd /tmp/startkde/etc/rc.d/rc3.d ln -s /etc/rc.d/rc.startkde S99startkde # make the module and put it in the modules area # e.g. /dev/hda1/modules cd /tmp dir2mo /tmp/startkde ${MOD_LOC}/zzzzzzstartkdm.mo echo "Done" |
Code: |
telinit 4 |
Code: |
xconf; telinit 4 |
Code: |
# Default runlevel. (Do not set to 0 or 6) id:3:initdefault: |
Code: |
id:3:initdefault: |
Code: |
id:4:initdefault: |
Code: |
mkdir -p /boot/rootcopy/etc/ # or wherever it is cp /etc/inittab /boot/rootcopy/etc/ |
Code: |
boot: slax copy2ram |
Code: |
/bin/rm -rf /tmp/slax-boot-cd mkdir /tmp/slax-boot-cd |
Code: |
mount /mnt/hdc_cdrom cd /mnt/hdc_cdrom |
Code: |
cp -pr COPYING LICENSE README autorun.inf boot cheatcodes.txt filelist.txt isolinux.cfg make_*.* requirements.txt slax-guide.html unionfs.html /tmp/slax-boot-cd/ |
Code: |
# Mount /mnt/sda1_removable that have some custom splash settings and files. mount /mnt/sda1_removable cp -p /mnt/sda1_removable/readme.boot-cd /tmp/slax-boot-cd cp -p /mnt/sda1_removable/splash.* /tmp/slax-boot-cd cp -p /mnt/sda1_removable/splash.* /tmp/slax-boot-cd/boot |
Code: |
gui nohotplug autoexec=xconf;startx |
Code: |
cd /tmp/slax-boot-cd ./make_iso.sh /tmp/slax-boot-cd.iso |
Code: |
cp /tmp/slax-boot-cd.iso /mnt/sda1_removable |
Code: |
cd /tmp umount /mnt/hdc_cdrom eject /dev/hdc |
Code: |
cdrecord -dev=/dev/hdc /tmp/slax-boot-cd.iso |
Code: |
boot: slax nohotplug |
Code: |
boot: slax irqpoll pci=assign-busses |
Code: |
label slax kernel vmlinuz append irqpoll pci=assign-busses vga=769 max_loop=255 initrd=initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw gui autoexec=xconf;startx |
Code: |
startx -- -dpi 120 |
Code: |
Xft.dpi: 72 |
Code: |
Xft.dpi: 96 |
Code: |
boot: slax from=/dev/sda2/slax.iso |
Code: |
boot: slax probeusb debug from=/dev/sda5/slax.iso noauto # or what ever /dev/sd you are pointing to |
Code: |
label slax kernel vmlinuz append max_loop=255 initrd=initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw gui autoexec=xconf;startx |
Code: |
append="max_loop=255 init=linuxrc load_ramdisk=1 ramdisk_size=4444 autoexec=xconf;startx" |
Code: |
/usr/share/slax/kde-uselivemod |
Code: |
uselivemod |
Code: |
umount -l /root/module.mo |
Code: |
cd /mnt/live/memory/images ls -l |
Code: |
cd /tmp mkdir /tmp/module_name mount -o loop -t squashfs /location_of_the_broken_module/module.mo /tmp/module_name |
Code: |
dir2mo /tmp/module_name /permanent_location/module_name_your_initials.mo |
Code: |
#!/bin/sh WHERE_THE_MODS_ARE=/mnt/sda1_removable/old_mods YOUR_INITIALS=zzz PERMANENT_LOCATION=/mnt/sda1_removable/new_mods cd ${WHERE_THE_MODS_ARE} ls *.mo | while read module do module_name=`echo ${module%.*}` echo "processing ${module_name}" cd /tmp mkdir /mnt/${module_name} mount -o loop -t squashfs ${WHERE_THE_MODS_ARE}/${module} /mnt/${module_name} dir2mo /mnt/${module_name} ${PERMANENT_LOCATION}/${module_name}_${YOUR_INITIALS}.mo umount /mnt/${module_name} rmdir /mnt/${module_name} done |
Code: |
chmod 755 /tmp/module_conv.sh /tmp/module_conv.sh |
Code: |
xset dpms force off |
Code: |
radeontool light off |
Code: |
tbacklight --off |
Code: |
vbetool dpms off |
Code: |
xset dpms force off |
Code: |
radeontool light off radeontool light on |
Code: |
tbacklight --off tbacklight --on |
Code: |
vbetool dpms off vbetool dpms on |
Code: |
START qemu.exe START qemu.exe F: -L . -m 128 -enable-audio -user-net -localtime |
Code: |
qemu /dev/ qemu /dev/sda qemu /dev/sda -kernel-kqemu qemu /dev/sda -k us -localtime -m 256 -soundhw es1370 -kernel-kqemu |
July 2006 August 2006 September 2006 November 2006 December 2006 January 2007 July 2007