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