dh_installdirs usr/share/grml2usb/lilo usr/share/grml2usb/grub
# Add here commands to install the package into debian/grml2usb.
- install -m 755 grml2usb debian/grml2usb/usr/sbin/
- install -m 755 lilo/lilo.static debian/grml2usb/usr/share/grml2usb/lilo/lilo.static
- install -m 644 grub/splash.xpm.gz debian/grml2usb/usr/share/grml2usb/grub/splash.xpm.gz
- install -m 644 grub/stage2_eltorito debian/grml2usb/usr/share/grml2usb/grub/stage2_eltorito
+ install -m 755 grml2usb debian/grml2usb/usr/sbin/
+ install -m 755 lilo/lilo.static.i386 debian/grml2usb//usr/share/grml2usb/lilo/lilo.static.i386
+ install -m 755 lilo/lilo.static.amd64 debian/grml2usb//usr/share/grml2usb/lilo/lilo.static.amd64
+ install -m 644 grub/splash.xpm.gz debian/grml2usb/usr/share/grml2usb/grub/splash.xpm.gz
+ install -m 644 grub/stage2_eltorito debian/grml2usb/usr/share/grml2usb/grub/stage2_eltorito
# Build architecture-dependent files here.
binary-arch: build install
Important! The grml team does not take responsibility for loss of any data!
*******************************************************************************
+Introduction
+------------
+
+grml2usb installs grml on a given partition of your usb device and makes it
+bootable.
+
+grml2usb provides multi-iso support, meaning you can specify several grml ISOs
+on the command line at once and select the grml flavour you would like to boot
+on the bootbrompt then. Notice that the default ISO (that's when pressing just
+enter on the bootprompt or wait until the timeout matches) will be the *first*
+one specified on the grml2usb command line.
+
Options
-------
Enable verbose mode.
-Introduction
-------------
-
-grml2usb installs grml on a given partition of your usb device and makes it
-bootable.
-
-grml2usb provides multi-iso support, meaning you can specify several grml ISOs
-on the command line at once and select the grml flavour you would like to boot
-on the bootbrompt then. Notice that the default ISO (that's when pressing just
-enter on the bootprompt or wait until the timeout matches) will be the *first*
-one specified on the grml2usb command line.
+Developers Corner
+-----------------
Directory layout on usb device
-------------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
boot/ ->
|-- addons/
|-- grml64-small.module
`-- grml64-small.squashfs
+Grabbing the source
+~~~~~~~~~~~~~~~~~~~
+
+ git clone git://git.grml.org/grml2usb.git
+
+Developers Debugging Hints
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To play with grml2usb you can avoid using a real device via a loopback file
+setup, like:
+
+ dd if=/dev/zero of=~/loopback bs=1M count=100 # adjust size to your needs
+ losetup /dev/loop1 ~/loopback
+
+Then create according partitions either running for example:
+
+ echo -en "n\np\n1\n\n\n t \n 6\n a\n1\n w\n" | fdisk /dev/loop1
+
+or:
+
+ parted /dev/loop1 -s "mkpart primary fat16 0 -1s mkfs 1 fat16"
+
+Finally create a filesystem and execute grml2usb as needed:
+
+ mkfs.vfat /dev/loop1
+ grml2usb --bootloader-only --mbr /grml/isos/grml-small_2008.11.iso /dev/loop1
+
+
Usage examples
--------------
Michael Prokop <mika@grml.org>
/////////////////////////////////////////////////////////////////
-http://git.grml.org/?p=grml2usb.git
http://wiki.grml.org/doku.php?id=tips#multiboot_usb_pen
http://www.startx.ro/sugar/isotostick.sh
https://help.ubuntu.com/community/Installation/FromUSBStick
http://unetbootin.sourceforge.net/
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/mkusb.sh
+https://fedorahosted.org/liveusb-creator/
/////////////////////////////////////////////////////////////////