Changes between Version 3 and Version 4 of Documentation


Ignore:
Timestamp:
01/01/10 15:51:36 (14 years ago)
Author:
stresslinux
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation

    v3 v4  
    3232md5sum /dev/sdb 
    3333}}} 
     34   * Now you have stresslinux ready to be booted from your USB stick! 
     35 
    3436 * '''on Windows''' 
     37  * '''Danger! This instruction is for experts! '''[[BR]]'''You can cause irreparable damage to your system if you make errors here.''' 
     38  * In order to write your appliance to a USB stick in a Windows enviroment, you will need to the '[http://www.chrysocome.net/dd dd for windows]' tool. 
     39  * To find the device to write, after inserting the USB stick, open the command line (cmd) and type: 
     40{{{ 
     41dd --list 
     42}}} 
     43  * You will see output similar to this: 
     44{{{ 
     45C:\temp>dd --list 
     46rawwrite dd for windows version 0.5. 
     47Written by John Newbigin <jn@it.swin.edu.au> 
     48This program is covered by the GPL.  See copying.txt for details 
     49Win32 Available Volume Information 
     50\\.\Volume{ac56bf46-66cc-11dc-86f6-806d6172696f}\ 
     51  link to \\?\Device\HarddiskVolume1 
     52  fixed media 
     53  Mounted on \\.\c: 
     54 
     55\\.\Volume{ac56bf47-66cc-11dc-86f6-806d6172696f}\ 
     56  link to \\?\Device\HarddiskVolume2 
     57  fixed media 
     58  Mounted on \\.\d: 
     59 
     60\\.\Volume{d8bf0b41-66cd-11dc-a7a7-806d6172696f}\ 
     61  link to \\?\Device\CdRom0 
     62  CD-ROM 
     63  Mounted on \\.\e: 
     64 
     65\\.\Volume{65668b14-8a7b-11dd-ab31-545543445208}\ 
     66  link to \\?\Device\Harddisk1\DP(1)0-0+8 
     67  removeable media 
     68  Mounted on \\.\f: 
     69 
     70 
     71NT Block Device Objects 
     72\\?\Device\CdRom0 
     73  Removable media other than floppy. Block size = 2048 
     74  size is 695670784 bytes 
     75\\?\Device\Harddisk0\Partition0 
     76  link to \\?\Device\Harddisk0\DR0 
     77  Fixed hard disk media. Block size = 512 
     78  size is 120034123776 bytes 
     79\\?\Device\Harddisk0\Partition1 
     80  link to \\?\Device\HarddiskVolume1 
     81\\?\Device\Harddisk0\Partition2 
     82  link to \\?\Device\HarddiskVolume2 
     83\\?\Device\Harddisk0\Partition3 
     84  link to \\?\Device\HarddiskVolume3 
     85  Fixed hard disk media. Block size = 512 
     86  size is 6366334464 bytes 
     87\\?\Device\Harddisk0\Partition4 
     88  link to \\?\Device\HarddiskVolume4 
     89  Fixed hard disk media. Block size = 512 
     90  size is 468808704 bytes 
     91\\?\Device\Harddisk1\Partition0 
     92  link to \\?\Device\Harddisk1\DR7 
     93  Removable media other than floppy. Block size = 512 
     94  size is 1014497280 bytes 
     95\\?\Device\Harddisk1\Partition1 
     96  link to \\?\Device\Harddisk1\DP(1)0-0+8 
     97  Removable media other than floppy. Block size = 512 
     98  size is 1014480896 bytes 
     99 
     100Virtual input devices 
     101 /dev/zero   (null data) 
     102 /dev/random (pseudo-random data) 
     103 -           (standard input) 
     104 
     105Virtual output devices 
     106 -           (standard output) 
     107 
     108C:\temp> 
     109}}} 
     110  * The entry we are looking for is the one that says '''removable media''' which is the USB stick you just plugged in. If you're in doubt, try removing it, running dd --list again, and see if the line disappears. The information we need is the '''\\.\f:''' 
     111{{{ 
     112\\.\Volume{65668b14-8a7b-11dd-ab31-545543445208}\ 
     113  link to \\?\Device\Harddisk1\DP(1)0-0+8 
     114  removeable media 
     115  Mounted on \\.\f: 
     116}}} 
     117  * '''Important note: It is really, really important that you get the device path right - you can cause irreparable damage to your system if you don't.''' 
     118  * After finding the device path, you will need to run dd to write your appliance to the USB stick. dd needs two arguments: the input file (your appliance), and the output file (the path to your USB device). In our example, the input file is named "c:\temp\myappliance.raw" and the path to the device is "\\.\f:", so we would run this command from a terminal window: 
     119{{{ 
     120dd if=c:\home\suse\myappliance.raw of=\\.\f: bs=4k 
     121}}} 
     122  * The last argument (bs=4k) is optional, but adding it will make writing to the USB device much faster. 
     123  * '''Please bear in mind that this will *completely overwrite the USB device so make sure you don't have any important data on it first! ''' 
     124  * Writing to a USB stick is usually quite slow, so don't be alarmed if it seems like it takes forever. When dd has finished, it will tell you some statistics about how much data it has written to the USB stick. If your USB stick has a light on it that blinks when data is being written, wait until it stops blinking before removing it.  
     125  * Now you have a custom software appliance ready to be booted from your USB stick!  
    35126 
    36127=== Quick steps until version 0.3.1 ===