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