Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. I want to clone my wife's new laptop hd to a smaller ssd drive the HDD is 500gb the SSD is only 64gb.
  2.  
  3. The actual space used however is about ~30gb so I know I can use gparted or fdisk to shrink the size of the windows C: partition to about 35gb or so to be safe.
  4.  
  5. First Question: Now I know I can write that partition file back to the other HD my question is do I need to first create a partition of the same size or will it do it automatically with a command like
  6.  
  7. dd if=/hd2/windowspartition.img of=/dev/sda1
  8.  
  9. Second question: I do not need/want to write the partition table to the SSD I believe just the mbr meaning I would use the command
  10.  
  11. dd if=/hd2/mbr.img of=/dev/sda bs=446 count=1
  12.  
  13. bs=446 indicating mbr only not partition table.
  14.  
  15. Would this scenario be correct and result in a bootable windows partition?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement