
Hi I wanted to suggest some minor modifications to the instructions concerning the usb stick installation. I found that in order to install grml-medium-2008.11 , I had to adjust the lines in red. I also added some requirements that might not be available , when your build environment is not grml ( I suppose $medium can be replaced with the other flavors but I have not verified ):
aptitude install syslinux # syslinux 3.71 or later must be available on your GNU/Linux system http://clonezilla.org/clonezilla-live/liveusb.php
aptitude install dosfstools # to get mkfs.vfat
* Get the grml iso * Mount the iso loopback (e.g. mount -o loop grml_small_0.4.iso /mnt/grml-iso) * Make FAT16 filesystem on the usbstick (e.g. mkfs.vfat -F 32 /dev/sda1) * Create a disklabel (e.g. dosfslabel /dev/sda1 GRML) * Mount the usbstick (e.g. mount /dev/sda1 /mnt/external1) * Copy everything to the usbstick (e.g. cp -r /mnt/grml-iso/* /mnt/external1). * Move all files from /mnt/external1/boot/isolinux/ (mv /mnt/external1/boot/isolinux/* /mnt/external1)
and the files linux26 and the minirt.gz (since grml1.1: initrd.gz!) from the directory named like the grml-flavour (/boot/grml, /boot/grmlmedium, /boot/grml64,...) to root of usb-stick
in /mnt/external1, mv isolinux.cfg to syslinux.cfg #I am not sure if this is required, though http://www.livecd.ethz.ch/usbdisk.html
* the files linux26 and initrd.gz must remain in boot/grmlmedium # this is what is said in syslinux.cfg * Umount the usbstick and the grml-iso * Run syslinux on the usbstick (e.g. syslinux /dev/sda1) * Check if the usbstick has an valid mbr, else dd if=mbr.bin of=/dev/sda (mbr.bin is in the syslinux package, usually installed in /usr/lib/syslinux/mbr.bin) * may need to set the bootable flag using parted (or fdisk)
disk layout:
/mnt/external1:
addons f1 .. isolinux isolinux.bin syslinux.cfg ldlinux.sys live/ filesystem.module grml-medium.squashfs
boot/grmlmedium initrd.gz linux26
Pleases let me know , if I am wrong of if there are better ways to do that ( I know, there is grml2usb, but I want to be sure to understand what's going on)
Thanks Peter

* Peter vmail@mycircuit.org [20090402 02:45]:
I wanted to suggest some minor modifications to the instructions concerning the usb stick installation. I found that in order to install grml-medium-2008.11 , I had to adjust the lines in red. I also added some requirements that might not be available , when your build environment is not grml ( I suppose $medium can be replaced with the other flavors but I have not verified ):
[...]
Thanks for your feedback. You can edit the wiki pages on your own as well BTW. ;) Anyway, I've updated it according to your feedback and improved the grml2usb section as well:
http://wiki.grml.org/doku.php?id=usb
Make sure to check out our new grml2usb (available from grml-testing repository currently), it's really awesome. :)
regards, -mika-

Make sure to check out our new grml2usb (available from grml-testing repository currently), it's really awesome. :)
regards, -mika-
Great, I find usb sticks with grml on it increasingly useful to replace hard disk installations ( the system stuff, not the data). I am going to experiment with a setup for my different servers ( mail, web , openldap) with a grml - xen0 on a ubs stick and the guests on an encrypted truecrypt volume, with each guest running one server in a fine tuned minimal environment. Since the xom0 will be on a read only volume ( truecrypt does not support encrypted system volumes for linux ) , I am expecting good security with respect to intrusion and to physical theft at the same time.
I know that sounds paranoid, but the real question is: is it paranoid enough ? :-\
Thanks for grml-on-usb
Peter
Teilnehmer (2)
-
Michael Prokop
-
Peter