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