muellerr1
  
 
  
 
 
Group: Members 
Posts: 18 
Joined: April 2005 | 
  | 
Posted: April 26 2005,18:33 | 
   | 
 
 
  
I did this, then mounted the new file in loopback (sudo mount -o loop new_harddisk /mnt/test), then copied my files over from the current harddisk in /mnt/hdb.  I had been making files with dd forever and not getting them to mount until I discovered that I was missing the 'mke2fs new_harddisk' part.  
  Another thing to remember is that there is a certain amount of overhead involved when you format the file; my 160 MB harddisk file really has more like 154 MB usable because some gets eaten by the formatting.  I used a 1K block size.  Is that why?
  Instead of dd, qemu-img.exe will create a new harddisk file for you in windows (look at the qemu docs to see how) but it won't format it.  I needed linux for that. 
 |