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
Last revision Both sides next revision
sanboot:transfer [2009/08/19 12:54]
tal.aloni
sanboot:transfer [2009/10/29 16:34]
mcb30
Line 27: Line 27:
  
 This command will extract the relevant portion of the disk to a file (///​path/​to/​image/​file.img//​) on your SAN target. ​ Note that //dd// is reading from ///​dev/​sdX//​ (i.e. the raw disk device) rather than ///​dev/​sdX1//​ (the partition device); we cannot extract the partition alone because we also need the Master Boot Record located at the start of the disk. This command will extract the relevant portion of the disk to a file (///​path/​to/​image/​file.img//​) on your SAN target. ​ Note that //dd// is reading from ///​dev/​sdX//​ (i.e. the raw disk device) rather than ///​dev/​sdX1//​ (the partition device); we cannot extract the partition alone because we also need the Master Boot Record located at the start of the disk.
- 
-If the source machine does only have one HDD which has been used completely, netcat can be used to transfer the image to the target in one step: 
-   On the storage Server: 
-   nc -l -p 30000 | dd of=/​path/​to/​image/​file.img 
- 
-   On the Netboot-Box:​ 
-   dd if=/dev/sdX bs=8225280 count=1825 | nc <​SAN-IP>​ 30000 
- 
-This command will extract the same portion of the disk directly to the server. The Port (30000) can be chosen free but has to be the same on both sides. 
  
   * Check that your extracted file is a valid hard disk image, by running //fdisk -l// on the extracted file:   * Check that your extracted file is a valid hard disk image, by running //fdisk -l// on the extracted file:
Line 57: Line 48:
   * [[sanboot:​iscsi|Make the disk image available via iSCSI]]   * [[sanboot:​iscsi|Make the disk image available via iSCSI]]
   * [[sanboot:​aoe|Make the disk image available via AoE]]   * [[sanboot:​aoe|Make the disk image available via AoE]]
 +  * [[sanboot:​srp|Make the disk image available via SRP]]
  
- 
- 
-==== Notes Regarding Windows Vista / Windows Server 2008 / Windows 7 ==== 
- 
-When using ImageX or copy to transfer the drive content to the iSCSI target, you'll have to update the BCD store (for the new partition). 
-The recommended method is to transfer all the files to the new drive (on the Microsoft iSCSI Target), and before marking the drive as active, boot to it, fall back to WinPE from PXE / DVD, and execute the following commands: 
-<​code>​ 
-bcdedit /store C:\boot\bcd /set {default} device partition=c:​ 
-bcdedit /store C:\boot\bcd /set {default} osdevice partition=c:​ 
-bcdedit /store C:\boot\bcd /set {bootmgr} device partition=c:​ 
-</​code>​ 
- 
-after that, you'll have to mark the drive as active, and use bootsect.exe to write the boot sector. 

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

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