It might be easier to do something like this:<br><br>/dev/hda1 = DSL stuff<br>/dev/hda2 = Swap<br>/dev/hda3 = User space<br><br>Let&#39;s say that you had a 10GB hard drive and that all 3 partitions only came out to around 2GB.&nbsp; You could do a direct copy, MBR and all.&nbsp; Because the User space partition (p# 3) is at the very end, you can simply expand it (presumably through scripting) to make sure that it fills the rest of the hard drive space.
<br><br>I&#39;ve never had to do this before, so I&#39;m not sure if I&#39;m making sense.&nbsp; Sanity check, please.<br><br><div class="gmail_quote">On Jan 22, 2008 11:01 AM, Kevin Valentine &lt;<a href="mailto:kevin.valentine@gmail.com">
kevin.valentine@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;m about to setup a small imaging server for pushing&nbsp;&quot;golden&quot; DSL images&nbsp;onto&nbsp;our&nbsp;NTR&nbsp;laptops&#39;&nbsp;harddrives.&nbsp;&nbsp;I&nbsp;plan&nbsp;to&nbsp;image-to-drive&nbsp;and&nbsp;then&nbsp;networked&nbsp;imaging.&nbsp;&nbsp;There&#39;s&nbsp;one&nbsp;potential&nbsp;issue&nbsp;that&nbsp;I&nbsp;never&nbsp;really&nbsp;got&nbsp;resolved&nbsp;in&nbsp;all&nbsp;my&nbsp;past&nbsp;imaging&nbsp;experiences.&nbsp;&nbsp;The majority of Windows&nbsp;imaging&nbsp;seems&nbsp;fairly&nbsp;straight&nbsp;forward:&nbsp;they&nbsp;usually&nbsp;only&nbsp;have&nbsp;one&nbsp;partition.&nbsp;&nbsp;On&nbsp;our&nbsp;linux&nbsp;laptops,&nbsp;we&#39;ll&nbsp;have&nbsp;3&nbsp;partitions:&nbsp;swap (hda1),&nbsp;dsl&nbsp;image (hda2),&nbsp;and user&nbsp;space&nbsp;(hda3).
<br> <br>Since I don&#39;t plan to do Raw Mode imaging, we will only&nbsp;have images of the actual bytes used. &nbsp;To me this means there is an extra step(s) in here for Linux imaging: creating the partitions and getting grub into the MBR. &nbsp;I was thinking I could just copy the MBR from the golden drive and then write it to the&nbsp;target&nbsp;drives&nbsp;as&nbsp;described&nbsp;here:
<br> <a href="http://www.partimage.org/Partimage-manual_Backup-partition-table" target="_blank">http://www.partimage.org/Partimage-manual_Backup-partition-table</a><br><br>But does that work with drives of different geometries? &nbsp;I&#39;m doubting it does so I&#39;m looking into automating the file system partitioning/formatting with script. &nbsp;I believe this must be done before copying the images. &nbsp;Perhaps partimage already has some tools for this. &nbsp;I did notice an option to restore the MBR in their curses menu.
<br><br>Am I way off on this? &nbsp;Got any advice?<br><font color="#888888"><br>-kevin<br>
</font><br>--<br>Ubuntu-us-pa mailing list<br><a href="mailto:Ubuntu-us-pa@lists.ubuntu.com">Ubuntu-us-pa@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-pa" target="_blank">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-pa</a><br><br></blockquote></div><br>