<div><div>On Sun, Aug 7, 2011 at 4:57 PM, Craig Huff <<a href="mailto:huffcslists@gmail.com">huffcslists@gmail.com</a>> wrote:</div><div><br></div><div>> Ok. This shouldn't be so hard, but...</div><div>></div>
<div>> I have been searching with google and trying various methods with no</div><div>> success. Can someone tell me how to do this?</div><div>> </div><div>> I had a running MythBuntu 10.04 FE that stopped booting. I found</div>
<div>> (once I switched from the S-video input to the VGA input with a *real*</div><div>> monitor ;-) that the SMART system actually flagged the disk as dying.</div><div>> I added a replacement disk hanging outside the case like a drunken...,</div>
<div>> well you know. Then I booted into the MythBuntu 10.04 install CD</div><div>> trial mode. I ran Synaptics, added gparted and used that to clone the</div><div>> old disk onto the replacement. The old and new disks are single EXT4</div>
<div>> partitions for the O/S and another small (about 380MB) swap partition.</div><div>> I then used gparted to enlarge the O/S partition on the replacement</div><div>> disk to use the rest of the available space (moved from a 4.3GB disk</div>
<div>> to an 80GB). I mounted the disk temporarily and browsed thru the</div><div>> clone contents and it looks ok. I unmounted it and now I'm trying to</div><div>> make it bootable but having no luck. My old notes were for grub, but I</div>
<div>> believe this system uses grub2. All I'm getting are complaints about</div><div>> not finding a suitable partition. Oddly, when I ran "grub-probe -d</div><div>> /dev/sda1" I got back "ext2", but if I run parted, it tells me it's an</div>
<div>> ext4 partition. I've pretty much run out of ideas at this point. Any</div><div>> help making this clone bootable?</div><div><br></div><div><br></div><div>I can't help you with making your current clone bootable if the old hard disk is no longer bootable. But maybe this will help. It's worth a try, and it should help to keep such misfortunes from happening in the future.</div>
<div><br></div><div>Clonezilla Live is a free, open-source tool that works very well for making and restoring images of disks, including bootable restores of bootable disks. </div><div><br></div><div>You can make a bootable liveusb with Clonezilla. Go to <a href="http://clonezilla.org">clonezilla.org</a> and download the clonezilla live version for your architecture and follow the instructions for creating a bootable liveusb. Refer to</div>
<div><br></div><div><a href="http://clonezilla.org/liveusb.php">http://clonezilla.org/liveusb.php</a></div><div><br></div><div>I use a hard disk "dock" like, e.g., </div><div><br></div><div><a href="http://www.tigerdirect.com/applications/category/category_slc.asp?CatId=2785">http://www.tigerdirect.com/applications/category/category_slc.asp?CatId=2785</a></div>
<div><br></div><div>I have one hard disk that's a repository of bootable images for my various systems including MythTV. I boot the mythbox from the Clonezilla liveusb, hook the drive dock with my images repository disk to it, and it's able to restore a bootable image to a hard disk and that hard disk ends up bootable. No messing with gparted or grub - if you image a bootable hard disk and then restore that image to another hard disk, then that hard disk will end up bootable.</div>
<div><br></div><div>This works very well and makes it so that if</div><div><br></div><div>1) my mythbox's boot hard disk dies, or</div><div><br></div><div>2) I tinker around with it and mess it up</div><div><br></div>
<div>I can always quickly and easily restore to a known-working system. </div><div><br></div><div><br></div><div>-Bo Parker</div><div><a href="mailto:fbp.mythtv@gmail.com">fbp.mythtv@gmail.com</a></div></div><div><br></div>