This shows you the differences between two versions of the page.
|
tips [2011/10/13 21:55] 127.0.0.1 external edit |
tips [2012/01/16 09:45] (current) mika drop very deprecated tips [mika] |
||
|---|---|---|---|
| Line 22: | Line 22: | ||
| If your **usb-stick** has a partition like /dev/sda1 just use 'mount /mnt/external1' to mount it. 'mount /mnt/external' corresponds to /dev/sda. [Tip by [[http://grml.org/team/|mika]]] | If your **usb-stick** has a partition like /dev/sda1 just use 'mount /mnt/external1' to mount it. 'mount /mnt/external' corresponds to /dev/sda. [Tip by [[http://grml.org/team/|mika]]] | ||
| - | |||
| - | ===== Install grml to harddisk ===== | ||
| - | |||
| - | Just run something like 'grml2hd /dev/hda1 -mbr /dev/hda' to install grml on /dev/hda1 and install lilo in the master boot record (mbr) of /dev/hda. You have to answer just a few questions, some minutes later you will find a bootable linux including full hardware-detection. See [[http://grml.org/grml2hd|grml.org/grml2hd/]] for more information. [Tip by [[http://grml.org/team/|mika]]] | ||
| ===== Install (plain) Debian via Grml ===== | ===== Install (plain) Debian via Grml ===== | ||
| - | It is not only possible to install Grml via grml2hd but to install a plain(!) Debian system via Grml. This might be useful for example if Debian does not boot on your hardware but Grml does. This is possible via running [[http://grml.org/grml-debootstrap/|grml-debootstrap]]. [Tip by [[http://grml.org/team/|mika]]] | + | It is possible to install a plain(!) Debian system via Grml. This might be useful for example if Debian does not boot on your hardware but Grml does. This is possible via running [[http://grml.org/grml-debootstrap/|grml-debootstrap]]. [Tip by [[http://grml.org/team/|mika]]] |
| ===== grml as AFS client ===== | ===== grml as AFS client ===== | ||
| Line 110: | Line 106: | ||
| [Tip by boulhian and [[http://grml.org/team/|mika]]] | [Tip by boulhian and [[http://grml.org/team/|mika]]] | ||
| - | |||
| - | ===== grml and java ===== | ||
| - | |||
| - | The Java implementation by Sun isn’t part of grml due to it’s overhead. We recommend a harddisk installation of grml via [[http://grml.org/grml2hd/|grml2hd]] and installing Sun's Java/JRE afterwards. Just get the j2re.bin-file from [[http://java.sun.com/downloads/index.html|java.sun.com]] and then run: | ||
| - | |||
| - | <code> | ||
| - | sudo apt-get install java-package | ||
| - | fakeroot make-jpkg j2re-*.bin | ||
| - | sudo dpkg -i sun-j2re*.deb | ||
| - | update-alternatives --config java | ||
| - | </code> | ||
| - | |||
| - | Starting with version 0.5 grml provides the smaller and very fast kaffe/jikes-kaffe implementation! [Tip by [[http://grml.org/team/|mika]]] | ||
| ===== Reinstall all packages ===== | ===== Reinstall all packages ===== | ||
| Line 368: | Line 351: | ||
| </code> | </code> | ||
| - | ===== How to make a < 500 MB installation of grml-small with X ===== | ||
| - | |||
| - | Installing plain grml-small on a harddisk will require ~240 MB of disk space. See [[http://grml.org/grml2hd|grml.org/grml2hd/]] for more information. Boot into your hdd installation and install X via: | ||
| - | |||
| - | # apt-get update && apt-get install xorg grml-x fluxbox | ||
| - | |||
| - | You may want to replace fluxbox with the window manager of your choice. Ignore warnings related to verification of packages, locale settings and xserver upgrade issues. You may just click yourself through the configuration of X, with default values as we will be using ''grml-x'' to configure it later. Use: | ||
| - | |||
| - | # grml-x -nostart fluxbox | ||
| - | |||
| - | to configure X. Just use ''startx'' to start X then (as user). If you have chosen fluxbox you have a ~450 MB grml-small installation with X now. You can furthermore shrink it via using ''apt-get clean'', deborphan, debfoster and removing furthermore unneeded packages via ''apt-get remove $packages''. | ||
| - | |||
| - | [Tip by esc + mika] | ||
| - | |||
| - | ===== Multiboot USB pen ===== | ||
| - | |||
| - | It's possible to get multiboot starting with grml 1.1, grml64 0.2 and grml-medium[64]. This might be useful if you need a 32bit together with a 64bit version on just one medium like a USB pen. | ||
| - | |||
| - | First of all take the 32bit version and install it to your USB pen using [[usb|grml2usb]]. Then proceed as follows: | ||
| - | |||
| - | <code> | ||
| - | # Mount the USB pen (in this example /dev/sdb1) where you installed | ||
| - | # the first grml ISO using grml2usb: | ||
| - | GRML2USB=/mnt/usb-sdb1 | ||
| - | mount ${GRML2USB} | ||
| - | |||
| - | # Mount the second ISO as well: | ||
| - | TARGET=/mnt/test | ||
| - | mount -o loop /grml/grml-isos/grml64_0.2.iso ${TARGET} | ||
| - | |||
| - | # Set up squashfs: | ||
| - | cp ${TARGET}/live/grml64.squashfs ${GRML2USB}/live/grml64.squashfs | ||
| - | echo grml64.squashfs >> ${GRML2USB}/live/grml64.module | ||
| - | |||
| - | # Copy kernel and initrd: | ||
| - | cp ${TARGET}/boot/grml64/initrd.gz ${GRML2USB}/grml64.gz | ||
| - | cp ${TARGET}/boot/grml64/linux26 ${GRML2USB}/grml64 | ||
| - | </code> | ||
| - | |||
| - | Now adjust syslinux.cfg and add an additional entry for the second ISO. Usage example: | ||
| - | |||
| - | <code> | ||
| - | # cat syslinux.cfg | ||
| - | [...] | ||
| - | # Configuration for 32bit grml (being present already): | ||
| - | LABEL grml | ||
| - | MENU LABEL grml - Standard Bootup | ||
| - | MENU DEFAULT | ||
| - | KERNEL linux26 | ||
| - | APPEND apm=power-off lang=us vga=791 quiet initrd=initrd.gz boot=live nomce | ||
| - | |||
| - | # Add an additional configuration entry for 64bit grml: | ||
| - | LABEL grml64 | ||
| - | MENU LABEL grml - Standard Bootup | ||
| - | MENU DEFAULT | ||
| - | KERNEL grml64 | ||
| - | APPEND apm=power-off lang=us vga=791 quiet initrd=grml64.gz boot=live module=grml64 nomce | ||
| - | [...] | ||
| - | </code> | ||
| - | |||
| - | Finally invoke syslinux (don't forget to adjust the device name according to your needs): | ||
| - | |||
| - | <code> | ||
| - | syslinux /dev/sdb1 | ||
| - | </code> | ||
| - | |||
| - | That's it! Now you should have a USB pen which lets you choose "grml64" on the bootprompt to boot the 64bit version of grml. | ||
| - | |||
| - | [Tip by mika] | ||