| 
                Last change
                  on this file since 667 was
                  555,
                  checked in by nicolas.van.phan@…, 7 years ago
           | 
        
        
          | 
               
Add script to load almos on sd card 
 
           | 
        
        
          
            
              - 
                  Property svn:executable set to
                  
*
               
             
           | 
        
        | 
            File size:
            269 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | #!/bin/bash -x | 
|---|
| 2 | # THIS SCRIPT MUST BE EXECUTED IN hdd/ | 
|---|
| 3 | # USAGE : sudo ./cut.sh /dev/sdx (with x the device of the sd card) | 
|---|
| 4 | echo $1 | 
|---|
| 5 | rm img.dmg | 
|---|
| 6 | dd if=virt_hdd.dmg | pv | dd of=img.dmg bs=512 count=10000 | 
|---|
| 7 | sudo dd if=img.dmg | pv | sudo dd of=$1 | 
|---|
| 8 | sudo umount $1 | 
|---|
| 9 | sudo eject $1 | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.