Templates in overlay directory: Trimm "[]" from version string, retrieve RELEASE_INFO...
[grml2usb.git] / grml2usb.8.txt
1 grml2usb(8)
2 ==========
3
4 Name
5 ----
6 grml2usb - install grml ISO(s) on usb device for booting
7
8 Synopsis
9 --------
10 grml2usb [ options ] <ISO[s]> <device>
11
12 *******************************************************************************
13 Important! The grml team does not take responsibility for loss of any data!
14 *******************************************************************************
15
16 [[introduction]]
17 Introduction
18 ------------
19
20 grml2usb installs grml on a given partition of your usb device and makes it
21 bootable. It provides multi-iso support, meaning you can specify several grml
22 ISOs on the command line at once and select the grml flavour you would like to
23 boot on the bootprompt then. Note that the *first* ISO specified on the grml2usb
24 command line will become the default one (that's the one that will boot when
25 just pressing enter on the bootprompt or wait until the boot timeout matches).
26
27 [IMPORTANT]
28 By default a compatible master boot record (MBR) is installed on the device
29 (being for example /dev/sdX when executing 'grml2usb grml.iso /dev/sdX1') and
30 syslinux is being used as default bootloader. Avoid installation of the default
31 MBR using the '--skip-mbr' option or if you encounter any problems with the
32 default MBR consider using '--syslinux-mbr' instead.
33
34 [[options]]
35 Options
36 -------
37
38 The ISO[s] should be the path to one or multiple grml-ISOs and/or the path to
39 the currently running live-system (being /live/image).
40
41 The device either might be a device name like /dev/sdX1 or a directory. When
42 specifying a device name the device is mounted automatically. When specifying a
43 directory grml2usb is assuming that you did set up a bootloader on your own (or
44 don't need one) and a bootloader won't be installed automatically.
45
46 The following options are supported:
47
48   *\--bootoptions=...*::
49
50 Use specified bootoptions as default. To use flavour name as a argument for a
51 boot parameter use %flavour which will be expanded to the flavour name. To add
52 multiple bootoptions you can specify the option multiple time.
53
54   *\--bootloader-only*::
55
56 Do *not* copy files but instead just install a bootloader.  Note that the boot
57 addons are copied to /boot/addons at this stage as well.  If you want to skip
58 copying the boot addons consider using the --skip-addons option.
59
60   *\--copy-only*::
61
62 Copy files only but do *not* install a bootloader.
63
64   *\--dry-run*::
65
66 Avoid executing commands, instead show what would be executed.
67 Warning: please notice that the ISO has to be mounted anyway, otherwise
68 identifying the grml flavour would not be possible.
69
70   *\--fat16*::
71
72 Format specified partition with FAT16.
73 **Important:** this will destroy any existing data on the specified partition!
74
75   *\--force*::
76
77 Force any (possible dangerous) actions requiring manual interaction (like --fat16).
78
79   *\--grub*::
80
81 Install grub bootloader instead of (default) syslinux.
82
83   *\--grub-mbr*::
84
85 Install grub into MBR (Master Boot Record) instead of PBR (Partition Boot
86 Record). Check out <<mbr-vs-pbr,the 'mbr-vs-pbr' section in the FAQ of this
87 document>> for further details.
88
89   *\--help*::
90
91 Display usage information and exit.
92
93 //////////////////////////////////////////////////////////////////////////
94   *\--initrd=...*::
95
96 Install specified initrd instead of the default. You might want to specify
97 option *--kernel* as well. (Be aware when using multiboot setup.)
98 [Notice: not implemented yet.]
99 //////////////////////////////////////////////////////////////////////////
100
101 //////////////////////////////////////////////////////////////////////////
102   *\--kernel=...*::
103
104 Install specified kernel instead of the default. You might want to specify
105 option *--initrd* as well. (Be aware when using multiboot setup.)
106 [Notice: not implemented yet.]
107 //////////////////////////////////////////////////////////////////////////
108
109   *\--mbr-menu*::
110
111 Install master boot record (MBR) with integrated boot menu: interactively choose
112 the partition to boot from, with a timeout to load the default partition, or
113 boot from floppy. When NOT using the --mbr-menu option a MBR with LBA and large
114 disc support but without an integrated boot menu is installed (so it's not
115 visible at all but instead directly jumps to the bootloader - being grub or
116 syslinux). Note: This options is available only when using the default MBR and
117 won't have any effect if you're using the '--syslinux-mbr' option.
118
119   *\--quiet*::
120
121 Do not output anything but just errors on console.
122
123   *\--skip-addons*::
124
125 Do not install /boot/addons/ files (like dos, grub, memdisk,...).
126
127   *\--remove-bootoption=...*::
128
129 Remove specified bootoption (could be a regex) from existing boot options. Use
130 multiple entries for removing different bootoptions at once.
131
132   *\--skip-grub-config*::
133
134 Skip generation of grub configuration files. By default the configuration
135 files for syslinux *and* grub will be written so you've a working configuration
136 file no matter whether you're using grub or syslinux as bootloader.
137
138   *\--skip-mbr*::
139
140 Do not touch/install the master boot record (MBR).
141
142   *\--skip-syslinux-config*::
143
144 Skip generation of syslinux configuration files. By default the configuration
145 files for syslinux *and* grub will be written so you've a working configuration
146 file no matter whether you're using grub or syslinux as bootloader.
147
148   *\--syslinux*::
149
150 This option is deprecated and is being left only for backwards compatibility
151 reasons. Syslinux is the default bootloader of grml2usb and therefore the
152 '--syslinux' option doesn't have any effects. If you do not want to use syslinux
153 as bootloader consider using the '--grub' option.
154
155   *\--syslinux-mbr*::
156
157 Install syslinux' master boot record (MBR, which is booting from the partition
158 with the "active" flag set) instead of the default one.  If you encounter any
159 problems with the default MBR you can try using the syslinux MBR instead. If
160 that works for you please <<author,let us know>> so we can adjust our default
161 MBR accordingly.
162
163 //////////////////////////////////////////////////////////////////////////
164   *\--squashfs=*::
165
166 Install specified squashfs file instead of the default.
167 [Notice: not implemented yet.]
168 //////////////////////////////////////////////////////////////////////////
169
170 //////////////////////////////////////////////////////////////////////////
171   *\--uninstall*::
172
173 Uninstall grml ISO files.
174 [Notice: not implemented yet.]
175 //////////////////////////////////////////////////////////////////////////
176
177   *-v*, *\--version*::
178
179 Return version and exit.
180
181   *\--verbose*::
182
183 Enable verbose mode.
184
185 Developers Corner
186 -----------------
187
188 [[directory-layout]]
189 Directory layout on usb device
190 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191
192   boot/ ->
193     |-- addons/
194     |   |-- allinone.img     [grub - all in one image]
195     |   |-- bsd4grml/        [MirBSD]
196     |   |-- balder10.imz     [FreeDOS]
197     |   |-- memdisk          [chainloading helper]
198     |   |-- memtest          [memtest86+]
199     |-- release/
200     |   |-- grml/
201     |   |   |-- linux26      [Kernel]
202     |   |   |-- initrd.gz    [initramfs]
203     |   |-- grml64
204     |   |   |-- linux26      [Kernel]
205     |   |   |-- initrd.gz    [initramfs]
206     |   |-- grml-medium
207     |   |   |-- linux26      [...]
208     |   |   |-- initrd.gz
209     |   |-- grml64-medium
210     |   |   |-- linux26
211     |   |   |-- initrd.gz
212     |   |-- grml-small
213     |   |   |-- linux26
214     |   |   |-- initrd.gz
215     |   `-- grml64-small
216     |       |-- linux26
217     |       |-- initrd.gz
218     |-- grub/
219     |   |-- grml.png         [graphical bootsplash background image for grub2]
220     |   |-- grub.cfg         [configuration file for grub2]
221     |   |-- menu.lst         [configuration file for grub1]
222     |   |-- splash.xpm.gz    [splash screen for grub1]
223     `-- syslinux/
224         |-- grml.png         [graphical bootsplash background image for syslinux]
225         |-- syslinux.cfg     [main configuration file for syslinux]
226         `-- [....]           [several further config files for syslinux]
227
228   grml/
229     |-- grml2usb.txt         [not yet implemented]
230     |-- grml-cheatcodes.txt  [list of bootoptions for grml]
231     |-- grml-version.txt     [file containing information about grml-version]
232     |-- LICENSE.txt          [license information]
233     |-- md5sums              [md5sums of original ISO]
234     |-- README.txt           [informational text]
235     `-- web/                 [browser related files]
236         |-- index.html
237         |-- style.css
238         `-- images/
239             |-- button.png
240             |-- favicon.png
241             |-- linux.jpg
242             `-- logo.png
243
244   live/
245     |-- grml/
246     |   |-- filesystem.module    [module specifying which squashfs should be used for grml]
247     |   `-- grml.squashfs        [squashfs file for grml]
248     |-- grml-medium/
249     |   |-- filesystem.module    [module specifying which squashfs should be used for grml-medium]
250     |   `-- grml-medium.squashfs [squashfs file for grml-medium]
251     |-- grml-small/
252     |   |-- filesystem.module    [module specifying which squashfs should be used for grml-medium]
253     |   `-- grml-small.squashfs  [squashfs file for grml-small]
254     `-- ...
255
256 [[source]]
257 Grabbing the source
258 ~~~~~~~~~~~~~~~~~~~
259
260   % git clone git://git.grml.org/grml2usb.git
261
262 [[debugging]]
263 Developers Debugging Hints
264 ~~~~~~~~~~~~~~~~~~~~~~~~~~
265
266 To play with grml2usb you can avoid using a real device via a loopback file
267 setup, like:
268
269   # dd if=/dev/zero of=~/loopback bs=1M count=100 # adjust size to your needs
270   # losetup /dev/loop1 ~/loopback
271
272 Then create according partitions either running for example:
273
274   # echo -en "n\np\n1\n\n\nt\n6\na\n1\n w\n" | fdisk /dev/loop1
275
276 or:
277
278   # parted /dev/loop1 -s "mkpart primary fat16 0 -1s mkfs 1 fat16"
279
280 Finally create a filesystem and execute grml2usb as needed:
281
282   # mkfs.vfat /dev/loop1
283   # grml2usb --bootloader-only /grml/isos/grml-small_2009.10.iso /dev/loop1
284
285 [[performance-tracing]]
286 Performance tracing
287 ~~~~~~~~~~~~~~~~~~~
288
289   # blktrace -d /dev/sdX -o - | blkparse -i -
290   # grml2usb grml_2009.10.iso /dev/sdX1
291
292 [[troubleshooting]]
293 Troubleshooting and Pitfalls when booting
294 -----------------------------------------
295
296 Here is a list of common error messages from BIOS/bootloader when trying to boot
297 from USB.
298
299 ///////////////////////////////////////////////////////////
300 TODO: better list type for the error message / reason part?
301 See http://www.methods.co.nz/asciidoc/userguide.html
302 ///////////////////////////////////////////////////////////
303
304 [horizontal]
305 *Error message*:: ran out of input data. System halted
306
307 *Reason*:: Everything OK, except for the filesystem used on your usb device. So
308 instead of fat16 you are using for example fat32. Fix: use the appropriate
309 filesystem (fat16 for usb pens usually). The Bootsplash might be displayed, the
310 kernel loads but you very soon get the error message.
311
312 *Error message*:: Invalid operating system
313
314 *Reason*:: the partition layout is not ok. Very probably there's no primary
315   partition (/dev/sdX{1..4}) or none has the flag 'bootable' set.
316
317 *Error message*:: Boot error.
318
319 *Reason*:: Some BIOSses offer different modes for USB booting. The proper mode
320 to boot a USB stick is USB-HDD. If that doesn’t work or is not supported by your
321 system, you need to format your USB-Stick as USB-ZIP.  To do this, syslinux
322 contains an utility called mkdiskimage, which you can use to re-format your USB
323 stick in USB-ZIP format running 'mkdiskimage -4 /dev/sdX 1 64 32'. Please be
324 aware that this procedure will erase all data on your stick.  After executing
325 mkdiskimage just continue installing as usual (grml2usb ...  /dev/sdX4). Note
326 that this is not going to work for any device larger than 8 GB, since
327 mkdiskimage only supports 1024c 256h 63s. For a more detailed explanation, refer
328 to /usr/share/doc/syslinux-common/usbkey.txt.
329
330 *Error message*:: No operating system found.
331
332 *Reason*:: you forgot to set the boot-flag on the partition. Or there really isn't
333 any operating system at all. :)
334
335 *Error message*:: kernel-panic: unable to mount root-fs...
336
337 *Reason*:: Kernel boots but fails to find the root filesystem. The root=
338 argument in your kernel commandline is pointing to the wrong device. Adjust
339 root=..., consider using root=UUID=....
340
341 *Error message*::  Could not find kernel image: ...
342
343 *Reason*:: either a broken isolinux/syslinux version or a broken BIOS. Check out
344 whether the vendor provides a BIOS update or if using bootloader grub instead of
345 isolinux/syslinux fixes the problem.
346
347 [[faq]]
348 Frequently Asked Questions (FAQ)
349 --------------------------------
350
351 [[download]]
352 Where can I get grml2usb?
353 ~~~~~~~~~~~~~~~~~~~~~~~~~
354
355 grml2usb is available as Debian package via link:http://deb.grml.org/[the
356 grml-testing Debian repository].
357
358 If you do not want to (or can't) use the grml2usb Debian package you can either
359 use the grml2usb git tree running:
360
361   git clone git://git.grml.org/grml2usb.git
362   cd grml2usb
363   make -C mbr
364   sudo ./grml2usb ...
365
366 or download the provided
367 link:http://grml.org/grml2usb/grml2usb.tgz[http://grml.org/grml2usb/grml2usb.tgz]
368 (link:http://grml.org/grml2usb/grml2usb.tgz.md5.asc[gpg signed md5 hash]).
369 Download and extract the tarball and execute the provided script 'install.sh'.
370
371 [NOTE]
372 It is *NOT* enough to have just the grml2usb script itself without the according
373 files provided either via the Debian package, the git tree or the file
374 grml2usb.tgz.
375
376 [[dd]]
377 Why can't I just dd the ISO to a USB device?
378 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379
380 Well, you can. :) Starting with grml 2009.10 the ISOs are dd-able straight out-of-the-box.
381
382 [IMPORTANT]
383 Note that ANY existing data on your USB device will be destroyed when
384 using the dd approach.
385
386 ///////////////////////////////////////////////////////////////////////////////////////////////////
387 Grab a recent grml ISO and use
388 link:http://syslinux.zytor.com/wiki/index.php/Doc/isolinux#HYBRID_CD-ROM.2FHARD_DISK_MODE[isohybrid
389 from the syslinux project]:
390
391   % isohybrid grml_2009.10.iso
392 ///////////////////////////////////////////////////////////////////////////////////////////////////
393
394 This allows you to dd the Grml ISO to your USB device (use for example
395 link:http://www.chrysocome.net/rawwrite[rawwrite] if you've just a Windows
396 system available) running:
397
398   % dd if=grml_2009.10.iso of=/dev/sdX
399
400 where /dev/sdX is your USB device. Of course this doesn't provide such a
401 flexible system like with grml2usb (no multi-ISO setup, no additional default
402 bootoptions,...) but it's a nice way to get a working USB boot setup if you
403 don't have grml2usb available.
404
405 [[grml2usb-vs-dd]]
406 What's the difference between grml2usb and just using dd?
407 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
408
409 grml2usb does not remove any data from your USB device and does not alter the
410 partition table at all. grml2usb provides multi-ISO support, support for adding
411 default bootoptions and selecting the bootloader (syslinux vs. grub) without
412 having to manually touch the ISO at all.
413
414 [[grml2iso]]
415 What's grml2iso?
416 ~~~~~~~~~~~~~~~~
417
418 grml2iso is a script which uses grml2usb to generate a multiboot ISO out of
419 several grml ISOs. See 'man grml2iso' for further details.
420
421 [[menu-lst]]
422 Why is there a menu.lst and a grub.cfg inside /boot/grub/?
423 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
424
425 grml2usb supports grub version 1 (grub1) as well as grub version 2 (grub2).
426 Whereas grub1 uses menu.lst the new version grub2 needs grub.cfg.
427 Providing both files allows grml2usb to install grub on the target device
428 no matter which grub version is available on the host where grml2usb is
429 executed on.
430
431 [[stage1]]
432 grub-install fails with 'The file ../boot/grub/stage1 not read correctly"?!
433 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
434
435 Check whether the partition has the right partition type. For example do NOT use
436 FAT16 (partition type 6) when using a ext3 filesystem on the partition but
437 instead use the correct partition type ('83' - Linux) then.
438
439 [[grub-install-xfs_freeze]]
440 grub-install complains about /sbin/grub-install and/or xfs_freeze?!
441 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
442
443 The following message:
444
445   You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install instead!
446   xfs_freeze: specified file ["/tmp/tmpqaBK6z/boot/grub"] is not on an XFS filesystem
447
448 This is "normal". grub-install sends those messages to stderr. To avoid hiding any
449 possible real error messages grml2usb doesn't ignore those messages.
450
451 [[device-map]]
452 grub-install complains about /boot/grub/device.map?!
453 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
454
455 The following message:
456
457   grub-probe: error: Cannot open `/boot/grub/device.map'
458
459 This is "normal" (at least with grub1). This isn't a problem, because the
460 device.map file will be generated on the target device anyway.
461
462 [[unary-operator]]
463 grub-install complains about a unary operator?!
464 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
465
466 The following message:
467
468   '/usr/sbin/grub-install: line 374: [: =: unary operator expected'
469
470 This is "normal". Just ignore it. (It usually doesn't appear
471 on the second invocation on the same device.)
472
473 [[unknown-filesystem]]
474 grub-install fails with grub-probe: error: unknown filesystem?!
475 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
476
477 The following message:
478
479   grub-probe: error: unknown filesystem
480   Auto-detection of a filesystem module failed.
481   Please specify the module with the option `--modules' explicitly.
482
483 usually means that the device partition table says something else than the
484 filesystem on the device. For example using FAT16 as filesystem type and
485 using FAT32 as filesystem on the partition will not work. Either set filesystem
486 type to FAT32 or format the partition using FAT16. It is essential that
487 device partition table and filesystem use the same filesystem type.
488
489 [[mbr-vs-pbr]]
490 grub-setup fails after Attempting to install GRUB to a partition instead of the MBR?!
491 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
492
493 The following message:
494
495   grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea.
496   grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged.
497   grub-setup: error: Cannot read `/grub/core.img' correctly
498
499 appears when using grub2 versions older than 1.98 as those version introduced a
500 regression which avoids that grub is being installed into a partition (PBR,
501 Partition Boot Record) instead of MBR (Master Boot Record).
502
503 To work around this issue you can either 1) upgrade to grub versions >=1.98, 2)
504 install grub into the MBR (Master Boot Record) using the '--grub-mbr' option of
505 grml2usb or 3) switch to syslinux as bootmanager (just drop the '--grub'
506 option).
507
508 [[splash-xpm]]
509 I'm getting something like "Error: /usr/share/grml2usb/grub/splash.xpm.gz can not be read"!?
510 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
511
512 Looks like you've only the grml2usb script itself available. Please make sure
513 you've the grml2usb Debian package installed. The most resent stable version is
514 available via link:http://deb.grml.org/[the grml-testing Debian repository].  If
515 you do not have a Debian system please see section <<download,Where can I get
516 grml2usb?>> in this FAQ.
517
518 [[fat16]]
519 Why do I have to use a FAT16/FAT32 filesystem?
520 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
521
522 Syslinux (currently) does not support any other filesystems besides FAT16/FAT32
523 (though that's a sane default if you want to share your files with other
524 (operating) systems). If you want to use a different filesystem (like ext2/3)
525 use the bootloader grub instead using grml2usb's '--grub' option.
526
527 [NOTE]
528 FAT32 is supported since syslinux version 3.0.
529
530 [[hdt-hangs]]
531 Addons -> Hardware Detection Tool freezes
532 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
533
534 This usually means that the machine you ran grml2usb on had syslinux 3.x
535 installed. The version of hdt (Hardware detection tool) shipping with Grml
536 2010.12 and newer requires syslinux 4.x.
537
538 [[cool-idea]]
539 I think I've got a really cool idea!
540 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
541
542 Great! Please check out
543 link:http://git.grml.org/?p=grml2usb.git;a=blob;f=TODO;hb=HEAD[the TODO file].
544 Feel free to <<author,report your wishes to the author>>. Patches highly
545 appreciated.
546
547 [[booting-from-usb]]
548 I've problems with booting from USB.
549 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
550
551 Check out <<troubleshooting,Troubleshooting and Pitfalls when booting>>.
552
553 [[found-a-bug]]
554 I've found a bug!
555 ~~~~~~~~~~~~~~~~~
556
557 Please <<author,report it to the author>>. Please provide usage examples and output
558 of your grml2usb commandline (consider using the "\--verbose" option).
559
560 [[usage-examples]]
561 Usage examples
562 --------------
563
564   # grml2usb /home/grml/grml_2009.10.iso /dev/sdX1
565
566 Install specified ISO on device /dev/sdX1.
567
568   # grml2usb /home/grml/grml_2009.10.iso /home/grml/grml_small_2009.10.iso /dev/sdX1
569
570 Install specified ISOs on device /dev/sdX1 for multibooting ISOs.
571
572   # grml2usb /live/image /dev/sdX1
573
574 Install currently running grml live system on device /dev/sdX1.
575
576   # grml2usb /live/image /home/grml/grml_2009.10.iso /dev/sdX1
577
578 Install currently running grml live system and the specified
579 ISO on device /dev/sdX1 for multibooting.
580
581   # grml2usb --fat16 /home/grml/grml_2009.10.iso /dev/sdX1
582
583 Install specified ISO on device /dev/sdX1 and format partition /dev/sdX1 with
584 FAT16 filesystem.
585
586   # grml2usb --grub --grub-mbr /home/grml/grml_2009.10.iso /dev/sdX1
587
588 Install specified ISO on device /dev/sdX1 and use grub as bootloader (instead of
589 syslinux being the default) and install a master boot record (MBR) to the MBR of
590 /dev/sdX.
591
592 ///////////////////////////////////////////////////////////////////////////////////////
593   # grml2usb --kernel=/boot/vmlinuz-2.6.28-grml --initrd=/boot/initrd.img-2.6.28-grml \
594              /home/grml/grml_2009.10.iso /dev/sdX1
595
596 Install specified ISO on device /dev/sdX1 but use given kernel and initrd
597 instead of the ones provided by the ISO.
598
599   # grml2usb --squashfs=/grml/grml-live/grml_cd/live/grml.squashfs \
600              /home/grml/grml_2009.10.iso /dev/sdX1
601
602 Install specified ISO on device /dev/sdX1 but use given squashfs
603 file instead of the one provided by the ISO.
604 ///////////////////////////////////////////////////////////////////////////////////////
605
606   # grml2usb --bootoptions="lang=de ssh=mysecret" grml_2009.10.iso /dev/sdX1
607   # grml2usb --bootoptions="lang=de" --bootoptions="ssh=mysecret" grml_2009.10.iso /dev/sdX1
608
609 Install specified ISO on device /dev/sdX1 and use "lang=de ssh=mysecret" as
610 default bootoptions.
611
612
613   # grml2usb --remove-bootoption="vga=791" --remove-bootoption="nomce" grml_2009.10.iso /dev/sdX1
614
615 Install specified ISO on device /dev/sdX1 remove vga=791 and nomce from existing bootoptions.
616
617   # grml2usb --bootoptions="persistent-path=%flavour_name" grml64_2010.04.iso grml_2010.04.iso /dev/sdX1
618
619 Install specified Isos on device /dev/sdx and add parameter persisten-path
620 to every menu entry. %flavour_name will be expanded to the flavour of the specific
621 iso, e.g. grml64 and grml.
622
623 [[ressources]]
624 Online Ressources
625 -----------------
626
627 Check out the link:http://grml.org/grml2usb/[grml2usb webpage] and the
628 link:http://git.grml.org/?p=grml2usb.git[grml2usb git repository].
629
630 [[bugs]]
631 Bugs
632 ----
633 Please report feedback, bugreports and wishes <<author,to the author>>.
634
635 [[author]]
636 Author
637 ------
638 Michael Prokop <mika@grml.org>
639
640 /////////////////////////////////////////////////////////////////
641 http://wiki.grml.org/doku.php?id=tips#multiboot_usb_pen
642 http://www.startx.ro/sugar/isotostick.sh
643 https://help.ubuntu.com/community/Installation/FromUSBStick
644 http://unetbootin.sourceforge.net/
645 http://www.tux.org/pub/people/kent-robotti/looplinux/rip/mkusb.sh
646 https://fedorahosted.org/liveusb-creator/
647 /////////////////////////////////////////////////////////////////