RE: [SLUG] restoring a system from disk images

From: Bill Glidden (bill@thegliddenfamily.com)
Date: Mon Mar 19 2007 - 14:29:51 EST


> -----Original Message-----
> From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Ian C. Blenke
> Sent: Monday, March 19, 2007 12:43 PM
> To: slug@nks.net
> Subject: Re: [SLUG] restoring a system from disk images
>
> Bill Glidden wrote
>
> > On one machine this worked like a champ. On the second machine, all
> > that happens when I boot is that I get the word "GRUB" on the screen
> > and it hangs.
> >
> > Could I possibly have a bad disk? Anything wrong with the method I used?
> >
>
> Even in this day and age, geometry differences will kill you.
>
> One (ugly) thing you can do is dump the geometry and re-introduce it
> when applying the partitioning elsewhere:
>
> machine1# sfdisk -d /dev/sda > partition.dump
> machine1# sfdisk -g /dev/sda
> /dev/sda: 19457 cylinders, 255 heads, 63 sectors/track
> machine1# rsync -aq partition.dump machine2:/root/
> machine1# ssh machine2
> machine2# sfdisk -f -C19457 -H255 -S63 /dev/sda < partition.dump
>
> Ugly? Yes. Does it work? More often than it probably should.
>
> The alternative, of course, is to re-install your grub MBR after
> transferring to the new drive.

I tried to do this using grub, but then when it booted, I got a little
smiley face character at the bottom of the screen so that wasn't much help
either :-)

I'll give your suggestions a try. Thanks.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:50:54 EDT