Size: 1717
Comment:
|
Size: 1711
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 22: | Line 22: |
partition the usb stick as a unique FAT32 partition | partition the usb stick as a unique EXT3 journaled partition |
Line 27: | Line 27: |
* put the type to 0B (W95 FAT32) | * put the type to 83 (Linux) |
Line 31: | Line 31: |
* mkdosfs -n "dyne:II" /dev/sda1 | * mke2fs -j /dev/sda1 |
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 EXT3 journaled 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 83 (Linux)
- write everything and quit
then format it with
- mke2fs -j /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...