How to boot DyneBolic from USB

The following instructions explain how to make a usb storage device (like usb stick) bootable with grub and install dyne:bolic on it so that you can run it from USB, without harddisk or CD.

If you are looking for instructions about ["Nesting"], on how to save your personal data on a USB stick, then this is not the right place. This page documents on how to put the WHOLE SYSTEM on the usb stick.

little briefing: * the boot system consists of a bootloader, in our case grub * the bootloader loads a kernel, in our case linux :) * the kernel loads a ramdisk, in our case dyne:II initrd.gz * the ramdisk will look for a dyne/ dock

we keep both kernel and ramdisk in a dock and install grub

do the following operations from a running dyne:II DHORUBA 2.3 (i will assume the usb stick is recognized as /dev/sda)

partition the usb stick as a unique FAT32 partition

* cfdisk /dev/sda * delete all partitions * create a new primary at maximum size * put the type to 0B (W95 FAT32) * write everything and quit

then format it with * mkdosfs -n "dyne:II" /dev/sda1

mount it with * mount /dev/sda1 /mnt/usb

then install grub using * grubconfig

copy the dyne/ dock directory from the CD

* rsync -Pr /mnt/cd1/dyne /mnt/usb/

and at this point we are ready :)

inside the boot/grub/menu.lst there are the default options to boot, they should work alltough some times they might need (hd0,0) to be changed to (hd1,0) depending on how the computer sees the usb...