6 grml2usb - install grml ISO(s) on usb device for booting
10 grml2usb [ options ] <ISO[s]> <device>
12 *******************************************************************************
13 Important! The grml team does not take responsibility for loss of any data!
14 *******************************************************************************
19 The ISO[s] might be the path to one or multiple grml-ISOs as well as the path to
20 the currently running live-system (being /live/image).
22 The device either might be a device name like /dev/sda1 or a directory. When
23 specifying a device name the device is mounted automatically. When specifying a
24 directory it won't be touched but instead grml2usb is assuming that you did set
25 up a bootloader on your own and a bootloader won't be installed automatically.
27 The following options are supported:
31 Use specified bootoptions as default.
35 Do *not* copy files but instead just install a bootloader.
39 Copy files only but do *not* install a bootloader.
43 Avoid executing commands, instead show what would be executed.
44 Warning: please notice that the ISO has to be mounted anyway, otherwise
45 identifying the grml flavour would not be possible.
49 Format specified partition with FAT16.
50 **Important:** this will destroy any existing data on the specified partition!
54 Force any (possible dangerous) actions requiring manual interaction (like --fat16).
58 Install grub bootloader instead of syslinux. [Notice: not implemented yet.]
62 Display usage information and exit.
66 Install specified initrd instead of the default. You might want to specify
67 option *--kernel* as well. (Be aware when using multiboot setup.)
68 [Notice: not implemented yet.]
72 Install specified kernel instead of the default. You might want to specify
73 option *--initrd* as well. (Be aware when using multiboot setup.)
74 [Notice: not implemented yet.]
78 Use specified lilo executable to for installing master boot record (MBR)
79 instead of the default, being /usr/share/grml2usb/lilo/lilo.static.
83 Install a default master boot record (MBR) on the device.
87 Do not output anything but just errors on console.
91 Install specified squashfs file instead of the default.
92 [Notice: not implemented yet.]
96 Uninstall grml ISO files.
97 [Notice: not implemented yet.]
101 Return version and exit.
110 grml2usb installs grml on a given partition of your usb device and makes it
113 grml2usb provides multi-iso support, meaning you can specify several grml ISOs
114 on the command line at once and select the grml flavour you would like to boot
115 on the bootbrompt then. Notice that the default ISO (that's when pressing just
116 enter on the bootprompt or wait until the timeout matches) will be the *first*
117 one specified on the grml2usb command line.
119 Directory layout on usb device
120 ------------------------------
151 | `-- stage2_eltorito
169 |-- grml-cheatcodes.txt
184 |-- filesystem.module
186 |-- grml-medium.module
187 |-- grml-medium.squashfs
188 |-- grml-small.module
189 |-- grml-small.squashfs
192 |-- grml64-medium.module
193 |-- grml64-medium.squashfs
194 |-- grml64-small.module
195 `-- grml64-small.squashfs
200 # grml2usb /home/grml/grml_2008.11.iso /dev/sdb1
202 Install specified ISO on device /dev/sdb1.
204 # grml2usb /home/grml/grml_2008.11.iso /home/grml/grml_small_2008.11.iso /dev/sdb1
206 Install specified ISOs on device /dev/sdb1 for multibooting ISOs.
207 Note: boot "grml" as usual, for booting grml-small use "grml-small on the
208 bootprompt, for grml64 use "grml64" and so on... The *first* specified ISO is
209 the one being the default (when just pressing enter or waiting until the timeout
212 # grml2usb --fat16 --mbr /home/grml/grml_2008.11.iso /dev/sdb1
214 Install specified ISO on device /dev/sdb1, install MBR on /dev/sdb and
215 format partition /dev/sdb1 with FAT16 filesystem.
217 # grml2usb --grub /home/grml/grml_2008.11.iso /dev/sdb1
219 Install specified ISO on device /dev/sdb1 and use Grub as bootloader
220 (instead of syslinux being the default).
222 # grml2usb --kernel=/boot/vmlinuz-2.6.28-grml --initrd=/boot/initrd.img-2.6.28-grml \
223 /home/grml/grml_2008.11.iso /dev/sdb1
225 Install specified ISO on device /dev/sdb1 but use given kernel and initrd
226 instead of the ones provided by the ISO.
228 # grml2usb --squashfs=/grml/grml-live/grml_cd/live/grml.squashfs \
229 /home/grml/grml_2008.11.iso /dev/sdb1
231 Install specified ISO on device /dev/sdb1 but use given squashfs
232 file instead of the one provided by the ISO.
234 # grml2usb --bootoptions="lang=de ssh=mysecret" grml_2008.11.iso /dev/sdb1
236 Install specified ISO on device /dev/sdb1 and use "lang=de ssh=mysecret" as
241 Please report feedback, link:http://grml.org/bugs/[bugreports] and wishes link:http://grml.org/contact/[to the grml-team].
245 Michael Prokop <mika@grml.org>
247 /////////////////////////////////////////////////////////////////
248 http://git.grml.org/?p=grml2usb.git
249 http://wiki.grml.org/doku.php?id=tips#multiboot_usb_pen
250 http://www.startx.ro/sugar/isotostick.sh
251 https://help.ubuntu.com/community/Installation/FromUSBStick
252 http://unetbootin.sourceforge.net/
253 http://www.tux.org/pub/people/kent-robotti/looplinux/rip/mkusb.sh
254 /////////////////////////////////////////////////////////////////