On Tue, Mar 02, 2004 at 06:37:58PM +0100, Vinodh Velusamy wrote:
> Dann,
> The HDD could be a 6GB one - my mistake. Now I tried to restore the image on another 
> 6GB
> hdd, but it also had the same result. Here's the output of 'cat /proc/partitions':
> 
> major    minor        #blocks    name
> 
>     3            0         6336225    hda
>     3            1         3582463    hda1
>     3            2                     1    hda2
>     3            5           248976    hda5
>     3            6           2504691  hda6

>From the looks of it, you're taking an image from a 6173MB disk to a 6187MB disk.
Well, that should work, but you might try backing off say a hundred megs & trying
again.  If that works, go up 50 or so, until it breaks.

In the 2.0 series, the way to do this is to modify the dump created by prepareclient
in the image - in <imagedir>/etc/systemimager/partitionschemes/hda.

You'll need to scale down the Extended as well as the last partition.
If you don't wanna do the adjustments by hand (which should be a matter of just
subtracting from the End & blocks fields), you can use the failed install shell to run
sfdisk on your target system and partition it like you want, then run:
 # sfdisk -uM -l /dev/hda
to dump its contents, then rsync that file back over to the server.
Copy it into place & run mkautoinstallscript.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to