<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body alink="#ee0000" link="#0000ee" text="#000000" vlink="#551a8b">
Hi<br>
I wanted to suggest some minor modifications to the instructions
concerning the usb stick installation.<br>
I found that in order to install grml-medium-2008.11 , I had to adjust
the lines in red. I also added some <font color="#009900">requirements</font>
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 ):<br>
<br>
<p><font color="#009900">aptitude install syslinux #</font><font
color="#009900"> <a
href="http://clonezilla.org/clonezilla-live/liveusb.php">syslinux 3.71
or later must be available on your GNU/Linux system</a><br>
</font></p>
<p><font color="#009900">aptitude install dosfstools # to get mkfs.vfat</font></p>
<div class="level2">
<ul>
<li class="level1"><span class="li"> Get the grml iso</span></li>
<li class="level1"><span class="li"> Mount the iso loopback (e.g.
mount -o loop grml_small_0.4.iso /mnt/grml-iso)</span></li>
<li class="level1"><span class="li"> Make FAT16 filesystem on the
usbstick (e.g. mkfs.vfat -F 32 /dev/sda1)</span></li>
<li class="level1"><span class="li"> Create a disklabel (e.g.
dosfslabel /dev/sda1 GRML)</span></li>
<li class="level1"><span class="li"> Mount the usbstick (e.g. mount
/dev/sda1 /mnt/external1)</span></li>
<li class="level1"><span class="li"> Copy everything to the usbstick
(e.g. cp -r /mnt/grml-iso/* /mnt/external1).</span></li>
<li class="level1"><span class="li"> Move all files from
/mnt/external1/boot/isolinux/ (mv /mnt/external1/boot/isolinux/*
/mnt/external1)</span></li>
</ul>
<strike><span class="li">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</span></strike>
<p> <font color="#cc0000"> in /mnt/external1, mv isolinux.cfg to
syslinux.cfg </font>#<font color="#cc0000"><a
href="http://www.livecd.ethz.ch/usbdisk.html">I am not sure if this is
required, though</a></font><br>
</p>
<ul>
<li class="level1"><font color="#cc0000"><span class="li">the files
linux26 and initrd.gz must remain in boot/grmlmedium # this is what is
said in syslinux.cfg<br>
</span></font></li>
<li class="level1"><span class="li"> Umount the usbstick and the
grml-iso</span></li>
<li class="level1"><span class="li"> Run syslinux on the usbstick
(e.g. syslinux /dev/sda1)</span></li>
<li class="level1"><span class="li"> 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)</span></li>
<li class="level1"><span class="li"> may need to set the bootable
flag using parted (or fdisk)</span></li>
</ul>
</div>
<p>disk layout:</p>
<pre>/mnt/external1:
addons
f1
..
isolinux
isolinux.bin
syslinux.cfg
ldlinux.sys
live/
filesystem.module
grml-medium.squashfs
boot/grmlmedium
initrd.gz
linux26
</pre>
<br>
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)<br>
<br>
Thanks<br>
Peter<br>
</body>
</html>