Differences between revisions 1 and 2
Revision 1 as of 2007-01-20 13:34:54
Size: 1704
Editor: jaromil
Comment:
Revision 2 as of 2007-01-20 13:35:33
Size: 1717
Editor: jaromil
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
* 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
 * 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
Line 24: Line 24:
* cfdisk /dev/sda
* delete all partitions
* create a new primary at maximum size
* put the type to 0B (W95 FAT32)
* write everything and quit
 * cfdisk /dev/sda
 * delete all partitions
 * create a new primary at maximum size
 * put the type to 0B (W95 FAT32)
 * write everything and quit
Line 31: Line 31:
* mkdosfs -n "dyne:II" /dev/sda1  * mkdosfs -n "dyne:II" /dev/sda1
Line 34: Line 34:
* mount /dev/sda1 /mnt/usb  * mount /dev/sda1 /mnt/usb
Line 37: Line 37:
* grubconfig  * grubconfig
Line 42: Line 42:
* rsync -Pr /mnt/cd1/dyne /mnt/usb/  * rsync -Pr /mnt/cd1/dyne /mnt/usb/

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

  • (we want people to be able to handle contents from windlows):
  • 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 (select the last in the list and proceed)

copy the dyne/ dock directory from the CD

  • (rsync is better than cp and we have a progressbar)
  • 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...

DyneOnUsb (last edited 2011-07-08 18:07:40 by 0v0x)