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