Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sanboot:ubuntu_aoe [2010/09/17 04:40]
qiet72
sanboot:ubuntu_aoe [2010/09/17 04:55]
qiet72
Line 56: Line 56:
  
 Note: I don't know if the above steps are the best way to make eth0 name static, but this is what works for me. Note: I don't know if the above steps are the best way to make eth0 name static, but this is what works for me.
 +
 +===== Last step: Transfer the image to the server =====
 +
 +You could just copy the image as is, but it is even smarter to make a sparse file.  That way only actual data is copied and not the empty sectors. ​ You can do this under linux with the cp command:
 +<​code>​
 +cp --sparse=always disk.img /​media/​server-data/​disk-images/​disk.img
 +</​code>​
 +
 +If you installed to a physical machine, boot up the machine with a live linux cd, become root and do this command:
 +<​code>​
 +cp --sparse=always /dev/sda /​media/​server-data/​disk-images/​disk.img
 +</​code>​
  
 ===== Random Notes ===== ===== Random Notes =====
  
-If you don't install any proprietary video drivers, then what you got here is an image that will boot from either AOE, USB, or any internal/​external disk on any machine.+If you don't install any proprietary video drivers, then what you got here is an image that will boot from either AOE, USB, or any internal/​external disk on any machine. 
 + 
 +- Since Ubuntu is Debian based, these steps should work with Debian too but I haven'​t tried it myself 
 + 
 +- You cannot create sparse images if you copy to a windows or samba network share, use nfs/ssh/nc (netcat) instead. ​ Here is an example with nc (netcat):
  
 +Client side:
 +<​code>​
 +cat /dev/sda | nc -l -p 1234
 +</​code>​
  
 +Server side:
 +<​code>​
 +nc <​client-ip>​ 1234 | cp --sparse=always /dev/stdin disk.img
 +</​code>​
  
  
-Created by  --- //[Quinn Plattel]] 2010/09/17 07:33//+Created by  --- //Quinn Plattel 2010/09/17 07:33//

QR Code
QR Code sanboot:ubuntu_aoe (generated for current page)