      DFSee version 10.1 06-01-2010  (c) 1994-2010: Jan van Wijk
 =========================[ www.dfsee.com ]==========================

DFSee bootable USB stick

The DFSee bootable USB stick is a new bootable option to
be used for disk analysis and recovery with DFSee.

It offers booting on most modern PCs using a 128Mb or larger
memory stick, some Linux magic, the DFSee bootable CD ISO and
a copy of the DFSee linux program. With this you can select
between using the DOS version of DFSee using FreeDOS, or the
Linux version using an off-the-shelf downloadable Linux Live
CD ISO called 'Parted Magic'.

   +-----------------------------------------------------+
   | Note: All (linux) programs used with this stick are |
   | OPEN SOURCE (GPL), and are NOT MODIFIED for use     |
   | with DFSee. You can download the sources from the   |
   | respective websites mentioned in this document      |
   +-----------------------------------------------------+
   | The imagefile supplied here is just a REPACKAGE of  |
   | the files from PenDriveLinux BootMyISO-v0.2.EXE, to |
   | circumvent the use of Windows to create the stick.  |
   +-----------------------------------------------------+


Creating a bootable DFSee USB stick
===================================

The procedure to create a bootable USB stick is quite simple:

 1) Prepare the stick by wiping the start of it clean with DFSee
 2) Restore the multi-ISO-boot 'dfsusb32.imz' to the memory stick
 3) Copy the DFSee/PartedMagic ISO files and the DFSee linux files
    to it so you can boot FreeDOS or Linux, and run DFSee from either.

This can be done on OS/2 or eCS (tested) and on Windows or Linux
(both untested, but procedure should be exactly the same)

The procedure in detail:

 1) a - Insert the memory stick while DFSee is NOT started yet
       (or the stick may not be recognized properly on OS/2)

    b - Start DFSee, and verify that the USB stick is listed.

    c - Wipe the start of the disk clean, to make sure no filesystem
        driver will be using the stick while restoring the image.

        Mode=FDISK ->
           MBR or EBR area operations ->
              Wipe start of disk to ZERO ->
                 ... select the RIGHT USB disk ...

    d - Quit DFSee, and eject or unmount the memory stick from the OS


 2) a - Insert the memory stick again (DFSee not running)

    b - Start DFSee, and verify that the USB stick is listed.

    c - Restore the DFSUSB32.IMZ image to the memory stick

        File ->
           Open object to work with ->
              disk ->
                 ... select your memory stick disk ...

        Actions ->
           Restore/Compare imagefile(s) ->
              to a Disk ...

        Now, in the restore dialog all fields should be OK
        already, since we pre-selected the disk to restore to.
        The only selection you need to make here is the image
        file itself to be restored, which is 'DFSUSB32.IMZ'

        Upon selecting that, check the selected disk and image
        again in the confirmation popup, then [Yes] to start ...
        The restore should be fairly quick (a few seconds).

        Note: You could also restore the 'DFSUSBCP.IMZ' if the other
        one gives you problems in any way, it has the same contents,
        but was created slightly differently (no 'smart' compress).
        If that fails too, you could unzip DFSUSBRW.ZIP and restore
        the DFSUSB32.IMG, which is a RAW image, no compression at all.
        (Alternatives supplied to work arround reported CRC's errors)


    d - Quit DFSee, and eject or unmount the memory stick from the OS


 3) a - Insert the memory stick again (DFSee not running)

    b - Copy the 'dfsee10x.iso' file to the ROOT directory of the stick

        ISO download from: http://www.dfsee.com/dfsee/dfsee10x_iso.zip

        Update the ISO with your 'dfsee.key' registration before copying
        to the stick, see instructions that come with the ISO download.
        Without a key, the ISO is time-limited to 60 days from release.


    c - Copy the 'pmagic-4.8.iso' file to the ROOT directory of the stick

        ISO download from: http://sourceforge.net/projects/partedmagic/files/

        (Make sure you get the ISO, not one of the other variants!)

    d - Copy the files for the DFSee linux version that you need to
        run DFSee while booted to the Parted Magic KDE desktop.
        They must be copied to the /dfsee/linux directory on the stick.
        You can take the files (from DFSee version 10.1 or newer) from
        the \linux directory of the dfsee10x.zip, dfsee10x_linux.zip or
        from the 10.x CDROM. Copy these to the stick at:

        D:\dfsee\linux\

        When using OS/2, or Windows. With 'D:' being the sticks driveletter,
        or when using Linux, to:

        /media/sda1/dfsee/linux/

        With /media/sda1 being the mount point for the stick (may vary).

        Copy your 'dfsee.key' registration file to that same directory.

        If you don't have the linux files handy, get them from:

               http://www.dfsee.com/dfsee/dfsee10x_linux.zip

    e - Eject or unmount the memory stick from the OS



Getting your system to boot from USB
====================================
Most modern systems allow booting from USB devices like memory sticks,
but you usually need to do something special to make it happen, like:

 - Enable boot from USB in the BIOS

 - Startup with a special key sequence, for example, on Most Thinkpads
   that would be the "Access IBM" or "ThinkVantage" button, followed
   by the <F12> key to select a bootable medium.

 Check your systems documentation ...


Booting the FreeDOS based DFSee ISO image
=========================================

 - Insert the DFSeeF32USB memory stick
 - Start the system from the USB stick
 - From the ISO selection menu, choose "DFSee 10.x"
 - In the DFSee specific bootmenu select option '0'
 - Answer follow-up questions with "Y" or "N"
 - you should end up in DFSee (DOS version)

 The current directory will be the RAMDISK with letter Z:
 so all files stored there will be lost when you stop.
 You can store the logfiles and small images to the stick:

         D:\logs\

 Note that the order of the disks, if you have more, may be
 different from the order seen under OS/2 or Windows!


Booting the Linux PartedMagic based image
=========================================

 - Insert the DFSeeF32USB memory stick
 - Start the system from the USB stick
 - From the ISO selection menu, choose "Boot Parted Magic 4.8"
 - Select "Default Settings (Runs from RAM)
 - Wait until the boot reaches the graphical desktop (may take minutes!)
 - Click on the "My Documents" icon to show disks and folders
 - Locate your memory-stick in the left part of the opened window
 - Click on the stick listed there (this will make it available, mount)
 - In the contents shown in the right side of the window, locate the
   "Start from ..." icon that has the blueish DFSee icon shown.
   This can be 'from sda1' through 'from sdh1' or 'from DFSeeF32USB'.
   Note that only ONE of these displayed names actually HAS an icon.
 - Click this DFSee icon to start DFSee

 The current directory will be /media/.../logs/ on the memory stick
 so all files will be stored there by default

 Note that there is NO MOUSE support in the Linux version!


 Of course, once booted to the PartedMagic desktop, you can
 use the other programs and tools in there too, like the
 "Partition Editor" which is the 'gparted' tool and is quite
 good in resizing bootable NTFS partitions or even start the
 Google Chrome browser to access the WEB!

   +---------------------------------------------------------------+
   | WARNING: be aware that linux tools MAY do bad things to OS/2  |
   | or eCS disks by writing non-standard logical partition tables,|
   | sometimes erasing LVM info, so use with care!                 |
   +---------------------------------------------------------------+


Updating and tweaking the bootable USB stick
============================================

At any time you can replace the ISO files in the root
of the stick to upgrade to newer version of the software.
(as long as they fit in 128Mb that is :-)

When the filename of the ISO is different, either rename them,
or update the corresponding lines in the menu.lst config file.

You can also copy the latest linux version of DFSee into
the \dfsee\linux\ directory of course.

You can also update the deafult line to boot in menu.lst,
and the timeout to select that default automatically.


If your stick is larger than 128 Mb, the above procedure will
create a 128Mb primary FAT32 partition (actually 123 MiB)
and the rest of the stick will be unused.

You CAN create another larger FAT32 partition there, for example
to store DFSee imagefiles from disk partitions. However, for DFSee
to 'see' the extra freespace on the stick you will have to adjust
the disk-geometry as stored in the LVM info (C:120 H:64 S:32) to
match the real size of the memory stick. You need to know the
original size in MiB, you can use the geo command directly to
set that as the number of cylinders. For example with a 4Gb stick,
netting 3855 MiB (as shown when inserted after wiping it) use:

        geo  3855  64  32

Then sync this geometry into the LVM-info structure:

        Mode=FDISK
           OS/2 LVM and BootManager ->
              Set LVM-Geo to DFSee L-Geo ->
                ... select the stick ...

Then stop DFSee, eject, and re-attach the stick, and on startup
DFSee should now show the correct size, with a large freespace
area at the end that you can use for another FAT32 primary ...

Note:
If you do not recall that nett size in MiB, it will be displayed
by DFSee when showing the disk geometry at startup, or when you
use the 'geo' command to display it. It looks like:

+++++++
L-Geo Disk 3 Cyl: 120 H:64 S:32 Bps:512 Size:0x03C000 =  120.0 MiB
S-Geo Disk 3 Cyl:3855 H:64 S:32 Bps:512 Size:0x787800 = 3855.0 MiB
++++++

So, you can just take the size in MiB from this and use that in
the geometry to set as explained above.


Another possibility is start fresh, by replacing the first
steps (restore of the 128Mb imagefile DFSUSB32.IMZ) by the
normal procedure to create a multiboot ISO stick.
Note that this works on Windows only!

One advantage is that this allows adding more ISOs to the stick
and to the boot-menu for other Linux distributions, or whatever.


You can download the Windows executable from the PenDrive site:

  http://www.pendrivelinux.com/boot-multiple-iso-from-usb-multiboot-usb/

Where the EXE itself is at:

  http://www.pendrivelinux.com/downloads/BootMyISO/BootMyISO-v0.2.exe


 Step 3 (copy files) remains the same, but step 1 and 2 are different:

 1) a - Partition and format the memory stick with a FAT32 primary.
        You can either use a DFSee wipe + create + FORMAT here,
        or just use Windows to partition and format the stick.

        Note that the stick must have one PRIMARY partition, being FAT32


 2) a - Run the 'MultiBootISOs.EXE' program, and follow directions

    b - Replace the 'menu.lst' and add the K-*.desktop files in
        the root of the stick, from the 'dfsusb32.zip' file.


Then continue with step 3 as described above.

